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

Just pushing my luck: would there be another way to force the type of Geometry returned by GetFeatureRef or when getting the layer from the data source opening the shp?

This is not normally possible.

Thanks again for your help. I'm a big fan of the OGR tools.

Thanks!

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to