[gdal-dev] WAsP map output for ogr

Vincent Mora vincent.mora at oslandia.com
Wed Mar 12 00:53:44 PDT 2014


I've question concerning SRS: what should OGRWAsPLayer::GetSpatialRef() 
for unknown SRS.



Context:

WAsP Map Editor has a couple of SRS that will be written in the first 
line of the .map file. The first line looks like

     +description | srs_name | map_editor version

Since there are very few SRS available, I use the 'description' field to 
write the proj4 of the source SRS when I create a .map file (e.g. with 
ogr2ogr -f WAsP dest.wasp source.shp).

I want to open .map files that where created by other means (e.g. WAsP 
Map Editor). In this case the SRS will be unknown and it's fine since it 
can be defined by other means e.g. with option -s_srs. But I don't wan't 
the driver to do stupid things in this case.



More information about the gdal-dev mailing list