[gdal-dev] Adding multipolygons to an existing geometry collection

Ari Jolma ari.jolma at gmail.com
Thu Mar 25 11:13:13 EDT 2010


Frank Warmerdam wrote:
> danotchki wrote:
>> That would be awesome, Frank. forceToMultiPolygon was exactly the 
>> function I was looking for (and wondering why it wasn' there).
>
> Daniel,
>
> OK, I implemented it yesterday.  You can see it in use in Python in:
>
>   http://svn.osgeo.org/gdal/trunk/autotest/ogr/ogr_factory.py

Ah, these could have been made methods of the Geometry class, since 
there is only one Geometry class in the bindings.

What's the "Java dirty trick" that the code talks about?

Ari


More information about the gdal-dev mailing list