[mapguide-users] WMS GetMap (Width and Height too small?)
Chris Claydon
chris.claydon at autodesk.com
Wed Feb 25 14:35:29 EST 2009
The scale dependencies of the layers are honoured even from a WMS request. So it is possible that by increasing the size of the map, you are changing the scale enough to make the parcels layer visible.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Satu777
Sent: Wednesday, February 25, 2009 1:53 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] WMS GetMap (Width and Height too small?)
Hi,
I try to use GetMap method of WMS service in MapGuide.
When I make a request with smaller numbers than width=605 and height=394, I
got an empty map. A big black box (BGCOLOR=0x000000).
With larger numbers (example: width=700 height=500) I got the map normally.
Do you have any idea, what depends on?
http://localhost/mapguide2009/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Samples/Sheboygan/Layers/Parcels&srs=EPSG:4326&bbox=-87.7398334220901,43.73822699224595,-87.72068284176505,43.75068777906662&width=605&height=394&FORMAT=image/JPG&BGCOLOR=0x000000
http://localhost/mapguide2009/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Samples/Sheboygan/Layers/Parcels&srs=EPSG:4326&bbox=-87.7398334220901,43.73822699224595,-87.72068284176505,43.75068777906662&width=605&height=394&FORMAT=image/JPG&BGCOLOR=0x000000
--
View this message in context: http://n2.nabble.com/WMS-GetMap-%28Width-and-Height-too-small-%29-tp2382670p2382670.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list