NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi:

I want to write a script to automatically segment/annotate of a route (.gpx file) with street names given the .osm.bz2 offline.

  1. Just wondering if similar work has been done.
  2. I'm planning to build a quadtree Data Structure of the "ways" to facilitate the search:
  3. instead of keeping all the nodes, I'll just have a coarse AABB bounding box for each way
  4. In the beginning, we find the "way" of the first gps pt belonged to in the quadtree.
  5. Then for the next gps pt, locally search over the "way"s connected to the "way" that the previous pt is in.

Thanks for your advice

E.

asked 14 Oct '11, 21:15

eminemya's gravatar image

eminemya
1444
accept rate: 0%

edited 17 Jan '15, 19:25

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


If you won't get any useful hints at this FAQ site you can try to ask again at one of the appropriate OSM mailing lists ... there is a least one about developers and one about routing.

To access these mailing lists, go to wiki.osm.org and serach for "mailing lists".

permanent link

answered 20 Oct '11, 09:28

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

thanks for the suggestion:)

(20 Oct '11, 14:28) eminemya
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:

×255
×113
×111
×10
×6

question asked: 14 Oct '11, 21:15

question was seen: 5,350 times

last updated: 17 Jan '15, 19:25

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum