[mapguide-trac] #1858: GETFEATUREINFO for line or points on MapGuide 2.2

MapGuide Open Source trac_mapguide at osgeo.org
Thu Nov 17 11:41:08 EST 2011


#1858: GETFEATUREINFO for line or points on MapGuide 2.2
-----------------------------+----------------------------------------------
   Reporter:  mapaquin       |       Owner:                                
       Type:  defect         |      Status:  new                           
   Priority:  high           |   Milestone:                                
  Component:  WMS Interface  |     Version:  2.2.0                         
   Severity:  trivial        |    Keywords:  Point Lines WMS GETFEATUREINFO
External_id:                 |  
-----------------------------+----------------------------------------------
 When making a GETFEATUREINFO info on a point or line layer published via
 MapGuide WMS, nothing is returned.

 At first I thought it was a precision issue as there is no "Tolerance"
 value that can be passed in regards of the pixel point that is sent with
 the request.   But after doing numerous precise tests on specific pixels
 points I was enable to get a response with feature info from MapGuide.

 We did our tests with the Sheboygan sample dataset by publishing the
 "Roads" layer via WMS.

 Here are two examples of tests we did using the MapGuide agent webpage
 (.../mapguide/mapagent/index.html) that can easily be replicated:

 Request: GETFEATUREINFO
 Service: WMS
 Version: 1.1.1
 Image Format: image/png
 Info Format: text/xml
 Map Layers (comma-separated): Samples/Sheboygan/Layers/Roads
 Query Layers (comma-separated): Samples/Sheboygan/Layers/Roads
 Query Point X (pixels from left): 319 (Test 317-321)
 Query Point Y (pixels from top): 522 (Test 520-524)
 Bounding Box (minx,miny,maxx,maxy):
 -87.72673306169291,43.738909323497694,-87.72558891118628,43.73972724154777
 Coordinate System: EPSG:4326
 Display Width (pixels): 796
 Display Height (pixels): 717

 Request: GETFEATUREINFO
 Service: WMS
 Version: 1.1.1
 Image Format: image/png
 Info Format: text/xml
 Map Layers (comma-separated): Samples/Sheboygan/Layers/Roads
 Query Layers (comma-separated): Samples/Sheboygan/Layers/Roads
 Query Point X (pixels from left): 319 (Test 317-321)
 Query Point Y (pixels from top): 9 (Test 7-11)
 Bounding Box (minx,miny,maxx,maxy):
 -87.72761000876332,43.74429248842982,-87.72758091682283,43.7443132853644
 Coordinate System: EPSG:4326
 Display Width (pixels): 796
 Display Height (pixels): 717

 I've tried sending a range of pixels that are close to the ones sent above
 without any success.  These pixel coordinates were determined by doing a a
 "GETMAP" request using the same parameters as above and using a drawing
 software to determine the exact pixel position of the line feature.

 P.S.  When this defect will be corrected, this functionality would still
 be nearly unusable because of the amount of precision required from a
 mouse click.  May a suggest adding a "Tolerance" parameter in pixels.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1858>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list