[mapguide-users] metadata in a layer for wms-service

Bruce Dechant bruce.dechant at autodesk.com
Mon Sep 18 13:46:26 EDT 2006


Axel,

 

After you added the WKT translations you need to stop your web service and using "Task Manager" ensure that there are no MapAgent.exe processes still running and then restart your web service. This information is cached and so your changes may not actually be read yet.

 

Bruce

 

  _____  

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/8811ee73/attachment.html


More information about the Mapguide_users mailing list