This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Upload Objects from own Android OSM App

2

Dear OSM Community,

i'm developing my own little Android application (Android Studio). In that app i would like to implement an "add new OSM objects" function e.g. adding nodes, ways or areas and furthermore upload these objects from my app to OSM Server. is it possible at all to upload some data from own developed Android application to OSM server? Do I need any permissions for that? Do you have some suggestions for me for the implementation or some useful links? I downloaded and took a look at the open source code of the Vespucci App but that code is really big and complicated.

Best Felix

asked 10 Nov '16, 22:12

ChelseaChels's gravatar image

ChelseaChels
46114
accept rate: 0%

edited 12 Nov '16, 11:41

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

6

There are multiple points to consider, among others:

  • You naturally can upload new and edited elements via the Editing API, that is what it is there for. You need an OSM account to write data, there is no special authorization required beyond that.
  • it is good practice, not to say a requirement, that you provide a facility that allows the user to determine if the object they believe is missing is actually not already mapped, this includes all possible ways the object in question can be created in OSM
  • any testing needs to done against the dev sandboxes see http://apis.dev.openstreetmap.org/

If your app starts breaking stuff you will be burnt to a crisp (but that has happened to the best of us).

Further you probably should have a quick look at my talk at SOTM 2016 on the topic.

answered 10 Nov '16, 23:19

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 12 Nov '16, 08:00

Thanks SimonPoole, that is what i'm talking about!

(12 Nov '16, 13:13) ChelseaChels

Source code available on GitHub .