Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SemanticRouteAnnotation

A source code for loading semantic annotations into a property database and performing semantic queries.


Project Status: Active – The project has reached a stable, usable state and is being actively developed. Code source License Supported Python Versions

...

README Contents


Prerequisites

  • A Neo4j database and a user with the appropriate permissions have been created. The database version used is 5.24. You also need to install the following plugin: APOC (5.24.2).

  • Some Python scripts use the QGIS API and therefore need to be run in the QGIS Python console.


Data Description

Multiple datasets are required to load the database.

1/ Version 2.0 of the Ontology of LandmaRks, provided in the file oor_v2_0_0.owl in the data directory, with its updates referenced in the GitHub repository: https://github.com/umrlastig/landmark-ontology

2/ The Landmarks are separated according to their representations: POIs and topographic features.

  • The 5 CSV files containing the POIs are extracted from the dataset DOI published on Zenodo.
  • The 5 shapefiles containing the topographic features come from the BDTOPO dataset (https://geoservices.ign.fr/bdtopo)

3/ The dataset of semantic annotations and routes is deposited on the open data repository Zenodo: DOI.

  • The 13 routes, derived from diverse collaborative sources, are stored in the file routes.csv. The geometries of the routes were map-matched to the BDTOPO road network representing the mobility network and are stored in the mobilite layer of the GeoPackage. The map-matching process is described in: https://doi.org/10.1080/23729333.2019.1615730.

  • The semantic annotations of the routes are also stored in the GeoPackage in the following layers:

    • pii_balcons for route segments running along balconies,

    • pii_lacet for route segments consisting of a series of hairpin bends,

    • pii_foret for segments running along or through forests,

    • pii_lac for route segments running along lakes,

    • pii_pont for segments crossing bridges.


Purpose of the Python Scripts

Loading Data in the Graph Database

The first three scripts can be run in a standard Python console, whereas the following ones must be run in the QGIS Python console. For all scripts, you only need to update the data file paths in the script and the database connection parameters.

  • 1_ontoloy.py: loads the landmark ontology into the database.

  • 2_route.py: loads the routes, including their titles and data sources.

  • 3_objrepere.py: loads the POIs.

  • 4_objgeo.py: loads the topographic features.

Performing Semantic Queries


How to cite

Ce travail a été publié dans ce rapport technique:

.......

Special thanks


Development

License: MIT LICENSE

Institute: LASTIG, Univ Gustave Eiffel, Geodata-Paris, IGN

Authors: Marie-Dominique Van Damme


Acknowledgments

This work was supported by the ANR research project IntForOut: Multisource spatial data INTegration FOR the Monitoring of Ecosystems under the pressure of OUTdoor recreation (ANR-23-CE55-0003).

About

SemanticRouteAnnotation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors