[OSM-talk] Code of conduct for automated (mass-) edits
Gert Gremmen
g.gremmen at cetest.nl
Mon Sep 29 13:00:45 BST 2008
>>Guys, think about one of the most fundamental design principles for
robust
>>code: Keep it simple.
Agree, but it should meet the requirements !!
Certificates might simplify the identification.
The UUID might replace my username, but is not fundamentally
different.
I want to insist however, on the
website form approach, to oblige
fast-thinking fast-acting "bot writers" to
express at least what they intend to do somewhere.
The automated undo system allows for a quick undo,
before thousands of volunteers added data that will got
lost when undone.
The webpage allows others to understand what's going on
without having to ask, or worse : guess !!
Gert Gremmen
-----------------------------------------------------
Openstreetmap.nl (alias: cetest)
-----Oorspronkelijk bericht-----
Van: Hendrik T. Voelker [mailto:hvoelker at nutrimatic.de]
Verzonden: Monday, September 29, 2008 1:49 PM
Aan: Gert Gremmen
CC: Talk Openstreetmap
Onderwerp: Re: [OSM-talk] Code of conduct for automated (mass-) edits
Gert Gremmen wrote:
> The serverscript (see below) could create a web page with the
> temporary accountname as a URL, summarizing all the submitted data,
> for consulting by anyone finding a questionable dataelement.
Guys, think about one of the most fundamental design principles for
robust
code: Keep it simple.
I would use two mechanisms for a script mass edit
1. Require scripts to use an SSL certificate that is signed by OSM for
authentication
2. As the first step request a Universally Unique Identifier (UUID) from
the
OSM server which acts as transaction number for the batch process and
tag each
Object with it
<tag k='batch_tn' v='3696bf1c-8e1b-11dd-a367-0080ad4205c4' />
when it is submitted. Either by the script itself or, even more secure,
by the
OSM server API.
And when you want to document who did what when, additionally create
<batch cert_id='' script='' timestamp=''>
<tag k='batch_tn' v='3696bf1c-8e1b-11dd-a367-0080ad4205c4' />
</batch>
Cheers
Hendrik
More information about the talk
mailing list