Skip to content

mehtab-alam/RSI-Tagger

Repository files navigation

GeoTag - Identification of Geographical Information of Relative Spatial Information (RSI)

GeoTag

Geotag is a Python command-line application to identify the geographical coordinates of relative spatial information (RSI). In this work, we identified the following spatial relations (north, south, east, west, north-east, north-west, south-east, south-west, central, nearby, surrounding) of location.

Process Pipeline

Process Pipeline

Configuration

  • List of the available countries and cities with their supported spelling are available in the corresponding .csv files (cities.csv, countries.csv).

Change the line # 11 and line # 12 in GeojsonUtil.py for the city you want to identify the spatial relations

Default

locale = "IT"
city = "Milan"

E.g. to identify the spatial relations of city Nice in France, You can change it accordingly using following code in line # 11 and line # 12.

locale = "FR"
city = "Nice"

Installation

To run the Python console application to identify the coordinates of configured location in previous step. Follow the below step

python3 GeojsonUtil.py

Output

  • The output after running GeoTag will be saved in directory e.g. for city Nice located in France, the output directory is '/geojson/fr/cities/nice/'.
  • In each location directory, there are 11 geojson files which contains geographical coordinates i.e. north.geojson, south.geojson, east.geojson, west.geojson, north-east.geojson, north-west.geojson, south-east.geojson, south-west.geojson, centeral.geojson, nearby.geojson, surrounding.geojson.

GeoTag - Visualizer

GeoTag - Visualizer is a web application built in python language used for visualizing the above relative spatial information (RSI).

Live Demo Application

Live Demo

Instllation

There are few Python packages that are needed to install for running the GeoTag demo application

  1. Install streamit library for running GeoTag web application
pip install streamlit
  1. Install folium library for manipulating your data in Python, then visualize it in a Leaflet map via folium.
pip install folium
  1. Install streamlit-folium library to visualize Leaflet map in streamlit web application
pip install streamlit-folium
  1. Finally, run the Geotag Visualizer web application
streamlit run App.py

Examples

Few examples of RSI captured from GeoTag Visualizer i.e. nearby Milan, central Utrecht, south Paris and surrounding of Grenoble

Examples of RSI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages