[OSM-talk] How to correct logical errors in some effective way?

Ulf Lamping ulf.lamping at web.de
Sun Mar 2 15:04:26 GMT 2008


Hi!

Please don't count me on the "Perl regulars" ;-)

As I've already said, these automated fixes have to be done very 
"sensible".

However, last time I looked at tagwatch, there were already a lot more 
than 100 different typo fixes necessary - only in the german tagwatch 
list - without any "actual" tag changes! All of those restraunts, 
restorants, place_of_warship, ...

If I hand you over a list of 100 or so typo fixes like: 
"highway=residentail to highway=residential" which (preferrably XML) 
format would you prefer?

Regards, ULFL

P.S: Maybe store this "typo fix list" in the svn, so we can jointly and 
"controlled" improve / increase the number of typo fixes over time 
without "inviting" newbies to change the whole world?


Frederik Ramm schrieb:
> Hi,
>   
>> I'm sure there used to be a script that someone ran on every weeks
>> planet dump that looked for errors like these and fixed them. I thought
>> that the list of errors it corrected was in the wiki, but I can't find it.
>>
>> Nowadays, it could probably run on the hourly osmosis dumps.
>>     
> I have something un-published that I call "Fixbot" which does changes 
> like that. It uses a planet file to determine which objects it wants to 
> change, but for safety checks them "live" before it commits individual 
> changes. I've only run it on demand until now, i.e. when people had 
> specific issues. This is an open offer to anyone - give me a bounding 
> box and a list of community-approved changes and I'll make them. I keep 
> a list of occasions where I used it here:
>
> http://wiki.openstreetmap.org/index.php/User:Frederik_Ramm/Fixbot_Log
>
> I haven't published Fixbot because I feared that a newcomer would 
> stumble upon it and use it to "fix the world" which might have unwanted 
> consequences. (Also, using it for a specific purpose requires writing a 
> small Perl class that contains the logic.) But if any of the "regulars" 
> familiar with Perl wants to give it a try, just shout and I'll email it 
> to you.
>
> Bye
> Frederik
>   





More information about the talk mailing list