Skip to content

Danysan1/osm-wikidata-map-framework

Repository files navigation

OSM-Wikidata Map Framework

Framework for creating interactive maps that combine and display details about entities associated with geographic features from OpenStreetMap and Wikidata. The types of geographic features and related entities to show are choosen by editing a configuration file and automatically handled by the framework.

Available data source patterns

Data source pattern Image
OpenStreetMap elements linked to related entities through *:wikidata keys (for example name:etymology:wikidata). Can be configured with osm_wikidata_keys (JSON array of OSM keys to use). OpenStreetMap name:etymology:wikidata pattern
Wikidata entities with the property P625 ("coordinate location") and specific properties linking to related entities. Can be configured with osm_wikidata_properties (JSON array of Wikidata property P-IDs to use). Wikidata direct relation image
OpenStreetMap wikidata=* tag combined with Wikidata direct properties. Can be configured with osm_wikidata_properties (JSON array of Wikidata property P-IDs to use). OpenStreetMap wikidata pattern
Wikidata entities with the property P625 referenced by a related entity through reverse properties (for example P119 ("place of burial")). Can be configured with wikidata_indirect_property (Wikidata property P-ID to use). Wikidata reverse relation image
OpenStreetMap wikidata tag combined with Wikidata reverse properties. Can be configured with wikidata_indirect_property (Wikidata property P-ID to use). OpenStreetMap wikidata pattern
Wikidata property P625 used as qualifier for reverse properties. Can be configured with wikidata_indirect_property (Wikidata property P-ID to use) and wikidata_image_property (Wikidata property P-ID to use to get an image of the map feature). Wikidata qualifier relation image
Case insensitive search of names used by multiple roads far from each other which have exactly and only the same etymology (obtained from the sources above) and propagation of that etymology to all elements with the same name. Can be enabled/disabled with propagate_data. Feature meant specifically for Open Etymology Map. Propagation image

For more details see CONTRIBUTING.md.

How to use this framework to create a map

Follow the instructions in front-end/README.md. If you want to also initialize the vector tiles for faster performance, follow the instructions in airflow/README.md.

Screenshots

Detail view: Detail view

Color grouping by gender: Color grouping by gender

Color grouping by type: Color grouping by type

Cluster view: Cluster view

Sponsor this project

Packages

 
 
 

Contributors