[mapguide-trac] #1858: GETFEATUREINFO for line or points on
MapGuide 2.2
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Mar 22 13:06:06 EDT 2012
#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: |
-----------------------------+----------------------------------------------
Comment(by mphaneuf):
Maybe the following function MgGeometry*
MgHttpWmsGetFeatureInfo::GetSelectionGeometry(MgMap* map) in
/trunk/MgDev/Web/src/HttpHandler/HttpWmsGetFeatureInfo.cpp should be
modified to take a small buffer into account.
The calculation for the geometry is done using a single pixel. Including
rounding errors, it is highly unlikely that this would work using a single
point. Perhaps a buffer done by adding N pixels around the pixel and then
creating a polygon, instead of a point. It would fix the issue.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1858#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list