[postgis-users] Removing shapefile from Postgres

Jeff Lake jeff at michiganwxsystem.com
Wed Nov 21 17:27:15 PST 2012


Sounds like its time to review the psql commands ...

ogr2ogr as far as I have used it, is to add or amend a database
always used psql to delete or create

http://www.postgresql.org/docs/manuals/



*Jeff Lake*
MichiganWxSystem <http://www.michiganwxsystem.com>
AllisonHouse <http://www.allisonhouse.com>
GRLevelXStuff <http://www.grlevelxstuff.com>
On 11/21/2012 19:43, Smaran Harihar wrote:
> 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 & Regards
> Smaran 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/20121121/260bbdbb/attachment.html>


More information about the postgis-users mailing list