1

I recently reinstalled PostGIS on my pc, following these instructions link.
The installation is successful, and for several days work using PostgreSQL and PostGIS without problems. Now, I need to insert some shapefile within my database, but trying to execute the command "shp2pgsql" I get this result:

abominio@abominio-X555LD:~$ shp2pgsql --help
Il programma "shp2pgsql" non è attualmente installato.
È possibile   installarlo digitando: sudo apt-get install postgis

I tried to do a search

sudo find / -name shp2pgsql

but I do not get results.
currently I'm using Postgres 9.3 and PostGIS 2.1.6. why I do not have this function? how can I fix?

1
  • I have the same problem. Could you solved it? Commented May 26, 2015 at 22:12

1 Answer 1

1

You could try to make a link under /usr/bin/shp2postgres to ../lib/postgresql/9.3/bin/shp2pgsql with the right permission.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.