[gdal-dev] grouping shapefiles

Dan Putler dan.putler at sauder.ubc.ca
Tue Oct 19 15:08:34 EDT 2010


Hi Jayesh,

I think the short answer is "no". A shapefile can only deal with one 
geometry layer at a time by construction. To handle multiple layers in 
the same file, folks have gone to geospatial databases, where each table 
is a separate layer if the table has a geometry column. An "open" format 
that would do what you want can be done using SpatiaLite: 
http://www.gaia-gis.it/spatialite/.

Dan

On 10/19/2010 11:37 AM, Jayesh Chaudhary wrote:
> I know I can merge shapefiles using ogr2ogr but is there a way to 
> group them? So that each layer can be separate and we just send users 
> a single file (other then zip)?
>
> I don't know any but wondering if someone.
>
> Thanks,
>



More information about the gdal-dev mailing list