[mapguide-users] mapguide rest - bbox parameter with map?
Fritz Robert
Robert.Fritz at win.ch
Mon Feb 16 02:22:39 PST 2015
Hi,
I did a test with the Georest extension as well and got a different but nonetheless wrong result.
.png?bbox=697600,261300,697700,261400 (MapGuide Rest & GeoRest)
With Jackies rest extension features are highlighted (but shouldn't) and the map extent is wrong. With georest the extent is different but still wrong.
I tested WMS as well and here I get the map extent set in the bbox parameter:
?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=...&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:21781&BBOX=697600,261300,697700,261400&WIDTH=400&HEIGHT=400
I basically don't know why Georest and Rest seem to return incorrect results. Do I do something wrong?
Screenshots are attached,
Rob
Von: mapguide-users-bounces at lists.osgeo.org<mailto:mapguide-users-bounces at lists.osgeo.org> [mailto:mapguide-users-bounces at lists.osgeo.org] Im Auftrag von Fritz Robert
Gesendet: Freitag, 13. Februar 2015 08:21
An: mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
Betreff: [mapguide-users] mapguide rest - bbox parameter with map?
Hi,
I'm using the following request to generate a map:
.png?bbox=696791,261303,696971,261483&width=935&height=935
But the result is not correct - the map covers an area much larger than the bounding box and multiple features are highlighted - none of them should be.
Do I need further configuration in order to use bbox parameter?
Screenshot ist attached,
Many thanks, Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150216/23749508/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapguide_rest.png
Type: image/png
Size: 59995 bytes
Desc: mapguide_rest.png
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150216/23749508/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wms.png
Type: image/png
Size: 24903 bytes
Desc: wms.png
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150216/23749508/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: georest.png
Type: image/png
Size: 79016 bytes
Desc: georest.png
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150216/23749508/attachment-0002.png>
More information about the mapguide-users
mailing list