PostGIS extends the capabilities of the PostgreSQL relational database by adding support for storing, indexing, and querying geospatial data.
Questions tagged [postgis]
36 questions
9
votes
2 answers
How to scale out OpenStreetMap data efficiently
For over a year now, I'm running an in-house PostGIS server filled with OSM data, used for both Mapnik-based tile generation and Nominatim-based geocoding, updated with day replicates. This works pretty well.
However, as usage is growing…
Pierre
- 243
8
votes
2 answers
Why is Postgres sitting 95% idle, with no file I/O?
I have a TileMill/PostGIS stack running on an 8 core Ubuntu 12.04 VM on an OpenStack cloud. It's a rebuild of a very similar system which was running nicely on very similar hardware (same cloud, but different physical hardware, I believe) last week.…
Steve Bennett
- 6,000
7
votes
3 answers
Upgrade PostgreSQL 9.5 to 9.6 with PostGIS - pg_upgrade
I'm trying to upgrade a 9.5 server to 9.6, and pg_upgrade gives me the following error:
Performing Consistency Checks
-----------------------------
Checking cluster versions ok
Checking database user is the install…
Jeremy Wilson
- 311
7
votes
1 answer
Cannot upgrade postgresql 9.4 -> 9.5beta2 after postgis 2.1.6 -> 2.2.0 upgrade
Here is my situation:
I started with Postgresql 9.4.5 and Postgis 2.1.6. Everything running smoothly. Both are installed from source.
I upgraded Postgis to 2.2.0 (download source, configure, make, make install, then ALTER EXTENSION postgis UPGRADE…
elynnaie
- 201
7
votes
1 answer
How to import a dump in Postgres from a newer version?
We have a postgres-databse under windows, that is version 9.1. From that we want to dump the data and import under a Linux-server, that runs Postgres 8.4. The data include spatial data with Postgis.
The problem is, that the dump doesn't import, as…
Mnementh
- 1,155
6
votes
1 answer
Postgres on OS X can't find postgis extension control file
Using mac OSX Yosemite 10.10.1. I uninstalled and re-installed both postgres and postgis with homebrew. I understand that postgres is looking in the wrong place for the postgis control file. Also noticed that 'which psql' path seems incorrect. …
ltrainpr
- 231
4
votes
1 answer
Contrib directory in PostgreSQL 9.1
Where is the contrib directory in PostgreSQL 9.1?
This source states its at /usr/share/pgsql/contrib but the directory /usr/share/pgsql does not exist. I installed PostgreSQL from the rpm, on a CentOS 6.3.
I am basically trying to find the correct…
Nyxynyx
- 1,509
4
votes
0 answers
Ignoring maturity, which database would be better for storing spatial data?
I am looking to store possibly millions of spatial locations. I will need to do queries like "hotels within 10 miles of [lat,lng]".
I've had a little experience with MongoDB in this regard and was actually impressed at how easy it was. However,…
cbmeeks
- 233
4
votes
2 answers
Installing Nominatim Pre-Indexed Data
I am trying to install nominatim using this guide. After one day of processing, I finaly get this message:
feature 895(k)
Killed
After a read in dmesg I got:
[143978.925793] Out of memory: kill process 14456 (bash) score 204947 or a…
Natim
- 636
3
votes
1 answer
Install postgis on ubuntu 12.04.4 LTS
I am trying to install postgis on ubuntu Ubuntu 12.04.4 LTS.
I search the repo and find a package called postgresql-9.1-postgis. I then installed it:
sudo apt-get install postgresql-9.1-postgis
It also installed the following…
user209247
- 31
3
votes
1 answer
Using PostgreSQL 9.0 and PostGIS 1.5 on Debian Squeeze
I have installed PostgreSQL 9.0 (postgresql) and PostGIS 1.5 (postgis) from Debian Backports on my freshly installed Squeeze (stable).
However, when trying to create a PostGIS-enabled database, I noticed that I’m missing the “enabler script”…
3
votes
1 answer
Setting up PostGIS on Ubuntu 10.10
I followed this manual:
http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/
I installed using aptitude:
postgis
postgresql-8.4-postgis
but there is no script lwpostgis.sql in the /usr/share/postgresql-8.4-postgis/.
Xaver
- 249
- 4
- 12
3
votes
1 answer
Do EPEL PostGIS packages remain compatible with Red Hat-supported PostgreSQL for the full RHEL lifecycle?
Background
I'm planning to set up a PostgreSQL/PostGIS server on RHEL 9.4 as part of migration work from an older version of RHEL and am comparing upgrade paths from a stability perspective.
If I understand correctly, there are two ways to install…
Yuki Sasaki
- 133
2
votes
2 answers
PostGIS on Fedora27
I'm trying to get PostGIS installed on Fedora27 and Postgres 9.6. When doing this on Windows, I can just use the Stack Builder, but that doesn't appear to be a utility available on the Fedora distribution. I have tried using dnf to install, but…
JGrindal
- 121
1
vote
0 answers
OGR FDW only works with UTF-8 databases, postgis install
I try to add postgis extension on postgresql95. I use centos7
I follow this link to install…
ikhwan aja
- 23