[gdal-dev] grouping shapefiles

Jayesh Chaudhary aashishcy at gmail.com
Tue Oct 19 18:47:39 EDT 2010


On Tue, Oct 19, 2010 at 3:08 PM, Dan Putler <dan.putler at sauder.ubc.ca>wrote:

> Hi Jayesh,
>
> I think the short answer is "no". A shapefile can only deal with one
> geometry layer at a time by construction.


Thanks,  I know this.


> 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/.
>

This is very useful information. I was thinking of some sort of database but
didn't know about spatialite.

Thanks Dan. I will look into it.


> 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,
>>
>>
> _______________________________________________
> 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/20101019/86052e62/attachment.html


More information about the gdal-dev mailing list