Creating and Editing Data¶
Create an Empty Layer¶
Click on
Data > Create Layer
Fill the form with some values; first of all insert a
name
andtitle
and selectPolygon
asgeometry type
Add three
attributes
and click theCreate
buttonlabel
:String
value
:Float
date
:Date
GeoNode will create the new empty layer with the selected
geometry type
andattributes
and will redirect you directly to the detail page
Edit the Layer Data¶
Click on
Editing Tools > Layer > Edit Data
Go to
Boulder
area by using thegeocoding
widgetClick on the
pencyl
in order to enter theedit mode
Click on the
add new geometry
buttonClick on the
Pencyl
againDraw a small
polygon
over theBoulder Airport
and click on thefloppy disk
buttonDouble-click on the
attributes table
columns in order to enable theedit mode
on the valuesInsert some values as shown below; the date-time attributes must be provided in ISO format
Save and repeat the operation as many times you want
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
Update the Layer Bounding Box¶
Logout and login again as an
admin
; from the context menù, click onGeoServer
If you are still logged in as
test_user1
on GeoServer, follow the steps belowGo to the GeoServer
Data > Layers
sectionSelect and click on the
Test Layer
you just createdScroll down to the
Bounding Boxes
section, update them as shown in the figure, andSave
Go back to GeoNode; from the layer details page click on the
Refresh Attributes and Statistics
buttonThe page will be refreshed and now the layer will be zoomed on the right location
Delete Data¶
Enter the
Edit Data
mode againSelect (click over) a polygon and click on the
Trash Bin
iconConfirm the deletion and verify the polygon disappear from the map
Go back to the layer details page, refresh the browser image cache, and verify the feature is not present anymore
Refresh the Thumbnail¶
Last thing to do is to refresh the layer thumbnail