Hi Everyone, I am curious if Overpass is able to query features that were added or have changes in tag value. For example, I wanna see how many oneway tags were added for a given month. Likewise seeing also if there are any changes in the tag value. This is the current code i am using. [diff: "2018-05-30T15:00:00Z","2018-06-30T15:00:00Z"][out:xml][timeout:25];(way"oneway";);out body;>;out skel qt; This query gives anything that is touched but does not always pertain to added oneway tag. it can be any change to the segment tagged oneway. Any thoughts about this? asked 30 Nov '18, 01:02 mapsbyjujubee |
You can further filter the results of your query to only those with actual changes of the "oneway" tag with the compare statement, see also blog post section Sliced Time and Space - Comparing Diffs:
adiff results in the Augmented Diff format can also be visualized in achavi (better shows create/modify/delete) by exporting the data into a file with "Export" > "download raw OSM data" and drag&drop onto the map at https://overpass-api.de/achavi/. answered 30 Nov '18, 18:16 ikonor @ikonor This is awesome thank you! [adiff:"2018-05-30T15:00:00Z","2018-06-30T15:00:00Z"]; way"oneway"({{bbox}}); compare(delta:t["oneway"]); out meta geom;
(01 Dec '18, 20:43)
mapsbyjujubee
I fear there is no proper way to filter adiff results by user. There is a user/uid filter [1], but that's weird and does not do what you would expect in an adiff query (e.g. misses deletes/tag removals), because what you would want is to filter the "new" objects in the adiff output, not the data in each timestamp query. [1] https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_user_.28user.2C_uid.29
(02 Dec '18, 13:41)
ikonor
|