[mapguide-users] metadata in a layer for wms-service
Chris Claydon
chris.claydon at autodesk.com
Mon Sep 18 14:27:39 EDT 2006
Hi Axel,
Would you be able to send me the data you are using for this layer?
I'd like to try to reproduce what you're doing.
Chris.
p.s. One thing you could try, though it is probably not ideal, is to add a mapping for EPSG:4326 to your OgcWmsService.config.awd file as well. That way, if the client does attempt to use EPSG:4326 instead of EPSG:31467, at least you may still get a map image returned.
_____
From: Axel Dörr [mailto:a.doerr at doerrib.de]
Sent: September 17, 2006 4:10 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] metadata in a layer for wms-service
Hello list,
once again i need some help to deliver maps via wms .
With the friendly and very useful help of Andy and Bruce i got the right WKT Translation for EPSG:31467.
I added a <translate> command in the OgcWmsService.config.awd - and i hope found the correct place for it. Have a look at the attachment.
The properties of the layer to publish are populated in "bounds-field" with: <Bounds SRS="EPSG:31467" west="3556600" south="5374600" east="3557700" north="5375600"/>
The field for "extended metadata" in studio for the requested layer is empty.
The getmap-request looks like this:
http://localhost/mapguide/mapagent/mapagent.fcgi?REQUEST=GETMAP&SERVICE=WMS&VERSION=1.1.1&STYLE=DEFAULT&FORMAT=image/png&SRS=EPSG:31467&BBOX=3556600,5374600,3557700,5375600&WIDTH=200&HEIGHT=200&LAYERS=Test/Layer/Genehmigungsgrenze%202001
With this i don´t get an error-message anymore, but a map is also not displayed.
Gaia tells me within the Selected Layer Info:
Name: Test/Layer/Genehmigungsgrenze 2001
Title: TEST WMS
Namespace:
Keywords:
LL BBox: (-180,-90;180,90)
BBox: (-180,-90;180,90)
BBox: (3556600,5374600;3557700,5375600)
Supported SRS:
EPSG:31467
EPSG:4326
The Log of Gaia is the following:
<ServiceExceptionReport version="1.1.1">
<ServiceException code="InvalidSRS">
The spatial reference system specified is not supported. (Found SRS=EPSG:4326)
</ServiceException>
</ServiceExceptionReport>
---------------------------------------
Error during HandlerWMS:AsyncReader
Source URL = http://entwicklung/mapguide/mapagent/mapagent.fcgi?
Layer name = Test/Layer/Genehmigungsgrenze 2001
---------------------------------------
CarbonTools.Core.Base.CarbonToolsException: Server responded with an error
at CarbonTools.Core.WMS.HandlerWMS.AsyncReader(IAsyncResult result)
Apparently EPSG:4326 wins against EPSG:31467. At least this is my impression.
Regards,
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060918/3ef2beea/attachment.html
More information about the Mapguide_users
mailing list