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

Regards,
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

Hi,
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
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/20121122/ad7bf20b/attachment.html>


More information about the postgis-users mailing list