Hi All,
I'm trying to get the multi points out of a geometry, how would I retrieve the
points ?
// Variable initialised to contain Geometry point data for the field at the
current index of i
OGRGeometry *Geometry = Feature->GetGeometryRef();
if(Geometry != NULL &&
wkbFlatten(Geometry->getGeometryType()) == wkbMultiPoint)
{
OGRMultiPoint *poMultipoint = ( OGRMultiPoint *
)Geometry;
int NumberOfGeometries =
poMultipoint->getNumGeometries();
// get points
}
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev