2

I am on Windows and I want to download/enable the plugin "PostGIS Shapefile and DBF Loader 2.0". I installed PostGIS 2.0 using StackBuilder of PostgreSQL installer.

4
  • 2
    during the stack builder process you should have recieved a dialogue box aksing to install the PostGIS Shapefile Loader. Did you see this and say 'No' - then that is where it has gone wrong. You might be able to find the exe in the C:\Program Files\PostgreSQL\9.x\bin folder
    – tjmgis
    Commented Jun 13, 2013 at 16:03
  • put some process photos before facing problem could help you get more useful advice.
    – Heinz
    Commented Jun 13, 2013 at 16:10
  • 1
    How can I enable Shapefile GUI Loader in pgadmin3? (on Ubuntu, though it contains links to the Windows help from BostonGIS) Commented Jun 13, 2013 at 17:39
  • All the comment's give me the answer!! Commented Jun 13, 2013 at 19:08

1 Answer 1

1

This might be what you need - this is added to plugins.ini file and enables the shapefile and dbf loader. I'm using postgre 9.2 and postgis 2.0.

;
;PostGIS shp2pgsql-gui (Windows):
;
Title=PostGIS Shapefile and DBF loader
Command="$$PGBINDIR\postgisgui\shp2pgsql-gui.exe" -h "$$HOSTNAME" -p $$PORT -U "$$USERNAME" -d "$$DATABASE" -W "$$PASSWORD"
Description=Open a PostGIS ESRI Shapefile or Plain dbf loader console to the current database.
KeyFile=$$PGBINDIR\postgisgui\shp2pgsql-gui.exe
Platform=windows
ServerType=postgresql
Database=Yes
SetPassword=Yes
2
  • For the sake of completeness: the plugins.ini file is located in the pgAdmin III\plugins.d folder. However, with a separate install of PostGIS, you'll find another file in the plugins.d folder: postgis.shp2pgsql-gui.ini. It has the same content as Simplest2remember mentioned in his answer. Either this content is saved in the plugins.ini file, or you have the postgis.shp2pgsql-gui.ini file: both scenarios will dispose the PostGIS GUI in the list of plugins in pgAdmin III.
    – kadéem
    Commented Aug 18, 2017 at 9:08
  • If this does not work for you, you can also start the loader from outside of pgAdmin: gis.stackexchange.com/a/225079/23263 Commented Sep 23, 2018 at 8:54

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.