[mapguide-internals] Problem with WMS if layer bounds are smaller/partial inside request bbox

Faruk Hadzic faruk-h at fakat.ba
Tue Jul 2 00:33:21 PDT 2013


Hello,

There is some kind of problem with rendering of layer if request BBOX is
bigger than defined BBOX for layer. This is happening in version 2.5. In
version 2.2 everything is working normally.

This is stack trace.

- MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x64\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpGetClassDefinition.Execute() line 153 file
c:\mg-2.5-x64\mgdev\server\src\services\feature\OpGetClassDefinition.cpp
- MgServerDescribeSchema.GetClassDefinition() line 1039 file
c:\mg-2.5-x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp

 For example I have layer that had bbox is defined as
<Bounds west="6452734.8225" east="6457584.8225" south="4876898.3721"
north="4882648.3721"  SRS="EPSG:31276" />

If I make following request to MG2.5 it will fail with above stack trace:
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&LAYERS=Layers%2FTest&FORMAT=image%2Fpng&TRANSPARENT=FALSE&HEIGHT=512&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=6455650.23,4880154.08,6457991.78,4883029.08&WIDTH=417&STYLES=&SRS=EPSG:31276&VERSION=1.1.1

Same request works on MG2.2.

Upper right corner in request is outside bbox that is defined for layer.

I'm not sure is this bug or something is changed between version that I'm
missing. I tried to debug this problem but I'm clueless.

Any ideas?

Best Regards,
Faruk


More information about the mapguide-internals mailing list