How to convert post gis database into shapefile, I found that I need to use pgsql2shp command on postgis database query , But how to use it and where to use it. Do I have to use it in the postgre sql database command line or in the normal command line?
[GIS] Where to type pgsql2shp command
pgsql2shppostgispostgresql
Best Answer
The PostgreSQL Manual explains how to add the path to binaries to the
PATH
environment variable. This procedure depends on your OS distribution and how you installed PostgreSQL and/or PostGIS.Otherwise, if you want to run a program like
shp2pgsql
without adding it toPATH
, the path to the binary needs to be specified: