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
androidosmdroidosmfilter.osm
asked 04 Dec '16, 12:40
Marisannn 21●2●3●4 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.
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 .