AW: [gdal-dev] Identification of neighbouring OGRGeometries
Alexander Plum
Alexander.Plum at cae.de
Wed Jul 7 07:46:08 EDT 2010
Look,
I am working on a function which paints OGRGeometries representing highlines.
Before painting them I want to make sure wether the new OGRGeometry should be painted or not. If the distance to the two neighbours is too near to its both neighbours, the
new highlinie should not be painted. I am looking foward to employ the function OGR_G_Distance() for this case.
But first of all I want to identify the new highline's two neighbours...
Best regards,
Alex
________________________________________
Von: Chaitanya kumar CH [chaitanya.ch at gmail.com]
Gesendet: Mittwoch, 7. Juli 2010 13:19
An: Alexander Plum
Cc: gdal-dev at lists.osgeo.org
Betreff: Re: [gdal-dev] Identification of neighbouring OGRGeometries
Alex,
If I understand you correctly, the method OGRGeometry::Touches() can help you.
You can see it's description and similar functions at http://gdal.org/ogr/classOGRGeometry.html
On Wed, Jul 7, 2010 at 2:17 PM, Alexander Plum <Alexander.Plum at cae.de<mailto:Alexander.Plum at cae.de>> wrote:
Hello there,
is it possible to identify the two neighbouring OGRGeometries of another OGRGeometry??
Therefore I miss an adequate function in the GDAL-API.
Greets,
Alex
--
This email was Anti Virus checked by CAE
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
More information about the gdal-dev
mailing list