All Projects → tyrasd → taghistory

tyrasd / taghistory

Licence: MIT License
📈 History of OSM tag usage

Programming Languages

HTML
75241 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to taghistory

ohsome-api
API for analysing OpenStreetMap history data
Stars: ✭ 25 (-24.24%)
Mutual labels:  openstreetmap, openstreetmap-data, openstreetmap-history
oshdb
OpenStreetMap History Data Analysis Framework
Stars: ✭ 82 (+148.48%)
Mutual labels:  openstreetmap, openstreetmap-data, openstreetmap-history
osm-node-density
🌇 a visualization of OpenStreetMaps node density
Stars: ✭ 48 (+45.45%)
Mutual labels:  openstreetmap, openstreetmap-data
taginfo-projects
Projects list for taginfo
Stars: ✭ 19 (-42.42%)
Mutual labels:  openstreetmap, taginfo
osmose-backend
Part of osmose that runs the analysis, and send the results to the frontend.
Stars: ✭ 74 (+124.24%)
Mutual labels:  openstreetmap, openstreetmap-data
osm-analytics-cruncher
Backend code for osm-analytics
Stars: ✭ 14 (-57.58%)
Mutual labels:  openstreetmap, openstreetmap-data
ohsome-quality-analyst
Data quality estimations for OpenStreetMap
Stars: ✭ 28 (-15.15%)
Mutual labels:  openstreetmap, openstreetmap-data
pydriosm
PyDriosm: an open-source tool for downloading, reading and PostgreSQL-based I/O of OpenStreetMap data
Stars: ✭ 42 (+27.27%)
Mutual labels:  openstreetmap, openstreetmap-data
basemaps
Scripts to generate MapServer mapfiles based on OpenStreetMap data. Please submit pull requests to the 'main' branch.
Stars: ✭ 51 (+54.55%)
Mutual labels:  openstreetmap, openstreetmap-data
cosmogony
easy to use & easy to update geographic regions
Stars: ✭ 90 (+172.73%)
Mutual labels:  openstreetmap, openstreetmap-data
openpoiservice
📍 Openpoiservice is a flask application which hosts a highly customizable points of interest database derived from OpenStreetMap data.
Stars: ✭ 134 (+306.06%)
Mutual labels:  openstreetmap, openstreetmap-data
map
🏳️‍🌈🗺 A map of community centers and other helpful information for queer (LGBTQ) people.
Stars: ✭ 15 (-54.55%)
Mutual labels:  openstreetmap, openstreetmap-data
osm-extracts
Each day, OSM Extracts by Interline mirrors the entire OpenStreetMap planet and creates city and region sized extracts
Stars: ✭ 34 (+3.03%)
Mutual labels:  openstreetmap, openstreetmap-data
Osmunda
An offline geocode library for android, powered by SQLite, using osm data. 离线地理编码Android库,基于SQLite,使用开放街道地图数据。
Stars: ✭ 37 (+12.12%)
Mutual labels:  openstreetmap, openstreetmap-data
humanized opening hours
A parser for the opening_hours fields from OpenStreetMap
Stars: ✭ 22 (-33.33%)
Mutual labels:  openstreetmap, openstreetmap-data
openskimap.org
The front end for OpenSkiMap.org.
Stars: ✭ 23 (-30.3%)
Mutual labels:  openstreetmap
mapping-north-korea
Humanitarian Project for Mapping North Korea
Stars: ✭ 15 (-54.55%)
Mutual labels:  openstreetmap
ClearTables
An osm2pgsql style to simplify OSM data use
Stars: ✭ 31 (-6.06%)
Mutual labels:  openstreetmap-data
prototypes
miscellaneous wolfram language functions
Stars: ✭ 24 (-27.27%)
Mutual labels:  openstreetmap
gosmparse
Processing OpenStreetMap PBF files at speed with Go
Stars: ✭ 55 (+66.67%)
Mutual labels:  openstreetmap

OSM Tag Usage Analysis

Generates graphs of the usage of arbitrary OSM tags over time (with daily granularity) by number of OSM objects. Read more about OSM tags and this tool in my blog article.

Warning: The output is (currently) only given in terms of numbers (counts) of OSM objects! Similarly to some of the statistics produced by taginfo, it is subject to the same limitations, most notably the effect that one cannot directly compare the number of tags used for different linear and polygonal features such as roads, land cover, etc. because such features are typically divided up into many OSM objects of different sizes. For example, an existing road may be divided up into two pieces when a new turn restrictions is added, resulting in that the count of each of the tags used on the road (even obsolete ones) is increased by one in the OSM database. That means that one needs to pay close attention when comparing tags that are typically used on such features, even when one's comparing subtags that are typically used on the same kind of parent object (e.g. different values of the highway tag).

Technicalities

A simple osmium script (see /backend/) scans through a planet history dump and aggregates daily net differences of all used tags by osm object type (node/way/relation). This takes care of created and deleted objects as well as tag modifications in between different versions of an object.

This data is then stored into an sqlite database and is exposed by a simple REST API.

API

Taghistory's own API is quite limited and currently not updated regularly. Please consider using an alternative like the Taginfo chronology API or the ohsome API instead.

Data returned from the taghistory API described below is available under the terms of the ODbL 1.0 license and copyright © OpenStreetMap contributors.

GET /<type>/<key>/<value>[?format=<format>]

Gets the osm object count history for the given tag (key, value) of the given OSM object type (type). type can be *** to search for any object type.

Returns a JSON array of objects containing date, delta and count fields indicating the net change (delta) of the respective tag usage on a particular date. count contains a running cummulative sum of the object counts for convenience.

The optional GET-parameter format can be one of json (default value if omitted, see the example below) or csv for a downloadable csv file.

Example: http://taghistory.raifer.tech/relation/amenity/drinking_water

[
  {"date":"2010-08-03T00:00:00.000Z","delta":1,"count":1},
  {"date":"2010-08-28T00:00:00.000Z","delta":3,"count":4},
  …,
  {"date":"2014-10-28T00:00:00.000Z","delta":-3,"count":0}
]

GET /<type>/<key>[?format=<format>]

Same as above, but matches any tag with the given key.

todos

  • implement regular (e.g. daily) data updates
  • for linear and polygonal objects: use length or area as a metric instead of object count

see also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].