[GIS] How to install PostGIS shp2pgsql-gui on CentOS 6

guiinstallationlinuxpostgispostgresql

I am installing PostGIS 1.5.3 on a CentOS 6.2 virtual machine to get started web mapping with Geoserver.I have successfully installed PostgreSQL 9.1, PostGIS 1.5.3 and PgAdminIII on the system. However, I am noticing that there are no PostGIS GUI's installed.

I was under the impression the PostGIS includes the Shapefile and DBF loader plugin for PgAdminIII even in Linux. When I navigated to /usr/bin shp2pgsql was there but not shp2pgsl-gui.

Is there anyway to install the GUI for PostGIS in CentOS 6.2? I am very new to Linux and the OSGeo Stack. I have installed the above software using YUM and the rhel-6 PostgreSQL repository.

Thanks in advance for your help.

Best Answer

2 nice and simple solutions.

  1. use the community version of open geo suite http://opengeo.org/

  2. download the community version of open geo suite and extract the shp2pgsql guy

Although open geo have been quite generous on the code they have returned to the community they seem to have overlooked shp2pgsql-gui for some reason.

This solution also works for the mac