[mapguide-trac] #1193: Select Within cause a 500 error in the
browser
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Dec 14 15:43:07 EST 2009
#1193: Select Within cause a 500 error in the browser
---------------------------+------------------------------------------------
Reporter: hubu | Owner: hubu
Type: defect | Status: new
Priority: medium | Milestone: 2.2
Component: General | Version: 2.1.0
Severity: trivial | Resolution:
Keywords: Select-Within | External_id: 1246728
---------------------------+------------------------------------------------
Comment (by chrisclaydon):
Patch review: This solution seems a little restrictive, unless the server-
side code is unable to support queries on properly created multi-
geometries. And it seems strange that the original code would have been
written explicitly to handle !MultiPolygon, !CurvePolygon and
!MultiCurvePolygon types if this were not the case.
Would it be possible to check the type on each feature, and create a
multipolygon as before if each and every one is a polygon, create a multi-
geometry if they are a mix of supported types, and either skip unsupported
types such as linestrings, or break out and return null if they are
encountered.
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1193#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list