Installer l’extension postgis
octobre 8, 2017 11:21 Laissez vos commentaireswget http://download.osgeo.org/proj/proj-4.8.0.tar.gz tar -xvzf proj-4.8.0.tar.gz ./configure make make install wget http://download.osgeo.org/geos/geos-3.3.7.tar.bz2 tar -xvzf geos-3.3.7.tar.bz2 ./configure make make install apt-get install libxml2-dev apt-get install libjson0 libjson0-dev wget http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz tar -xvzf gdal-1.9.2.tar.gz ./configure make make install echo /usr/local/lib >> /etc/ld.so.conf wget http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz tar -xvzf postgis-2.3.2.tar.gz ./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config --with-raster make make install cd extensions/postgis make clean make make install cd postgis_topology make clean make make install psql -h localhost \connect gis gis=# CREATE EXTENSION postgis; CREATE EXTENSION CREATE EXTENSION postgis_topology; CREATE EXTENSION fuzzystrmatch; CREATE EXTENSION postgis_tiger_geocoder; \dx List of installed extensions Name | Version | Schema | Description ------------------------+---------+------------+--------------------------------------------------------------------- fuzzystrmatch | 1.0 | public | determine similarities and distance between strings plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language postgis | 2.3.2 | public | PostGIS geometry, geography, and raster spatial types and functions postgis_tiger_geocoder | 2.3.2 | tiger | PostGIS tiger geocoder and reverse geocoder postgis_topology | 2.3.2 | topology | PostGIS topology spatial types and functions
Classés dans :Debian
Cet article a été écrit par admin