[gdal-dev] Looking for equivalent gdal/ogr methods
Ari Jolma
ari.jolma at gmail.com
Sat Jan 5 08:20:19 PST 2013
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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130105/03947801/attachment.html>
More information about the gdal-dev
mailing list