EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

eea.docker.arcgis2rdf

eea.docker.arcgis2rdf

Exports ArcGIS online catalogue data into RDF files

Dependencies

Additional libraries in use apart of the standard Python libs : rdflib and json

How to run:

1. Use the shell
2. Go to the script directory (Python exported is needed)
3. Run: python readEoEGroup_rdf.py <outputfilepath> -g "GROUPNAME"

The argument is:

outputpath: Provides the full output in the server machine with the filename with extension .rdf e.g. “M:\ags_mxd_data\RDF\test.rdf”

Options

--group, -g : It possible retrive data from sevaral groups. The dafault group is “European Environment Agency (Applications)” Avalilable groups are listed in http://eea.maps.arcgis.com/home/groups.html

Example

python readEoEGroup_rdf.py retrive_data.rdf -g "GMES Services"

How to run in Docker

Note: Work in progress. We will add it to Docker Hub once it is working properly with environment variables.

Build the Dockerfile locally.

git clone eea.docker.arcgis2rdf
cd eea.docker.arcgis2rdf
docker build -t arcgis2rdf .

Create a output directory with mkdir rdf. Run the docker container to create a RDF output in ./rdf

docker run -ti -v ./rdf:/var/local/arcgis2rdf:rw arcgis2rdf

Now you should see the rdf file with more rdf/arcgis_data.rdf

Edit this page