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
11112
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 ♦
36.3k13273579
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

By RSS:

Answers

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:

×235
×72
×38
×9

question asked: 19 Jul '17, 00:47

question was seen: 663 times

last updated: 19 Jul '17, 11:19

powered by OSQA