[postgis-users] Is it possible to import shapefile from PL/PGSQL or using SQL command?

Nicolas Ribot nicolas.ribot at gmail.com
Tue Nov 13 13:27:19 PST 2012


Hi,

Maybe you could call shp2pgsql from a plpython function code ?

Nicolas


On 13 November 2012 22:20, GregoryKramdia <algomorph at gmail.com> wrote:

> Thanks, Steve.
>
> It's true, I could just export the C code for shp2pgsql into a dll and
> define the function in PostgreSQL.
> We need a utility that would be able to ingest a set of files arriving at
> the host into a set of tables, process them, and add the data into existing
> tables. It so happens that one of the files is a shapefile. For now, I've
> decided to go around this by using some shp-reading library within the
> client application.
>
>
>
>
> --
> View this message in context:
> http://postgis.17.n6.nabble.com/Is-it-possible-to-import-shapefile-from-PL-PGSQL-or-using-SQL-command-tp5001170p5001172.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121113/4a86467b/attachment.html>


More information about the postgis-users mailing list