WMS with EPSG code other that e326

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Sep 6 22:44:32 EDT 2006


Hi There,

  I am trying to expose a wms layer where the original data is in 
EPSG:28992.  From reading through the mailing list, there were similar 
problems/posts and my understanding to fix issues regarding that is to 
update the OgcWmsService.config.awd file to add "SRS.WKT.map item with 
the translate corresponding to the espg code.  I have done that bases on 
the config.awd file posted in the list. Restarted MGServer/Apache.
Doing the getCapbilities, I get the following on the layer :
<SRS>EPSG:28992</SRS>
    <LatLonBoundingBox minx="0" miny="300000" maxx="300000" 
maxy="600000"/>
   <BoundingBox SRS="EPSG:28992" minx="0" miny="300000" maxx="300000" 
maxy="600000"/>
  which seems to indicate there is a problem with the latlong bbox.

  The GetMap gives an exception The coordinate system is invalid. 
EPSG:28992 Could not parse the OGC WKT.

Are there other places I should look for ?

  Doing these tests on WMS, I have only succeeded to have a valid 
interaction if the data is natively in latlong and defined with epsg:4326.



  My trasnlate definition looks like :
<translate from="EPSG:28992">PROJCS["Amersfoort / RD New", 
GEOGCS["Amersfoort", DATUM["Amersfoort", SPHEROID["Bessel 1841", 
6377397.155, 299.1528128, AUTHORITY["EPSG","7004"]], 
AUTHORITY["EPSG","6289"]], PRIMEM["Greenwich", 0.0, 
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], 
AXIS["Lon", EAST], AXIS["Lat", NORTH], AUTHORITY["EPSG","4289"]], 
PROJECTION["Oblique_Stereographic"], PARAMETER["central_meridian", 
5.38763888888889], PARAMETER["latitude_of_origin", 52.15616055555555], 
PARAMETER["scale_factor", 0.9999079], PARAMETER["false_easting", 
155000.0], PARAMETER["false_northing", 463000.0], UNIT["m", 1.0], 
AXIS["x", EAST], AXIS["y", NORTH], AUTHORITY["EPSG","28992"]]</translate>



  Thanks


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the Mapguide-users mailing list