[OSM-talk] Introducing SwiftAddress, an highly efficient way of collecting housenumbers

Nick Whitelegg nick.whitelegg at solent.ac.uk
Thu Apr 8 08:54:09 UTC 2021

>OAuth2 client library

Sorry! Not OAuth2, I was on autopilot there 🙂
OSM uses OAuth1.0a. Even so, Signpost is the library to use.

From: Nick Whitelegg via talk <talk at openstreetmap.org>
Sent: 08 April 2021 09:44
To: Ipswichmapper <ipswichmapper at tutanota.com>
Cc: Talk <talk at openstreetmap.org>
Subject: Re: [OSM-talk] Introducing SwiftAddress, an highly efficient way of collecting housenumbers

Hi IpswichMapper,

I can answer the first of your questions: I would recommend using OSMAPI written by Tobias Zwick (westnordost), see here: https://github.com/westnordost/osmapi

If you're updating data you will need an OAuth2 client library as well, e.g. Signpost - IIRC this is documented in the OSMAPI documentation.

I have used this API myself so may be able to help if you need it.


From: ipswichmapper--- via talk <talk at openstreetmap.org>
Sent: 08 April 2021 01:53
To: Ipswichmapper <ipswichmapper at tutanota.com>
Cc: Talk <talk at openstreetmap.org>
Subject: Re: [OSM-talk] Introducing SwiftAddress, an highly efficient way of collecting housenumbers

Hello Everyone,

It has been quite a while since this original post, and I have implemented many of the features that I hoped to add. (for example there are three ways of adding housenumbers: pressing on the arrow keys in MainActivity, long pressing on the arrow keys and swiping up on the arrow keys. They all serve different purposes and two of then allow you to add housenumbers in one tap)

I might even consider adding it to app stores such as F-droid, now.

There are a few questions I still have though.

  1.  How would I upload data to OSM? The upload<https://wiki.openstreetmap.org/wiki/Upload> page does not mention anything about automatic uploads, and the API v0.6 page<https://wiki.openstreetmap.org/wiki/API_v0.6> which seems to outline how to create and add data to changesets does not seem clear at all (not to mention I have no idea how to add notes).
  2.  If I were to upload data to OSM, how would I do verification checks (like JOSM). Currently the best solution I can think of is premptively downloading housenumber nodes/ways using Overpass API so that users can see when a housenumber has already been added (preventing duplication).
  3.  How do I implement Bing imagery? Looking in the JOSM imagery layers, it seems that Bing imagery does not have tms URL, but it has it's own "bing[22]:" url (which I have no clue how to parse into a slippy map). I have gotten other TMS imageries such as esri or mapbox working, however.



22 Jan 2021, 11:25 by talk at openstreetmap.org:
Hello openstreetmap community,

I have been writing an android application that should make it significantly easier to collect housenumbers.

Now, finally, I have released an apk on Github (you'll find it under the "assets" tab):


Make sure you check the releases page because I'll be releasing updates that improve functionality and fix bugs.

I have written about the app in more detail in my diary entry:


The app starts up as a simple OSMdroid map. The way you place housenumbers is by moving the crosshair (which is in the middle of the screen) above the building outline of the housenumber you are trying to map. You then add the housenumber using the keypad.

The advantage of this is that the housenumbers are already in the right place when surveying. There is no need to clean up the messy data (like with Keypad Mapper 3) or draw housenumbers (like with Streetcomplete). All that needs to be done is to load the data into JOSM and then upload. (In the future direct upload might be supported).

Of course, most times building outlines aren't drawn in OSM, so you can't tell from OSM imagery where the postition of the building/house is. For this I plan on implementing satellite background imageries into the app, so that you can use that to find the position of the house. (I need to know how to implement that first, however, and what imagery/tms I can use)

You can also has a few more features, for example, auto-incrementing, and the ability to take notes. I have described the app in more detail in the diary entry.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20210408/9d27716d/attachment-0001.htm>

More information about the talk mailing list