Hello again,

How can i use Python Module OsmApi to acess information an insert it on a Database (PostgreSQL). My idea was to access the tags of osm and make a conection betteween the id of the Osm to the id of the DB. For example (Node="123") to DB Id.

Thank you again for all the help,

Francisco Costa

asked 29 Oct '15, 12:08

FrancisCosta's gravatar image

accept rate: 0%

edited 25 Mar '17, 09:33

aseerel4c26's gravatar image

aseerel4c26 ♦

The API accessed by the Python Module OsmApi is not meant to be an API for reading information from OSM; it is an editing API. If you want to extract information from OSM, process a planet file or data extract, or use the Overpass API. -- There are ready-made tools like osm2pgsql or imposm that will take an OSM data file and load it into a PostGIS database.

permanent link

answered 29 Oct '15, 13:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 29 Oct '15, 12:08

question was seen: 2,939 times

last updated: 25 Mar '17, 09:33

powered by OSQA