[mapguide-trac] #172: Bug in Selection polygon from PostGiS (PostgreSql)

MapGuide Open Source trac_mapguide at osgeo.org
Tue May 29 13:38:44 EDT 2007


#172: Bug in Selection polygon from PostGiS (PostgreSql)
------------------------------------------+---------------------------------
 Reporter:  maciej.skorczewski at procad.pl  |         Owner:       
     Type:  defect                        |        Status:  new  
 Priority:  high                          |     Milestone:       
Component:  General                       |       Version:  1.2.0
 Severity:  major                         |    Resolution:       
 Keywords:                                |   External_id:       
------------------------------------------+---------------------------------
Comment (by mloskot):

 Tom,

 I think I know what may be the problem with OGR provider, actually with
 OGR (GDAL).
 Maciej forwarded to me reply he got from Traian Stanev and Traian is
 writing:

 {{{
 In the AJAX viewer, selection is done by doing an Intersects
 spatial query against the provider.
 }}}

 The OGR provider delegates intersection test to the OGR.
 Here, OGR can behave in two ways:

 1. If built '''without''' [http://geos.refractions.net/ GEOS] support, OGR
 assumes envelopes overlapping as intersection.

 2. If GEOS support is available, then the intersection test is forwarded
 to GEOS library. Obviously, GEOS tests for intersections very accurately,
 not only checking if envelopes overlap.

 Now, I suppose Maciej uses OGR provider with GDAL built without GEOS
 support.

 Maciej, could you confirm it?

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/172#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list