Creating and Editing Data

Create an Empty Layer

  • Click on Data > Create Layer

    image

  • Fill the form with some values; first of all insert a name and title and select Polygon as geometry type

  • Add three attributes and click the Create button

    • label: String

    • value: Float

    • date: Date

    image

  • GeoNode will create the new empty layer with the selected geometry type and attributes and will redirect you directly to the detail page

    image

Edit the Layer Data

  • Click on Editing Tools > Layer > Edit Data

    image

  • Go to Boulder area by using the geocoding widget

    image

  • Click on the pencyl in order to enter the edit mode

    image

  • Click on the add new geometry button

    image

  • Click on the Pencyl again

    image

  • Draw a small polygon over the Boulder Airport and click on the floppy disk button

    image

  • Double-click on the attributes table columns in order to enable the edit mode on the values

    image

  • Insert some values as shown below; the date-time attributes must be provided in ISO format

    image

  • Save and repeat the operation as many times you want

    image

  • Once finished, go back to the layer detail page; you will notice that GeoNode will show some features but the bounding box is still the whole world; remember to clean the image cache of the browser in order to show the new features

    image

Update the Layer Bounding Box

  • Logout and login again as an admin; from the context menù, click on GeoServer

    image

  • If you are still logged in as test_user1 on GeoServer, follow the steps below

    image

    image

    image

    image

  • Go to the GeoServer Data > Layers section

    image

  • Select and click on the Test Layer you just created

    image

  • Scroll down to the Bounding Boxes section, update them as shown in the figure, and Save

    image

  • Go back to GeoNode; from the layer details page click on the Refresh Attributes and Statistics button

    image

  • The page will be refreshed and now the layer will be zoomed on the right location

    image

Delete Data

  • Enter the Edit Data mode again

    image

  • Select (click over) a polygon and click on the Trash Bin icon

    image

  • Confirm the deletion and verify the polygon disappear from the map

    image

  • Go back to the layer details page, refresh the browser image cache, and verify the feature is not present anymore

    image

Refresh the Thumbnail

  • Last thing to do is to refresh the layer thumbnail

    image

    image