[postgis-users] Import question
nicolas.ribot at gmail.com
Thu Dec 27 01:58:17 PST 2012
You can use OGR (ogr2ogr, http://www.gdal.org/ogr/drv_csv.html) to achieve
that: table will be created based on headers.
A script would allow you to load all the files automatically.
WKT geometries can also be imported in text format (then later converted to
Look at the format restrictions like data types.
On 27 December 2012 00:43, Eric Aspengren <ericaspen at gmail.com> wrote:
> This is probably a very simple question:
> I've got a large number of tables to be loaded into a postgis database.
> They are all csv. They all have headers that are unique to each table.
> Rather than create each table, individually, is there a way of creating a
> table from the headers and inserting the data, in bulk?
> Eric Aspengren
> (402) 478-8683
> ericaspen at gmail.com
> postgis-users mailing list
> postgis-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users