customizing epsg codes

Gregor Mosheh gregor at HOSTGIS.COM
Wed Aug 15 09:33:13 PDT 2007


> msBuildWMSLayerURL(): WMS connection error. Layer must have an EPSG or
> AUTO projection code (in its PROJECTION object or wms_srs metadata)
> Can't I include the IAU2000 codes somewhere in my proj setup?

You sure can.

Pop open the "epsg" file in your PROJ installation, e.g. 
/usr/share/proj/epsg

Add a new record containing your projection's setting and your choice of 
EPSG code. EPSG codes above 1000000 are reserved for this sort of thing.

Then use the projection as usual:
PROJECTION
   "init=epsg:1234567"
END

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the MapServer-users mailing list