[OSGeo-Discuss] Need for to to convert/deconstruct a shapefile to create a relational table

Stephen Woodbridge woodbri at swoodbridge.com
Fri Mar 16 06:06:30 PDT 2012


On 3/16/2012 12:52 AM, Simon Cropper wrote:
> Hi,
>
> Does anyone know of a simple means to take a shapefile and create a
> either a SQLite or xBase table?
>
> Essentially it is taking an attached attribute table, inserting the
> coordinates in a field and saving the new file in a designated format.
>
> Most of the data being converted is point data or fixed area samples.
> Ideally the converter could record the centroid for grid cells with
> details of the furthest point.
>
> I know of various tools that can do this 'manually' one step at a time
> but as I have many files that come regularly, I would like to somehow
> automate the process.
>

I think ogr2ogr that is part of the GDAL release will do this.

-Steve W



More information about the Discuss mailing list