On Fri, Jun 8, 2012 at 3:28 PM, Kedar Deshpande <kedardeshpand...@gmail.com> wrote: > Thanks Frank, > > Even if it returns the multiple feature, is there a specific order in which > the features get retrieved on calling layer->GetNextFeature() ? > For example, if the given spatial filter matched 4 features, when we iterate > over the feature in a loop by calling layer->GetNextFeature() , is there a > predefined order in which these feature are returned (such as best match > first etc) ?
Kedar, There is no externally defined ordering, though the implementation in each driver will presumably have some implicit ordering. On Mon, Jun 11, 2012 at 10:21 AM, Kedar Deshpande <kedardeshpand...@gmail.com> wrote: > Is there a specific order in which the features get retrieved on calling > layer->GetNextFeature() ? > For example, if the given spatial filter matched 4 features, when we iterate > over the feature in a loop by calling layer->GetNextFeature() , is there a > predefined order in which these feature are returned (such as best match > first etc) ? > > I am not using GEOS, is there another way to make it retrieve more accurate > features ? No, not really. GEOS is the geometry library we use for this sort of thing. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev