Intenté lo que me dijiste pero me sigue tirando el error.
Copio aquí:

eduardo@eduardo:~$ shp2img -o mapa.png -m
/var/www/pmapper-4.0/config/default/geoasse.map
loadLabel(): Unknown identifier. Parsing error near (BACKGROUNDCOLOR):(line
682) <br>
msOutputFormatValidate(): General error message. OUTPUTFORMAT png has
IMAGEMODE RGB/RGBA, which is not supported for GD drivers. <br>

Saludos
Eduardo

2012/1/10 Nahum Castro <nahumcas...@gmail.com>

> Verifica tu .map con la aplicación de mapserver shp2img
>
> shp2img -o mimapa.png -m /ruta/a/tu/punto.map
>
> El error parece de mapserver.
>
> Saludos.
> Nahum
>
>
> 2012/1/10 Eduardo Bieñkowski <eduko...@gmail.com>
>
>> Estimado Nahum
>> Ahora si el php_error.log me envía un mensaje de error.
>> Te lo copio aquí:
>>
>> [10-Jan-2012 09:55:43] PHP Warning:  session_start():
>> open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
>> such file or directory (2) in /var/www/pmapper-4.0/map.phtml on line 29
>> [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
>> loadOutputFormat(): OUTPUTFORMAT clause references driver GD/JPEG, but this
>> driver isn't configured.
>>  in /var/www/pmapper-4.0/incphp/globals.php on line 60
>> [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
>> msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
>> not supported for GD drivers.
>>  in /var/www/pmapper-4.0/incphp/globals.php on line 60
>> [10-Jan-2012 09:55:43] PHP Fatal error:  Uncaught exception
>> 'MapScriptException' with message 'Failed to open map file
>> "/var/www/pmapper-4.0/config/default/pmapper_demo.map"' in
>> /var/www/pmapper-4.0/incphp/globals.php:60
>> Stack trace:
>> #0 /var/www/pmapper-4.0/incphp/globals.php(60):
>> ms_newMapObj('/var/www/pmappe...')
>> #1 /var/www/pmapper-4.0/map.phtml(37): require_once('/var/www/pmappe...')
>> #2 {main}
>>   thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60
>> [10-Jan-2012 09:55:43] PHP Warning:  Unknown:
>> open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
>> such file or directory (2) in Unknown on line 0
>> [10-Jan-2012 09:55:43] PHP Warning:  Unknown: Failed to write session
>> data (files). Please verify that the current setting of session.save_path
>> is correct (1;/var/www/tmp) in Unknown on line 0
>>
>> En teoría el directorio donde el servidor escribe la session no es el
>> correcto pero hasta ahora no me había enviado ningún tipo de error.
>>
>> --
>> Eduardo
>>
>
>
>
> --
> Nahum Castro González
> Blvd. Perdigón 214, Brisas del Lago.
> CP 37216
> León, Guanajuato, México
> Tel (477)1950304
>



-- 
Eduardo
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to