I am trying to extract all the amenities inside a bounding box for different segments, I don't want to download them from the server every single time. Instead, I just want to download a general area and then if you select a specific street or segment show all the amenities in it.

I'm trying to build a python program where you specify two nodes (coordinates) and print out the amenities in that route.

Could you help please?

asked 19 Jul '17, 00:47

Sandra%20Garcia%20L's gravatar image

Sandra Garcia L
accept rate: 0%

There are naturally many ways to achieve what you want, but a typical approach would be to import the POIs (extracted from a OSM planet dump) in a suitable format in to a database. You could either add a street reference to the POI before import, or use a geo-spatially enabled database (for example postgres with postgis) to on the fly determine which POIs to show based on their location.

permanent link

answered 19 Jul '17, 11:19

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

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: 19 Jul '17, 00:47

question was seen: 2,095 times

last updated: 19 Jul '17, 11:19

powered by OSQA