Examples#

Create a data package#

Prerequisites

  • You are in the Eawag Intranet - otherwise you will not be able to access data.eawag.ch ( only accessible from Eawag intranet) and will be forwarded to opendata.eawag.ch our read-only portal .

  • You have an ERIC/internal account and editor permissions - if your’re unsure, please check the first time user section.

Tip

Have some data ready for uploading. Since every data package should have a ReadMe file, you could start with that.

First we’ll navigate to the package creation form. create_package

Enter package metadata#

As you scroll through the form, you will see all the metadata you can enter at the package level. Metadata is very important for anyone (maybe even yourself in a few years time) who tries to work with the data you want to preserve/publish in ERIC. Take the time to fill in the various fields with your metadata. Required fields are marked with a red asterisk *. If you have any questions about how to fill in a field, click on the information button to the right of each field.

Package Creation Form

scroll_form

Some fields may not be easy to fill in. You can always edit a data package before publication, if you’re not sure what to enter. The spatial extend field may not be so easy to fill in. Please refer to the adding spatial information section for copy and paste examples.

Once you entered your metadata you can progress to uploading resources.

Enter Resource Creation Form

add_resources

Upload resources#

Resources can be files or links. Most likely one will want to upload files, sometimes you also want to use links.

Files#

As suggested before every data package should have a ReadMe file (.txt/.md both work).

Once the file has been uploaded make you set the correct resource type and set desired access restrictions. Finally you can click add.

Upload a ReadMe File

add_resources

Edit a data package#

Important

You can only edit your package until it is published. If you need to make changes after it has been published, you should create a new package and then release it as a new version.

To edit a package first you need access your package on ERIC/internal. Once there, you can edit via pressing Manage.

Edit a Data Package

add_resources

In this new view you can edit the package metadata as well as edit and add resource.

Edit a Resource

add_resources

Add Resources later

add_resources

Adding spatial information#

If you want your data package to be searchable via spatial information it is advised to add a spatial extend. Spatial extends can be specified in GeoJSON. Check out the official examples.

Unsupported GeoJSON formats

GeometryCollection, FeatureCollections and FeatureObjects are currently not supported.

Warning

Coordinates must be specififed in the order Longitude, Latitude. Google maps pins are in the reverse order.

Below you can see examples for each supported string and how this will be displayed on a map.

Point

{"type": "Point", "coordinates": [8.609, 47.403]}
Make this Notebook Trusted to load map: File -> Trust Notebook

MultiPoint

{"type": "MultiPoint", "coordinates": [[8.609, 47.403], [8.61, 47.409]]}
Make this Notebook Trusted to load map: File -> Trust Notebook

LineString

{"type": "LineString", "coordinates": [[8.609, 47.403], [8.61, 47.409]]}
Make this Notebook Trusted to load map: File -> Trust Notebook

MultiLineString

{"type": "MultiLineString", "coordinates": [[[8.609, 47.403], [8.61, 47.409]], [[8.619, 47.413], [8.62, 47.419]]]}
Make this Notebook Trusted to load map: File -> Trust Notebook

Polygon

{"type": "Polygon", "coordinates": [[[8.609, 47.403], [8.61, 47.409], [8.62, 47.419], [8.619, 47.413]]]}
Make this Notebook Trusted to load map: File -> Trust Notebook

MultiPolygon

{"type": "MultiPolygon", "coordinates": [[[[8.609, 47.403], [8.61, 47.409], [8.62, 47.419], [8.619, 47.413]]], [[[8.589, 47.383], [8.59, 47.389], [8.6, 47.399], [8.599, 47.393]]]]}
Make this Notebook Trusted to load map: File -> Trust Notebook

Warning

Polygons defined in a MultiPolygon may not overlap!

Set up a preview for you resources#

This chapter is coming soon.