customizing epsg codes

Sebastian Walter sebastian.walter at FU-BERLIN.DE
Wed Aug 15 12:44:27 EDT 2007


Thanks for your help. The problem here is that the WMS server I want to
connect to expects me to ask for the IAU200:49xxx code, which my
mapserver client doesn't let me sent.


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
>



More information about the mapserver-users mailing list