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

I parsed my .osm file using this command --keep = -keep-nodes=highway --keep-ways= so i can just get the roads that the car can pass. Is this right? The program i used is osmfilter. Now i want to read the .osm file into my android studio so i could make a Marker in osmdroid. How do i do that? Marker uses geopoints

asked 04 Dec '16, 12:40

Marisannn's gravatar image

Marisannn
21234
accept rate: 0%

edited 05 Dec '16, 08:23

1

Assuming that "read the .osm file into my android studio" means "read the .osm file into an app that I have created using Android Studio", you'd read it in just the same way that your app reads other resources - you'd find somewhere to host it, and have your app download it from there.

If you haven't read them already I'd suggest that you read https://wiki.openstreetmap.org/wiki/Develop , https://wiki.openstreetmap.org/wiki/Elements and https://wiki.openstreetmap.org/wiki/Highway .

(06 Dec '16, 21:37) SomeoneElse ♦

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:

×181
×68
×60
×47

question asked: 04 Dec '16, 12:40

question was seen: 2,754 times

last updated: 06 Dec '16, 21:37

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