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 [[email protected]] Gesendet: Mittwoch, 7. Juli 2010 13:19 An: Alexander Plum Cc: [email protected] 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 <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> 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
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
