Skip to content

nvitucci/notebook_shape2geosparql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notebook_shape2geosparql

A notebook on the usage of shape2geosparql with a few examples.

Quick start

You need three libraries in order to use this notebook:

  • Python 3 (download page here here);
  • GDAL (installation instructions here);
  • Fuseki GeoSPARQL server (latest downloadable JAR here).

Once you have Python 3 and GDAL installed, run the following:

$ git clone https://github.com/nvitucci/notebook_shape2geosparql
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

If the GDAL bindings cannot be installed, try running $ pip install gdal==<VERSION> where VERSION is the version of GDAL you installed on your system.

When all the packages are installed, run jupyter notebook and navigate to the notebook file. In a separate shell, run the Fuseki GeoSPARQL server as follows:

$ java -jar jena-fuseki-geosparql-3.14.0.jar -u

Data

The data have been downloaded from the Open Data Trentino portal:

The shapefiles have been included in this repository for convenience.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published