[Gdal-dev] Cookie cutting shapefiles in OGR
Alexandre Leroux
alexandre.leroux at ec.gc.ca
Tue Jun 27 13:02:05 EDT 2006
Hi list,
I haven't got any news from my cookie cutting challenge below. Anyone
has a clue to help me get started?
Thanks and cheers! :-)
Alex
> Can someone tell me if I can do the following with OGR: I have two
> shapefiles and need to cookie cut one with the other while keeping the
> attributes of the first shapefile in the newly generated third shapefile.
>
> I saw there is OGRGeometry::Intersection which would allow me to do
> this, but I'd need to verify the intersection of all features from
> shapefile #1 with all features of shapefile #2, which would take days
> and days to compute with OGR (that's what my collegue which knows OGR
> way better told me). Is there a way to cookie cut shapefiles directly at
> the layer level?
--
Alexandre Leroux, M.Sc., Ing.
Environnement Canada / Environment Canada
Centre météorologique canadien / Canadian Meteorological Centre
Division de la réponse aux urgences environnementales /
Environmental Emergency Response Division
alexandre.leroux at ec.gc.ca
More information about the Gdal-dev
mailing list