# Adding Base Types to GeoNode This section explains how to add some of the base data types into GeoNode. As an example, we will learn how to upload a `ShapeFile` and `GeoTIFF` into GeoNode, as well as how to create maps and documents. ## Adding a Shapefile - Navigate to the GeoNode main page `http://localhost` and log in as `test_user1`. On the resources page, click the `Add Resource` button and then click the `Upload dataset` link from the dropdown menu. ![image](./img/upload_dataset_link.png) - On the next page, click on `Select Files` ![image](./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](img/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](./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](./img/finished_upload.png) - Click on the `dataset` name or on the `view` button in order to be redirected to the `Details Page`. ![image](./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](./img/dataset_card.png) ## Adding a GeoTiff - 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](./img/select_files_link.png) - Upload the file and wait for the progress bar to finish ![image](./img/geotiff_upload.png) - Navigate to the datasets list and select the newly created dataset ![image](./img/dataset_list.png) #### [Next Section: Styling with GeoNode](STYLING_BASE.md)