# Improving Contents Metadata Correctly setting the dataset’s metadata is very important in GeoNode. The metadata allows the owners to describe the datasets' contents and quality better. Further, the metadata allows the owner to set restrictions or license constraints on its usage while still allowing registered GeoNode members to search for it on the catalog. ## Adding a Shapefile ```markdown **Note** You can skip to the `Editing Metadata` section directly in the case you already added this dataset in the previous training sessions. ``` - Navigate to the GeoNode main page `http://localhost` and log in as `admin`. On the resources page, click the `Add Resource` button and then click the `Upload dataset` link from the dropdown menu. ![image](../GN1/img/upload_dataset_link.png) - On the next page, click on `Select Files` ![image](../GN1/img/select_files_link.png) - From the `file browser window` navigate to: * 1: `/opt/data/sample_data/pretty_maps/data/boulder` (i.e. the folder where the data is stored) * 2: Select all the `Mainrd.*` files by pressing `RIGHT-SHIFT` and `LEFT-CLICK` * 3: Click on the `Open` button ![image](../GN1img/125446381-998a074c-46a8-4cb6-9cf1-171576173038.png) - If everything went well, you should be able to see the file name and file extension listed on the `Upload dataset` page; click on the `Upload` button ![image](../GN1/img/upload_files.png) - The upload will start and you will be able to see a progress bar on the top of the page. Please be patient, if you have a slow machine it will require some time to finish. - If no errors occur, the progress bar will reach `100%` and the name of the new `Dataset` will become clickable ![image](../GN1/img/finished_upload.png) - Click on the `dataset` name or on the `view` button in order to be redirected to the `Details Page`. ![image](../GN1/img/dataset_info.png) - Click on the `Datasets` link of the `Data` dropdown menu to go back to the list of all the available datasets. The newly uploaded dataset will be listed and a small summary card will report the most important information about the dataset: * The thumbnail depicts a quick preview of the dataset * The small section shows the clickable name of the dataset along with an abstract, which is empty by default * There's also the name of the owner/creator of the content and the publication date ![image](../GN1/img/dataset_card.png) ## Adding a GeoTiff ```markdown **Note** You can skip to the `Editing Metadata` section directly in the case you already added this dataset in the previous training sessions. ``` - Repeat the first two steps we have done for the `Shapefile` upload but now for a GeoTiff. Then click the `Select Files` button and navigate to the `test_grid.tif` from the file path `/opt/data/sample_data/gisdata/data/good/raster/test_grid.tif`. Select the file and click `Open`. ![image](../GN1/img/select_files_link.png) - Upload the file and wait for the progress bar to finish ![image](../GN1/img/geotiff_upload.png) - Navigate to the datasets list and select the newly created dataset ![image](../GN1/img/dataset_list.png) ## Editing Metadata - As an `admin`, or as a user with `manage` share permissions on the dataset, move to the `Mainrd` dataset details - Click on `Edit > Edit Metadata` ![image](./img/edit_metatdata_link.png) - On the next form, fill the metadata fields as follows - **Title**: `Boulder Main Roads` - **Abstract**: `The dataset shows the main roads of the Boulder city, in Colorado.` - **Publication Date**: Update the date to `now` - **Category**: `Transportation` - **Free-text Keywords**: `boulder, roads,` - **License**: `Open Data Commons Open Database License / OSM` - **Regions**: `United Stated of America [North America], Americas, North America,` - **Temporal Extent**: `2021-08-01 to 2021-09-30` - From the `Optional Metadata` form, click on the `toggle more Contact Roles` link and fill some of the additional `Contact Roles` at your convenence ![image](./img/edit_metatdata_contacts.png) - Click on `Update` and wait for the page to be reloaded; the `info` panel will show the updated information. ![image](./img/updated_info.png) #### [Next Section: Finding Contents](ADV_SEARCH.md)