[MAPSERVER-USERS] Layer SRS WKT: (unknown)

Frank Warmerdam warmerdam at pobox.com
Wed Aug 6 09:15:10 PDT 2008


FCampos wrote:
> I´ve got a shape that in ogrinfo gives me:
> 
> Layer SRS WKT: (unknown)
> 
> 
> What can i do to put this shape ok ? 

FCampos,

First, MapServer does not normally use the coordinate system information
from shapefiles (or any other format).  Instead you are normally expected
to redefine the coordinate system in the .map file using a PROJECTION block.

So I doubt you really need to do anything to the shapefile.

However, if you do want to, for some reason, the coordinate system definition
is just an ascii .prj file associated with the shapefile with a normal ESRI
projection engine string (roughly like OGC Well Known Text).  Just copy from
some other source.

If you have more specific needs I can provide more details.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the MapServer-users mailing list