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.

Chad Cooper
  • 12,714
  • 4
  • 46
  • 87
Chris Pappas
  • 133
  • 1
  • 1
  • 4

1 Answers1

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
Ian Turton
  • 81,417
  • 6
  • 84
  • 185
  • 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 Aug 18 '17 at 09:08
  • If this does not work for you, you can also start the loader from outside of pgAdmin: https://gis.stackexchange.com/a/225079/23263 – BritishSteel Sep 23 '18 at 08:54