[gdal-dev] Multipoint Iterator

Even Rouault even.rouault at mines-paris.org
Fri Dec 11 16:36:00 EST 2009


Matthew Denno a écrit :

A multipoint geometry is a geometry collection, so you can use 
OGRGeometry::getGeometryRef(iSubGeom).

See 
http://gdal.org/ogr/classOGRGeometryCollection.html#d609f2c7886918a766dd3d3a4fa52ec3

> Hello list,
>
> Could someone tell me how to iterate over the points in a multipoint 
> feature?  I have searched through the mailing list and have looked 
> through the documentation but can't seem to find it.  I was expecting 
> there to be a "nextPart" or iterator or something, but I don't see 
> anything, am I missing it?
>
> Any help would be greatly appreciated.
>
> Matt
> ------------------------------------------------------------------------
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list