I am new to OpenStreetMap and I would like to develop and android app that can work offline by using the tiles downloaded from any OSM data source like MapNik,MapQuest etc. In addition to offline functionality, the app should display new places as well as new routes from an external file/ data which is placed on my own server.

I tried using GPX files to load the routes and it doesn't look interactive as it is always displaying as a single line for all zoom levels.

So anyone please let me know whether the above things are achievable or not ? If yes, kindly suggest a way to implement this.

asked 12 Jan '15, 19:49

manuantony's gravatar image

manuantony
21113
accept rate: 0%

edited 12 Jan '15, 23:10

SimonPoole's gravatar image

SimonPoole ♦
38.3k13284609


Yes, of course that is possible, such Android apps (e.g. OsmAnd) and frameworks/libraries exist already. I would suggest you look at those (many are OpenSource). After reading more you could ask a more specific question.

Note, that downloading tiles (parts of a rendered map) from openstreetmap.org is subject to the tile usage policy. Downloading tiles for offline usage is usually also not a good idea for other reasons.

Also we have already many older questions (with answers) regarding android development; please just click the tag below your question (note that those lists can be sorted) and read those.

permanent link

answered 12 Jan '15, 20:14

aseerel4c26's gravatar image

aseerel4c26 ♦
32.0k16238549
accept rate: 17%

edited 12 Jan '15, 20:16

Thanks for your reply. I have successfully loaded offline data with the map by using the data from atlas creator and OSMDroid android library. Also I checked the OSMAnd app and I haven't found any way to edit the map data(not sure if such features exists with it). I still confused about how we can edit the map offline ? will it possible by using GPX files ?

(12 Jan '15, 20:45) manuantony

@manuantony: what do you mean by "edit the map data"? Do you want to use a mobile application (your newly developed one?) to edit the OSM data on the main server (the data for everyone)? And could you please clarify what you mean by "by using GPX files" in the context of "edit the map data"?

(12 Jan '15, 21:11) aseerel4c26 ♦
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:

×223
×161
×28

question asked: 12 Jan '15, 19:49

question was seen: 4,443 times

last updated: 12 Jan '15, 23:10

powered by OSQA