wms server with custom epsg
Travis Kirstine
tkirstine at JDBARNES.COM
Thu Jan 25 13:52:30 PST 2007
Hi all,
I have a few question regarding custom epsg codes and wms server / clients
I set up a wms server that serves up ortho imagery in a few standard spatial
reference systems EPSG:26917 and EPSG:4326 but our client would like it also
served as a Lambert Conformal Conic projection that has no EPSG code as far
as I can tell. I've created a custom epsg code in the epsg file:
## NAD83 LCC Custom
<42305> +proj=lcc +ellps=GRS80 +lat_0=0 +lon_0=-84 +lat_1=44.5 +lat_2=54.5
+x_0=1000000.0 +y_0=0 +datum=NAD83 +units=m no_defs <>
and added it to the "WMS_SRS" in the metadata:
WEB
MINSCALE 100
MAXSCALE 10000000
IMAGEPATH "/var/www/html/public/map_images/"
IMAGEURL "map_images/"
METADATA
"WMS_TITLE" "First Base Solutions - Web Map Service"
"WMS_ABSTRACT" "WMS"
"WMS_ACCESSCONSTRAINTS" "none"
"WMS_ONLINERESOURCE" "http://xxxxxxx"
"WMS_SRS" "EPSG:26917 EPSG:4269 EPSG:4326 EPSG:42305"
END
END
I was hoping that the client side would be able to interprete the new srs
automatically by when testing with ArcGIS that dosen't seem the case. Am I
right to assume that if the client dosen't have the srs defined the
application won't accept the wms srs as valid.
Travis Kirstine
First Base Solutions Limited
Markham, ON
Canada
More information about the MapServer-users
mailing list