Re: [OSM-talk] Mobile Application for optimizing OSM ski area data

2018-10-26 Thread Maarten Deen

On 2018-10-26 14:22, Valentina Böhm wrote:


What would you recommend regarding authentication? Is it ok if users
of my app are committing data on my behalf or should all users have
their own OSM account?


I would not let users edit on your account. Then you will get the 
comments and possibly grief if edits are not correct.
I would require the users to use their OSM account or give the 
possibility to add an anonymous note. You can use OAuth for 
authentication.


Regards,
Maarten

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mobile Application for optimizing OSM ski area data

2018-10-26 Thread Frederik Ramm
Hi,

On 26.10.2018 14:22, Valentina Böhm wrote:
> What would you recommend regarding authentication? Is it ok if users of
> my app are committing data on my behalf or should all users have their
> own OSM account?

Using a central account for aggregated user contributions is
discouraged; if some of your users commit vandalism or add data from
illegal sources, it becomes very difficult to separate the good from the
bad. Also, other OSM mappers might want to contact the user who has
added or changed something.

> If users have their own account, is it possible and ok if I prepare the
> data with my algorithm and commit the data on their behalf?

This is possible with OAuth authentication, and other programs like
wheelmap or StreetComplete already do something similar. Although I am a
little worried when you say "prepare the data with your algorithm" - you
should always make sure the user has full control over what they submit,
you should not submit something that might come as a surprise to the
user later.

> I’m also interested in feedback about the idea. Are there similar
> projects? What do you think of my idea?

"Topical" editors - software that allows specialist contributions in
niche areas - can be a valuable addition to the OSM editing landscape,
so in general I think it sounds like a good idea!

Best
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mobile Application for optimizing OSM ski area data

2018-10-26 Thread Yves
A middle ground could be that your users upload a gpx file with osm-compatible 
information so that more skilled OSM contributors can use them to edit the map.
It relieve your app from the burden of being a map editor.
However, information will probably be lost in the process, we prefer first hand 
contributions.
Yves - (Opensnowmap) 

Le 26 octobre 2018 14:54:05 GMT+02:00, Frederik Ramm  a 
écrit :
>Hi,
>
>On 26.10.2018 14:22, Valentina Böhm wrote:
>> What would you recommend regarding authentication? Is it ok if users
>of
>> my app are committing data on my behalf or should all users have
>their
>> own OSM account?
>
>Using a central account for aggregated user contributions is
>discouraged; if some of your users commit vandalism or add data from
>illegal sources, it becomes very difficult to separate the good from
>the
>bad. Also, other OSM mappers might want to contact the user who has
>added or changed something.
>
>> If users have their own account, is it possible and ok if I prepare
>the
>> data with my algorithm and commit the data on their behalf?
>
>This is possible with OAuth authentication, and other programs like
>wheelmap or StreetComplete already do something similar. Although I am
>a
>little worried when you say "prepare the data with your algorithm" -
>you
>should always make sure the user has full control over what they
>submit,
>you should not submit something that might come as a surprise to the
>user later.
>
>> I’m also interested in feedback about the idea. Are there similar
>> projects? What do you think of my idea?
>
>"Topical" editors - software that allows specialist contributions in
>niche areas - can be a valuable addition to the OSM editing landscape,
>so in general I think it sounds like a good idea!
>
>Best
>Frederik
>
>-- 
>Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09"
>E008°23'33"
>
>___
>talk mailing list
>talk@openstreetmap.org
>https://lists.openstreetmap.org/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mobile Application for optimizing OSM ski area data

2018-10-26 Thread Nick Whitelegg

As others have said, users should authenticate with their own OSM accounts so 
that malicious edits can be detected.


There's a very good Java library - osmapi - which I would strongly recommend 
for doing editing from within an Android app. It's developed by Tobias Zwick, 
developer of StreetComplete, and is available here:


https://github.com/westnordost/osmapi



To use OAuth, you can use another very good open source library: Signpost.


I myself have developed a custom editor in recent months, using osmapi and 
Signpost - it's aimed at allowing England and Wales footpath mappers to add 
rights of way quickly and easily to OSM. It's a bit rough round the edges, but 
you might find the code useful for reference. StreetComplete itself is also a 
good point of reference, though that's a significantly more complex app.


https://gitlab.com/nickw1/mapthepaths-android


Nick








From: Valentina Böhm 
Sent: 26 October 2018 13:22:16
To: talk@openstreetmap.org
Subject: [OSM-talk] Mobile Application for optimizing OSM ski area data


I am planning to develop an mobile app to optimize ski area data provided by 
OSM. The user should be able to use the app for locating him- or herself in a 
ski area and have a look at all the different slopes and lifts and all their 
details. But the user should also be able to optimize the data of the ski area. 
First of all for the better experience when using the app for navigating. But 
also for providing OSM optimized and more detailed data about ski areas.

If a user wants to optimize the data he or she can either manually change the 
data, for example, edit the name or reference number of a slope or lift. Or he 
or she can provide their movement data by tracking it with the application 
while skiing. The tracked data should, in the end, help to fill gaps between 
slopes or slopes and lifts. Or even detect new unknown slopes.

What would you recommend regarding authentication? Is it ok if users of my app 
are committing data on my behalf or should all users have their own OSM account?

If users have their own account, is it possible and ok if I prepare the data 
with my algorithm and commit the data on their behalf?

In general, what is your recommendation regarding this kind of third-party 
integration? Are special API tokens provided for third-party apps?

I’m also interested in feedback about the idea. Are there similar projects? 
What do you think of my idea?
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Mobile Application for optimizing OSM ski area data

2018-10-27 Thread Mateusz Konieczny
26. Oct 2018 14:22 by v...@live.at :


>
> I am planning to develop an mobile app to optimize ski area data provided by 
> OSM. The user should be able to use the app for locating him- or herself in a 
> ski area and have a look at all the different slopes and lifts and all their 
> details.
>




See StreetComplete - https://github.com/westnordost/StreetComplete 





Maybe parts can be done also as SC quests. It is also likely that some 
libraries made by

Westnordost will be useful for you.





>
> What would you recommend regarding authentication? Is it ok if users of my 
> app are committing data on my behalf or should all users have their own OSM 
> account?
>




Do you want to be directly responsible for all edits made by users (not only 
indirectly 


responsible as the editor author)?


 

>
> If users have their own account, is it possible and ok if I prepare the data 
> with my algorithm and commit the data on their behalf?
>




Yes, see StreetComplete. Note that in this case you are fully responsible for 
all mistakes

made by the algorithm (there were already bugs in StreetComplete that resulted 
in review

of all possibly affected changesets).


 

>
> In general, what is your recommendation regarding this kind of third-party 
> integration?
>




See StreetComplete, it works well and code is likely to be reusable (assuming

that you accept the license).



> What do you think of my idea?




I would strongly suggest to start from looking at what can be implemented as a 
StreetComplete

quests - there is already some pool of people using this editor and it may be 
better to start from

the simplest possible task. Making a new editor is a huge effort.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk