[mapserver-users] About projection error in Python bindings

Yves Jacolin yjacolin at free.fr
Sun Jun 2 01:59:42 PDT 2013


Thomas,

where is your proj data?

 --with-proj=/usr/local or PROJ_LIB=/usr/share/proj/ ?

Y.
Le samedi 1 juin 2013 23:21:34 Thomas Gratier a écrit :
> Hello list,
> 
> I am unable to run Python Mapscript without an error
> loadProjection(): Projection library error. Projection support is not
> available
> It happens for example in tests with maptest.py
> 
> My main problem here is that I have set PROJ_LIB=/usr/share/proj/ and  I
> always have this error. On  the other side, from
> http://myserver/cgi-bin/mapserv?..., it's fine.
> 
> I have done the compilation on Ubuntu 12.04 with Mapserver 6.2.1 with the
> following configuration
> 
> ./configure --with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config
> --with-gdal=/usr/local/bin/gdal-config
> --with-geos=/usr/local/bin/geos-config --with-wmsclient --with-wfsclient
> --with-wcs --with-wfs --with-postgis=yes --with-kml=yes
> --with-xml-mapfile=yes --with-xslt=yes
> --with-xml2-config=/usr/bin/xml2-config --with-fribidi-config=yes
> --with-sos --with-curl-config=/usr/bin/curl-config --with-fastcgi=yes
> --with-cairo=yes --with-python=/usr/bin/python2.7 --enable-python-mapscript
> 
> Any ideas?
> 
> Regards
> 
> Thomas Gratier
-- 
Yves Jacolin



More information about the MapServer-users mailing list