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

Hello! We are some students who have some issues with a project of ours. We are looking for a way to collect all the addresses (tag = addr: ) from an OSM file. We are coding in the language of Java. Do you by any chance have some suggestions on how to implement this, so we are able to search for the addresses in an address-bar (GUI). We have thought about using TR-Tries for our search-function. Thanks in advance!

asked 29 Mar '19, 17:06

Cramselademaden's gravatar image

Cramselademaden
11112
accept rate: 0%

Could you clarify the scope of your question? You can edit the text to add more info. Is this about parsing the OSM file, or about how to store the addresses in memory/database/search index, or about how to search efficiently for the search term? How many addresses do you have in your file?

(30 Mar '19, 20:24) hfs

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:

×710
×202
×76
×2

question asked: 29 Mar '19, 17:06

question was seen: 1,422 times

last updated: 30 Mar '19, 20:24

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