Opened 10 years ago
Closed 10 years ago
#2464 closed defect (fixed)
GEOMETRY parameter for QUERYMAPFEATURES should be optional
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | 2.6 |
Component: | AJAX Viewer | Version: | |
Severity: | blocker | Keywords: | |
Cc: | External ID: |
Description
The QueryMapFeatures method in the Web API supports null filter geometries as long as you provide an XML selection string as the replacement filtering mechanism.
The QUERYMAPFEATURES operation in the mapagent should allow for selection updates via XML strings instead of input geometry. However both v1.0 and v2.6 of the operation require a geometry parameter, making XML string-based selection updates impossible.
This requirement should be lifted. In addition, the SetSelectionXML() viewer API should call v2.6 QUERYMAPFEATURES with the XML string instead of calling the setselection helper script.
This should fix #2463 as well as fixing this would make the helper script redundant.
Fixed trunk (r8295) and 2.6 (r8288)