Hi, Is an OGR::Geometry method which compute an interior point exist ? I have just found a Centroid() method but "The centroid is not necessarily within the geometry".
So the centroid of: POLYGON ((0 0,0 5, 5 5, 5 4, 1 4, 1 1, 5 1, 5 0, 0 0)) is near to (2 2.5), it's within the polygon. _____ | ___| | |___ |_____| (ASCII fan-art \o/) For example, with JTS (Java Topologie Suite) we can obtain an interior point (0.5 2.5). Thanks in advance for any reply. Best regards, Benjamin. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-Is-an-OGR-Geometry-InteriorPoint-method-tp4995621.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
