[postgis-users] Removing shapefile from Postgres

José Pedro Santos zpsantos1 at hotmail.com
Thu Nov 22 00:30:27 PST 2012

Hi Smaran,

To import shp to Postgresql by command line is shp2pgsql. ogr2ogr converts simple features data between file formats I don't advise to use this one. 

I never remove from command line just go to pgadmin and delete.

Jose Santos

From: smaran.harihar at gmail.com
Date: Wed, 21 Nov 2012 17:43:34 -0700
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Removing shapefile from Postgres

I added a shapefile to the PostGIS using,
    ogr2ogr -f PostgreSQL PG:"host=server_ip user=username dbname=dbname password=password" yourshapefile.shp;

Now I want to remove it. What is the command line code for that?
Thanks & RegardsSmaran Harihar

postgis-users mailing list
postgis-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121122/ad7bf20b/attachment.html>

More information about the postgis-users mailing list