[postgis-users] View PostGIS raster in mapserver

Salvatore Larosa lrssvtml at gmail.com
Mon Mar 19 15:29:14 PDT 2012


Il giorno lun, 19/03/2012 alle 15.10 -0700, Hemin Tofiq ha scritto:
> path contains:
> C:\..\ms4w\tools;C:\..\ms4w\proj\bin;C:\ms4w\proj;C:\ms4w\Apache\cgi-bin
> 
> but shp2img: 
> shp2img -m C:\..\itasca.map -o C:\temp\shp2img.png -l kommune_r
> returns:
> msProcessProjection(): Projection library error. Permission denied
> msFreeMap(): freeing map at 00721FC8.

You should also set the path to the libraries.

Run setenv.bat and check that the PATH 'PROJ_LIB' is correct. 

Regards

-SL






More information about the postgis-users mailing list