[mapguide-trac] #305: OGR Provider gives infinite Loop

MapGuide Open Source trac_mapguide at osgeo.org
Mon Nov 12 03:55:42 EST 2007


#305: OGR Provider gives infinite Loop
-------------------------------+--------------------------------------------
   Reporter:  ksgeograf        |       Owner:                                                          
       Type:  defect           |      Status:  new                                                     
   Priority:  medium           |   Milestone:  2.0                                                     
  Component:  Feature Service  |     Version:  1.2.0                                                   
   Severity:  major            |    Keywords:  OGR Infinite loop 100% CPU GEOMETRY query SELECTFEATURES
External_id:                   |  
-------------------------------+--------------------------------------------
 Text from the mailing list:

 Query the layer with an attribute query, gives expected results.
 Query the layer with a geometry query, gives expected results, UNLESS
 there is exactly one feature in the result set. In this case the server
 goes into a nearly infinite loop.
 Investigating the issue by debugging, I found out that the query completes
 perfectly, and then the client sends an infinite stream of GetFeature
 packages.
 Breaking the run in the debugger, gave me the same feature in the result
 multiple times.
 Quering an SDF feature source gave no such problems.
 Changing the columns returned gave the same result.

 The new thing that I have found out, is that the QUERYMAPFEATURES does not
 exhibit this problem.
 I find that very weird, as it should do exactly the same: query by
 geometry.
 I can now simulate a SELECTFEATURES by making a dummy runtime map, with a
 dummy layer visible.
 With the resultset, I can query the featuresource with the ID's.
 It works, but it is cumbersome and very slow.

 With this new info, can anyone give a guess as to what the problem might
 be?

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


More information about the mapguide-trac mailing list