customizing epsg codes

Christopher Schmidt crschmidt at METACARTA.COM
Wed Aug 15 12:45:52 EDT 2007


On Wed, Aug 15, 2007 at 10:33:13AM -0600, Gregor Mosheh wrote:
> >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

Note that, so far as I can tell, there is no way to cause MapServer to
accept the IAU2000:49900 code -- you'll have to create a 'fake' EPSG
code. AFAIK.  

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the mapserver-users mailing list