Questions tagged [imposm]

Imports OpenStreetMap data into PostgreSQL/PostGIS databases.

Imposm is an importer for OpenStreetMap data. It reads XML and PBF files and can import the data into PostgreSQL/PostGIS databases.

It is designed to create databases that are optimized for rendering/WMS services.

It is developed and supported by Omniscale, runs on Linux or Mac OS X and is released as open source under the Apache Software License 2.0.

Home page: http://imposm.org/

12 questions
3
votes
0 answers

Protobuf issues with imposm.parser on OS X El Capitan

I have been trying to install imposm.parser on my MBPro (OSX El Capitan) via pip. I am getting the following error In file included from imposm/parser/pbf/osm.cc:6: imposm/parser/pbf/osm.pb.h:9:10: fatal error: 'google/protobuf/stubs/common.h'…
EFL
  • 938
  • 4
  • 11
  • 23
3
votes
1 answer

Tokyocabinet fatal error C1083 : cannot open include file:tcbdb.h

I am using Anaconda python (2.7). I need to install tokyocabinet (along with other dependencies) in order to install imposm.parser. But whenever I try to install it (by using pip) I get this : fatal error C1083 : cannot open include file: 'tcbdb.h'…
2
votes
1 answer

How to fix the "unknown authentication response: 10" in postGIS database through using docker

I tried to import an .osm.pbf file into a PostGIS database by using the kartoza/postgis dockerhub in windows. But I'm facing the error opening database: opening db: ping Postgres DB: pq: unknown authentication response: 10 But the same credentials…
newbie
  • 456
  • 1
  • 6
  • 17
2
votes
2 answers

Unable to install python imposm.parser

I am trying to install imposm.parser (http://imposm.org/docs/imposm.parser/latest/) on Ubuntu 14.04 with Python 3.4. I have a virtualenv activated. I successfully installed the following: python-dev, protobuf-compiler and libprotobuf-dev When I…
Iulian
  • 1,496
  • 2
  • 15
  • 35
1
vote
0 answers

How to query way data from osm2pgsql?

using the way OSM ID, I want to get the lat, lon array for this way from osm2pgsql using the psql command ? Can someone please help me ? Thanks.
madan kandula
  • 460
  • 5
  • 22
1
vote
2 answers

run imposm commands from a python script

I'm just getting started using imposm to help get openstreetmap data into a postgis database. All the docs point to making all commands via Terminal. This is fine for one off imports but I plan to have many many imports of varying bounding boxes and…
CharlieSmith
  • 311
  • 4
  • 12
1
vote
2 answers

Imposm installed, but missing modules

I installed imposm according to instructions in the manual, but some module seems to be missing. What's wrong with it? File "mapping.py", line 2, in from imposm.mapping import ( ImportError: cannot import name…
culebrón
  • 34,265
  • 20
  • 72
  • 110
0
votes
0 answers

Imposm how to import a new osm .pbf without erasing an existing db?

I have an existing PostgreSQL db in which I had imported OSM data extracts in .pbf format for North America. Suppose that I now need to import a new .pbf file for Europe in the dame db. How can I make sure it doesn't erase my existing tables with…
Fabian
  • 229
  • 3
  • 8
0
votes
1 answer

Connection parameters for imposm fail because of special characters

I want to run imposm to import OSM data to a PostGIS DB. My problem is that the password for the DB contains special characters like ":" (a colon). I cannot change the password. The documentation states to use the connection parameter like…
Mario
  • 2,393
  • 2
  • 17
  • 37
0
votes
0 answers

Regular query results in syntax error with specific attribute

I run a postgres database with postgis extention. With imposm3 openstreetmap data is loaded into the scheme import. The tables are called osm_point, osm_linestring and osm_polygon. Imposm is storing NULL as empty fields. To query a specific…
Michael
  • 219
  • 2
  • 10
0
votes
0 answers

Reading in OSM buildings geojson data into Python via geopandas

I'm having problems reading an OpenStreetMap buildings (IMPOSM GEOJSON) file into a geopandas data frame object (Python 2.7). This is on MAC OS X 10.11.3. Here are the messages I'm getting: >>> import geopandas as gpd >>>…
0
votes
0 answers

python imposm - XMLParser

I suspect that I'm misunderstanding what the XMLParser for imposm is meant to read, and that my XML is in the wrong format. Here's the code (Python): from imposm.parser.xml.parser import XMLParser def parseExits(ways): print 'hello!' print…
Andrew LaPrise
  • 3,373
  • 4
  • 32
  • 50