Automated edits/wombotmaper

From OpenStreetMap Wiki
Jump to navigation Jump to search

Who

I wombatmaper using a new account for automated edits: wombotmaper. You can contact me on ether accounts.

What

Currently there are quite a few places where diet:vegan / diet:vegetarian information can be added automatically:

Current tag Suggested tags Affected nodes/relations
diet:vegan=only, diet:vegetarian not set diet:vegetarian=only, diet:vegan=only 2172
diet:vegetarian=no, diet:vegan not set diet:vegetarian=no, diet:vegan=no 5982
diet:vegan=yes, diet:vegetarian not set diet:vegetarian=yes, diet:vegan=yes 6154

Why

To allow for easier searching for vegetarian / vegan restaurants.

How

I have created a python script that uses overpass query's and edits every node in its own change set.

node

["diet:vegan"="yes"]

["diet:vegetarian"!~".*"]

out;


node

["diet:vegetarian"="no"]

["diet:vegan"!~".*"]

out;


node

["diet:vegan"="only"]

["diet:vegetarian"!~".*"]

out;

I would start with "diet:vegan=only, diet:vegetarian not set". I would at first only run a low number of nodes each day (10 at first), and increase if no issues are detected.

Discussion

https://community.openstreetmap.org/t/automated-addition-of-diet-vegan-diet-vegetarian/121142

Repetition

I would run my script roughly every month.