On 01/05/2013 05:46 PM, Paul Meems wrote:
Hi all,
As some of you already know we are changing MapWindow GIS to let it
use more OGR/GDAL methods instead of our own/other libraries.
Until now we have 'migrated' a lot of functionality and we are very
pleased with it.
We still have a few methods left we have not yet migrated, because I'm
having trouble finding the equivalent gdal/ogr methods.
So my question is: How can I do the following tasks using GDAL/OGR.
* Convert 3D shapefile to 2D shapefile
* Clip polygon with a line (shape in a different shapefile)
* Clip shapefile with polygon (shape in a different shapefile)
* Erase shapefile with polygon (shape in a different shapefile)
For the last two there probably are Layer methods:
http://www.gdal.org/ogr/classOGRLayer.html
Examples here: http://trac.osgeo.org/gdal/wiki/LayerAlgebra
I'm not sure about the 2nd one.
Ari
We have compiled GDAL with GEOS so we can access those methods as well.
Thanks in advanced.
Paul
*Paul Meems *
Release manager, configuration manager
and forum moderator of MapWindow GIS.
www.mapwindow.org <http://www.mapwindow.org/>
Owner of MapWindow.nl - Support for
Dutch speaking users.
www.mapwindow.nl <http://www.mapwindow.nl/>
*
*
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev