On 10/11/2011 13:17, Albert Bonsoms wrote:
> Tengo un proyecto que me funciona perfectamente con pmapper 4.0.0, quiero
> que me funcione con pmapper 4.2.0 y me sale el siguiente error.
>
>
> Warning: ms_newMapObj(): [MapServer Error]: loadOutputFormat():
> OUTPUTFORMAT clause references driver GD/JPEG, but this driver isn't
> configured. in C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on
> line 66 Warning: ms_newMapObj(): [MapServer Error]:
> msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
> not supported for GD drivers. in

you should maybe also mention that you use now Mapserver 6 ... since 
this error relates to this upgrade and invalid parameters in the map 
file for OUTPUTFORMAT for MS v6.

I just removed all definitions of OUTPUTFORMAT in the map file for 
p.mapper 4.2, so it always takes the default definition of the 
respective Mapserver version. Just do the same for your map file and it 
might directly work, but other options might as well not be supported 
any more

Check the Mapserver migration guide for how to upgrade your map files 
for v 6.x

armin

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to