Automated edits/jjaf.de

From OpenStreetMap Wiki
Jump to navigation Jump to search

Contact

User:Jjaf.de Jano John Akim Franke

Opting out

Contact me.

Tasks

The following tasks are made by jjaf.de.

WIWOSM TIGER import fixup

Periodicity
Once
Date
2013-02-20/--25+01:00
Discussion
Talk:WIWOSM#Fat error log
Area of Operation
US
Objective
Add a language to wikipedia=* imported by mechanical TIGER imports by user TIGERcnl to cut through the 25K+ errors for country US of WIWOSM broken language statistics to make it useful for WIWOSM as TIGERcnl-owner Chris Lawrence did not react on a request.
Example: wikipedia=Aoa,_American_SamoaWP-APIwikipedia=en:'Aoa [1]
Side effect
Due to JOSM used in the tool chain, some other TIGER corrections are done also, e.g. boundary-Relations are converted from geometrical type=multipolygon to semantically type=boundary.
Algorithm
  1. Filter for uid=120146 (TIGERcnl) API v0.6#Reliably identifying users AND version=1 API v0.6#Version numbers/optimistic locking so we have pure mechanical bot data and can safely assume english language.
  2. Use Wikipedia-API to check if result even following redirections is existing page having coordinates (so no redirection to disambiguation) and use resulting post-redirect normalized title.
Tool chain
  1. WIWOSM broken error log
  2. broken error log statistics by country
  3. WIWOSM error log analyser
  4. JOSM
  5. JOSM CommandLine
  6. JOSM CommandLine Python-HTTP-gateway
  7. PHP-script to change without notice
Changeset tags
mechanical=yes
task=WIWOSM Tiger import fixup
website=http://wiki.openstreetmap.org/wiki/Mechanical_Edits/jjaf.de
Result
Sample 15106190 (achavi, OSMLab)
Plan
  1. 20122 relation A-Z
  2. 5110 way closed way area A-Z
  3. 137 node A-Z
Status
relation A-Z. More than 12117 objects modified (before CA not counted).
way It seems like uid=36121 = user=Chris Lawrence has to be used on this object type
node
Statistics
relation starting with
start end total TIGER corrected TIGER % Total %
CA 430 313 309 98 71
CB CI 407 293 287 97 70
CL 239 184 180 97 75
CO 447 333 328 98 73
CR CY 213 154 153 99 71
DA DI 419 301 300 99 71
DO DY 271 187 185 98 68
EA EL 497 369 363 98 73
EM EY 230 169 169 100 73
FA FO 579 408 397 97 68
FR FU 187 141 137 97 73
GA GO 501 381 373 97 74
GR GY 372 261 256 98 68
HA 425 296 290 97 68
HE HI 283 193 189 97 66
HO HY 392 283 280 98 71
I 370 130 130 100 35
J 247 176 169 96 68
K 384 265 262 98 68
LA 457 316 312 98 68
LE LL 410 297 290 97 70
LO LY 328 255 253 99 77
MA 533 393 390 99 73
MC ME 304 232 224 96 73
MI 311 219 207 94 66
MO 435 319 312 97 71
MU MY 83 63 63 100 75
NA NE 463 338 329 97 71
NI NY 336 210 208 99 61
O 506 367 351 95 69
PA PE 430 298 293 98 68
PF PO 492 359 347 96 70
PR PY 146 112 112 100 76
Q 30 25 25 100 83
RA RI 504 378 369 97 73
RO RY 401 300 292 97 72
S. SE 439 300 296 98 67
SH SN 385 295 283 95 73
SO SQ 363 243 241 99 66
ST 416 317 313 98 75
SU SY 203 136 132 97 65
T 576 409 405 99 70
U.S. Route 389 0 0 0 0
UC UX 119 92 90 97 75
V 268 201 196 97 73
WA 396 292 289 98 72
WE WH 501 340 335 98 66
WI WY 475 341 326 95 68
X 2 2 2 100 100
Y 72 50 47 94 65
Z 36 28 28 100 77
Total 17701 12365 12117 97 68
The TIGERs not fixed lead to a disambiguation-page in WP or have a spelling problem.
Trivia
While downloading 370 "I"-objects (compared to 579 "FA-FO") the API returned "NoMemoryError: failed to allocate memory". Had to split even this one.
There are a whole bunch of "U.S. Route"-Relations of the same Number. They should be sorted out.

WIWOSM TIGER import fixup 2

Periodicity
Once
Date
2013-04-05/
Discussion
Talk:WIWOSM#Fat error log
Area of Operation
US
Objective
See task WIWOSM TIGER import fixup, but without the user-restriction.
Algorithm
  1. Filter for wikipedia=*.
Changeset tags
mechanical=yes
task=WIWOSM TIGER import fixup 2
website=http://wiki.openstreetmap.org/wiki/Mechanical_Edits/jjaf.de
Plan
  1. 6495 relation A-Z
Status
relation A-N.
Statistics
relation starting with
start end total wikipedia corrected wikipedia % Total %
A 600 555 543 97 90
B 415 381 339 88 81
C 471 404 375 92 79
D 205 179 168 93 81
E 192 165 155 93 80
F 231 206 177 85 76
G 240 206 188 91 78
H 333 284 263 92 78
I (235) 35 31 8 25 22
J 77 66 59 89 76
K 112 94 90 95 80
L 337 292 273 93 81
M 463 411 370 90 79
N 261 245 216 88 82
Total 3972 3519 3224 91 81
The candidates not fixed lead to a disambiguation-page in WP, have a spelling problem or no coordinate set that is output by the API.
Trivia
While downloading 235 "I"-objects the API returned only 35. See trivia of task before for a similar problem.