[Gdal-dev] OGR Geometry Contains() function
Aykut KOÇAK
aykutkocak at superonline.com
Wed Feb 8 11:53:24 EST 2006
ups, for the records distance was 0.0002 not 3.500
Frank Warmerdam wrote:
>On 2/8/06, Aykut KOÇAK <aykutkocak at superonline.com> wrote:
>
>
>>Hi there,
>>
>>In OGR object tree, is there any chance to adjust some kind of treshold
>>for Contains() and similar compare functions? I have some data collected
>>with GPS which has got 20 - 40 meters difference from my LINESTRINGs and
>>I'd like to match these 2 datasets with a accuracy of eg.30 meters.
>>
>>
>
>
>Aykut,
>
>As Mateusz mentions Buffer is the solution. The Contains
>operator is based on GEOS and does not include thresholds.
>Buffer is exposed in Python.
>
>Best regards,
>--
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush | Geospatial Programmer for Rent
>
>
>
>
>
--
Aykut KOÇAK
Elektronik Mühendisi
(/Electronics Engineer/)
E-Posta
(/E-Mail/ )
aykutkocak at superonline.com
More information about the Gdal-dev
mailing list