Opened 17 years ago

Last modified 14 years ago

#2028 closed defect

[WMS Server] Using non-EPSG-format projections — at Initial Version

Reported by: jmckenna@… Owned by: mapserverbugs
Priority: high Milestone: 6.0 release
Component: WMS Server Version: 5.0
Severity: normal Keywords:
Cc: jmckenna

Description

Best explained with an example:

- wms data to be served is in a projection that is not part of the standard EPSG
lookup file
- wms-server mapfile sets the MAP.PROJECTION, and LAYER.PROJECTION to the following:

   # Map projection
   PROJECTION
     "proj=aea"
     "ellps=GRS80"
     "lat_0=59"
     "lon_0=-132.5"
     "lat_1=61.667"
     "lat_2=68"
     "x_0=500000.0"
     "y_0=500000.0"
     "units=m"
     "no_defs"
   END

- however a GetCapabilities request response gives these errors for the layers:

<!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION,
LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->

****

Assefa and I looked into the code and MapServer is looking for an actual EPSG
code here, so this appears to be a "limitation" of MapServer.

Change History (0)

Note: See TracTickets for help on using tickets.