this post was submitted on 27 Jul 2024
3 points (100.0% liked)

OpenStreetMap + App = OsmAnd!

226 readers
1 users here now

OsmAnd is a great open source Maps mobile app that uses OpenStreetMap!

founded 4 years ago
MODERATORS
3
submitted 4 months ago* (last edited 4 months ago) by promitheas to c/[email protected]
 

I would like to contribute to the maps for my area by creating and uploading various POIs as I come across them in my daily use. To get familiar with the system I decided to add a known to me florist. I found the exact location using google maps, opened it in OsmAnd+, and went through the process to add all its details (address, phone, website, type, etc). However when I decide to upload it, signing in with username and password, I get the error in the image attached. Anyone know what the problem is and how I can solve it?

Edit: App Info OsmAnd+ 4.6.12, Released: 2024-01-16

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago (5 children)

I also run into this issue several times. I could solve it by redo the login in the OpenStreetMap plugin setting

[–] promitheas 2 points 4 months ago (4 children)

I can login to the site but when I try to login to the plugin I get this message popping up and disappearing soon after:

https://api.openstreetmap.org/api/0.6/user/details

Then im still logged out. Any idea?

[–] [email protected] 1 points 4 months ago (3 children)

When login through the plugin the browser should pop up where you need to confirm the login on openstreetmap.org. (i think this process is called OAuth)

You can then check if this is succesfull on https://www.openstreetmap.org/oauth2/authorized_applications

You should see OsmAnd there and how many days the login procedure was performed.

If this is succesfull, then its a problem with OsmAnd. If you have another old Android you can maybe try around several times with reinstallation?

[–] promitheas 1 points 4 months ago* (last edited 4 months ago) (1 children)

Hmmm I went to the page and it seems I need to manually register the app to be able to make api calls. Would I be wrong in assuming the redirect uri needs to be the one I got in the error message popup when trying to sign in through the app?

Edit: seems it doesnt work. I registered an app in openstreetmaps.org with that and nothing changes.

[–] [email protected] 1 points 3 months ago (1 children)

I registered an app in openstreetmaps.org with that and nothing changes.

No, there is no need to manually register an app. This is the feature when develope a new app by yourself to make it known to openstreetmap.org

Would I be wrong in assuming the redirect uri needs to be the one I got in the error message popup when trying to sign in through the app

not sure. If you don't have another phone to test, maybe you can try testing the login with another openstreetmap app like StreetComplete, Vespucci or Organic Maps?

[–] promitheas 2 points 3 months ago

I just downloaded streetcomplete and the login works there. It might be a good idea to file an issue on the github for osmand at this point. Thanks for all your help! :)

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)