[gdal-dev] intersecting two shapefiles in OGR C API

Chaitanya kumar CH chaitanya.ch at gmail.com
Sat Jun 16 04:37:14 PDT 2012


Mutlu,

The only thing the tutorial didn't cover was the intersection. Please
provide details of the errors you are getting.


On 6/16/12, Mutlu Ozdogan <ozdogan at wisc.edu> wrote:
> Hello All,
>
> I am writing a C code that reads in two shapefiles with very large
> number of polygons and intersects them and writes the intersect results
> to a new output shapefile.  I am able to read in the files but I am
> stuck reading the contents of the two input shapefiles, intersecting
> them and writing the output polygon features to a new shapefile.  I read
> (and worked through) the API tutorial from A to Z but I am not able to
> move past opening the input files and reading the layer numbers from
> them.  Any help in the remaining parts of this code would be very much
> appreciated.
>
> Thank you.
>
> Mutlu..
>


-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E


More information about the gdal-dev mailing list