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

ipswichmapper at tutanota.com ipswichmapper at tutanota.com
Sun May 16 10:03:30 UTC 2021


Hello Everyone,

Recently, I haven't really been developing the app at all. My mental health has been deteriorating, and I don't think I can spend time developing this app (or contributing to OSM) in my current condition.

If anyone wants to continue the development of the app, feel free to fork it and continue. Someone could also publish their forked version to Google Play Store and F-droid as well. Note, the latest published binary is out of date. I have made lots of changes to the app since then. If anyone wants to continue using it or developing it, download Android Studio and build the app yourself.

Note: there are some troubles building the app too. In android studio, the "Run" button builds the app and deploys it to your phone fine. However, if you don't want to deploy it to your phone and instead create an APK, the "Build" button fails, so you will have to build the app in your terminal.

The command is : 
./gradlew :app:assembleDebug
or
./gradlew :app:assembleRelease

You can then follow this app to sign the apk in the terminal so that you can release it to the world:
https://developer.android.com/studio/build/building-cmdline

Currently there is lot that isn't finished in the app. For example, it still can't upload data to OSM.

Another feature that I really wanted to do was a "Russia" specific UI, since they have a different housenumbering system. Russia has housenumbers such as 48А к2 с1, which means housenumber 48A, building number 2 and construction number 1.

You would have to create a layout with multiple entry boxes for these different numbers (and increment and decrement buttons for each one). On top of this you want to be able to enter street names. Note: In russia some housenumbers have multiple streetnames or multiple I'm pretty sure there is more informatino about Russian Addresses on the talk page of the Ru:addresses or something. Someone can consult the Russian OSM community if they want to follow this through. I'm pretty sure there are many different ways that house numbers are represented in Russia, so again you should consult their community on how this could be implemented into an app (if someone wants to continue developing it).

 https://wiki.openstreetmap.org/wiki/Addresses#Letters_in_house_numbers_.28for_example_in_Russia.29

My app has some comments here and there, but it isn't the most thoroughly documented, so someone probably needs some prior knowledge of Android development to understand what is going on.

Thanks,
IpswichMapper

-- 
 


Apr 8, 2021, 00:53 by ipswichmapper at tutanota.com:

> 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.
>
> 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).
> 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).
> 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.
>
> Thanks,
> IpswichMapper​
>
> -- 
>
> 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):
>>
>> https://github.com/IpswichMapper/SwiftAddress/releases
>>
>> 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:
>>
>> https://www.openstreetmap.org/user/IpswichMapper/diary/395413
>>
>> 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. 
>>
>> Thanks,
>> IpswichMapper
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20210516/4d05419c/attachment-0001.htm>


More information about the talk mailing list