bindings. Looks like
> geometry collections are not available in OGR for Python at all.
>
> Armin
>
>
> Original-Nachricht
> > Datum: Thu, 17 Mar 2011 10:16:06 +0530
> > Von: Chaitanya kumar CH
> > An: Armin Burger
> > CC: gdal-dev@lis
ke geometry
collections are not available in OGR for Python at all.
Armin
Original-Nachricht
> Datum: Thu, 17 Mar 2011 10:16:06 +0530
> Von: Chaitanya kumar CH
> An: Armin Burger
> CC: gdal-dev@lists.osgeo.org, mariusjigm...@hotmail.com
> Betreff: Re: [g
try, what is it actually
> unioning/merging then?
>
> Regards,
> Armin
>
>
> Original-Nachricht
> > Datum: Wed, 16 Mar 2011 10:06:57 +0530
> > Von: Chaitanya kumar CH
> > An: armin.bur...@gmx.net
> > CC: Marius Jigmond , gdal-de
thanks for the hints. So a sort of Union operation seems to be necessary. I
need to check how fast that is with OGR on larger shapefiles (I want to store
in PostGIS just the footprint, not the full geometry collection). The Convex
Hull could be a good alternative to a simplified boundary.
i
ginal-Nachricht
> Datum: Wed, 16 Mar 2011 10:06:57 +0530
> Von: Chaitanya kumar CH
> An: armin.bur...@gmx.net
> CC: Marius Jigmond , gdal-dev@lists.osgeo.org
> Betreff: Re: [gdal-dev] Calculate footprints of shapefiles
> Armin,
>
> This can be done in either OGR or PostGI
Armin,
This can be done in either OGR or PostGIS.
For OGR, refer to the OGRGeometry class reference, especially the
ConvexHull(), Union() and UnionCascaded() functions.
For PostGIS, ST_Boundary() and ST_Union().
On Wed, Mar 16, 2011 at 6:23 AM, Armin Burger wrote:
> Marius,
>
> thanks for the
Marius,
thanks for the suggestion. I don't know if shapely supports
re-projection of geometries or has a simplify algorithm, which I will
both need. There could be some other functions of GDAL/OGR that I might
need in the future as well. So in principal I'd prefer to stick to GDAL.
armin
O
Armin,
Not sure if this would be straightforward in GDAL but you might want to
consider a combination of GDAL + Shapely
(http://gispython.org/shapely/docs/1.2/manual.html#cascading-unions).
What you're trying to do is spatial analysis not directly implemented in
GDAL. Shapely requires that you're
Hi all
I would like to catalogue shapefiles scattered over lots of directories
of the file system and store retrievable information of the shapefiles
in a PostGIS layer. Extracting parameters like extent, projection,
fields, etc works very fine with GDAL's Python bindings.
But I would also l