Skip to content

Commit d38a0e8

Browse files
committed
Merge branch 'master' into 4.3.x
2 parents 62c2a9f + 66fa0fa commit d38a0e8

40 files changed

+162
-49
lines changed

install/advanced/core/index.rst

+70-4
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,26 @@ At this point your command prompt shows a ``(geonode)`` prefix, this indicates t
160160
pip install -e . --upgrade
161161
pip install pygdal=="`gdal-config --version`.*"
162162
163+
Edit ``/opt/geonode/celery-cmd``.
163164

164-
.. _configure_dbs_core:
165+
.. code-block:: shell
166+
167+
CELERY__STATE_DB=${CELERY__STATE_DB:-"/opt/geonode/worker@%h.state"}
168+
169+
Edit ``/opt/geonode/geonode/settings.py``.
170+
171+
.. code-block:: python
172+
173+
FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o777
174+
FILE_UPLOAD_PERMISSIONS = 0o777
175+
176+
Edit ``/opt/geonode/uwsgi.ini``.
177+
178+
.. code-block:: ini
179+
180+
chdir = /opt/geonode/
181+
182+
touch-reload = /opt/geonode/geonode/wsgi.py
165183
166184
3. Postgis database Setup
167185
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -551,6 +569,24 @@ Let's now configure the ``JAVA_OPTS``, i.e. the parameters to run the Servlet Co
551569

552570
.. warning:: The default options we are going to add to the Servlet Container, assume you can reserve at least ``4GB`` of ``RAM`` to ``GeoServer`` (see the option ``-Xmx4096m``). You must be sure your machine has enough memory to run both ``GeoServer`` and ``GeoNode``, which in this case means at least ``4GB`` for ``GeoServer`` plus at least ``2GB`` for ``GeoNode``. A total of at least ``6GB`` of ``RAM`` available on your machine. If you don't have enough ``RAM`` available, you can lower down the values ``-Xms512m -Xmx4096m``. Consider that with less ``RAM`` available, the performances of your services will be highly impacted.
553571

572+
.. code-block:: shell
573+
574+
# Create the Logrotate config
575+
sudo tee /etc/logrotate.d/geoserver <<EOF
576+
/opt/data/geoserver_logs/geoserver.log
577+
/opt/tomcat/apache-tomcat-*/logs/*.log
578+
/opt/tomcat/apache-tomcat-*/logs/*.out
579+
/opt/tomcat/apache-tomcat-*/logs/*.txt
580+
{
581+
copytruncate
582+
daily
583+
rotate 5
584+
delaycompress
585+
missingok
586+
su tomcat tomcat
587+
}
588+
EOF
589+
554590
Conifgure the Geofence DB
555591
............................
556592
@@ -744,6 +780,21 @@ Serving {“geonode”, “geoserver”} via NGINX
744780
sudo systemctl status geonode-uwsgi.service
745781
sudo systemctl enable geonode-uwsgi.service
746782
783+
.. code-block:: shell
784+
785+
# Create the Logrotate config
786+
sudo tee /etc/logrotate.d/uwsgi-geonode <<EOF
787+
"/var/log/geonode.log" {
788+
copytruncate
789+
daily
790+
rotate 5
791+
delaycompress
792+
missingok
793+
notifempty
794+
su root root
795+
}
796+
EOF
797+
747798
.. code-block:: shell
748799
749800
# Backup the original NGINX config
@@ -1006,7 +1057,7 @@ In particular the steps to do are:
10061057
cd /opt/geonode
10071058
10081059
# Update the GeoNode ip or hostname
1009-
PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org
1060+
PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org
10101061
10111062
exit
10121063
@@ -1022,14 +1073,14 @@ In particular the steps to do are:
10221073
# Add these to make available. Change user, password and server information to yours
10231074
export DATABASE_URL='postgresql://<postgresqluser>:<postgresqlpass>@localhost:5432/geonode'
10241075
1025-
#Close virtual environmetn and aopen it again to update variables
1076+
# Close virtual environment and aopen it again to update variables
10261077
deactivate
10271078
10281079
workon geonode
10291080
cd /opt/geonode
10301081
10311082
# Update the GeoNode ip or hostname
1032-
DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org
1083+
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org
10331084
10341085
.. note:: If at the end you get a "bad gateway" error when accessing your geonode site, check uwsgi log with ``sudo tail -f /var/log/geonode.log`` and if theres is an error related with port 5432 check the listening configuration from the postgresql server and allow the incoming traffic from geonode.
10351086
@@ -1214,6 +1265,21 @@ Daemonize and configure Celery
12141265
[Install]
12151266
WantedBy=multi-user.target
12161267
1268+
.. code-block:: shell
1269+
1270+
# Create the Logrotate config
1271+
sudo tee /etc/logrotate.d/celery <<EOF
1272+
"/var/log/celery.log" {
1273+
copytruncate
1274+
daily
1275+
rotate 5
1276+
delaycompress
1277+
missingok
1278+
notifempty
1279+
su root root
1280+
}
1281+
EOF
1282+
12171283
----
12181284
12191285
**Manage Celery**
29.4 KB
Loading
127 KB
Loading

usage/dashboard/index.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ Dashboard is a MapStore tool integrated in GeoNode that provides the user with a
99
* Interact spatially and analytically with the data by creating connections between widgets
1010
* Perform analysis on involved data/layers
1111

12-
To build a new Dashboard go to :guilabel:`Add Resource` option on the resource page and choose option *Create dashboard*.
12+
To build a new Dashboard go to :guilabel:`Add Resource` option on the *All Resources* page and choose option *Create dashboard* or select :guilabel:`New` option on the *Dashboards* page
1313

14-
.. figure:: img/new_dashboard.png
15-
:align: center
14+
.. figure:: img/create_dashboard_link.png
15+
:align: center
1616

17-
*New Dashboard Apps option*
17+
*Create dashboard from All Resources page*
18+
19+
.. figure:: img/create_dashboard.png
20+
:align: center
21+
22+
*Create dashboard from Dashboards page*
1823

1924
Now you landed on the Dashboard edition page that is composed of the following sections:
2025

usage/data/data_types.rst

+27-13
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ Data Types
55

66
| GeoNode welcome page shows a variety of information about the current GeoNode instance.
77
| You can explore the existing data using many search tools and filters (see :ref:`finding-data`) or through the links of the navigation bar at the top of the page.
8-
| There are three main types of resources that GeoNode can manage:
8+
| There are five main types of resources that GeoNode can manage:
99
10-
#. Documents
1110
#. Datasets
1211
#. Maps
12+
#. Documents
13+
#. GeoStories
14+
#. Dashboards
1315

14-
Datasets and Documents can be accessed from the :guilabel:`Data` menu of the navigation bar.
15-
The :guilabel:`Maps` menu lets you filter only maps in the available resource. This applies to other existing menu items like :guilabel:`GeoStories`.
16+
17+
Each resource type has its own menu and can be reached through :guilabel:`Datasets`, :guilabel:`Maps`, :guilabel:`Documents`, :guilabel:`GeoStories` and :guilabel:`Dashboards` buttons on the navigation bar
1618

1719
.. note:: :guilabel:`GeoStories` and :guilabel:`Dashboards` In the screenshot below are GeoApp resouce types which are added by the client.
1820

@@ -23,14 +25,6 @@ The :guilabel:`Maps` menu lets you filter only maps in the available resource. T
2325

2426
.. _document-data-type:
2527

26-
Documents
27-
---------
28-
29-
| GeoNode allows to publish tabular and text data and to manage metadata and associated documents.
30-
| Documents can be uploaded directly from your disk (see :ref:`uploading-documents` for further information).
31-
| The following documents types are allowed: `txt, .log, .doc, .docx, .ods, .odt, .sld, .qml, .xls, .xlsx, .xml, .bm, .bmp, .dwg, .dxf, .fif, .gif, .jpg, .jpe, .jpeg, .png, .tif, .tiff, .pbm, .odp, .ppt, .pptx, .pdf, .tar, .tgz, .rar, .gz, .7z, .zip, .aif, .aifc, .aiff, .au, .mp3, .mpga, .wav, .afl, .avi, .avs, .fli, .mp2, .mp4, .mpg, .ogg, .webm, .3gp, .flv, .vdo, .glb, .pcd, .gltf`.
32-
| Through the document detailed page is possible to view, download and manage a document.
33-
3428
Datasets
3529
------
3630

@@ -47,9 +41,29 @@ Maps
4741

4842
| Maps are a primary component of GeoNode.
4943
| Maps are comprised of various datasets and their styles. Datasets can be both local datasets in GeoNode as well as remote datasets either served from other WMS servers or by web service datasets such as Google or MapQuest.
50-
5144
GeoNode maps also contain other information such as map zoom and extent, dataset ordering, and style.
5245

5346
You can create a map based on uploaded datasets, combine them with some existing datasets and a remote web service dataset, share the resulting map for public viewing.
5447
Once the data has been uploaded, GeoNode lets the user search for it geographically or via keywords and create maps.
5548
All the datasets are automatically reprojected to web mercator for maps display, making it possible to use popular base maps such as `OpenStreetMap <https://www.openstreetmap.org>`_.
49+
50+
Documents
51+
---------
52+
53+
| GeoNode allows to publish tabular and text data and to manage metadata and associated documents.
54+
| Documents can be uploaded directly from your disk (see :ref:`uploading-documents` for further information).
55+
| The following documents types are allowed: `txt, .log, .doc, .docx, .ods, .odt, .sld, .qml, .xls, .xlsx, .xml, .bm, .bmp, .dwg, .dxf, .fif, .gif, .jpg, .jpe, .jpeg, .png, .tif, .tiff, .pbm, .odp, .ppt, .pptx, .pdf, .tar, .tgz, .rar, .gz, .7z, .zip, .aif, .aifc, .aiff, .au, .mp3, .mpga, .wav, .afl, .avi, .avs, .fli, .mp2, .mp4, .mpg, .ogg, .webm, .3gp, .flv, .vdo, .glb, .pcd, .gltf`.
56+
| Through the document detailed page is possible to view, download and manage a document.
57+
58+
GeoStories
59+
---------
60+
61+
| GeoStory is a MapStore tool integrated in GeoNode that provides the user a way to create inspiring and immersive stories by combining text, interactive maps, and other multimedia content like images and video or other third party contents. Through this tool you can simply tell your stories on the web and then publish and share them with different groups of GeoNode users or make them public to everyone around the world.
62+
63+
Dashboard
64+
---------
65+
66+
| Dashboard is a MapStore tool integrated in GeoNode that provides the user with a space to add many Widgets, such as charts, maps, tables, texts and counters, and can create connections between them in order to:
67+
| - Provide an overview to better visualize a specific data context
68+
| - Interact spatially and analytically with the data by creating connections between widgets
69+
| - Perform analysis on involved data/layers

usage/data/finding_data.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Finding Data
66
| This section will guide you to navigate GeoNode to find datasets, maps and documents and other resource types by using different routes, filters and search functions.
77
| On every page you can find some quick search tool.
88
9-
The *Search* box in the navigation bar (see the picture below) let you type a text and find all the data which have to deal with that text.
9+
The *Search* box in the navigation bar (see the picture below) let you type a text and find all the resource which have to deal with that text.
1010

1111
.. figure:: img/search_tool.png
1212
:align: center
@@ -21,7 +21,7 @@ When you trigger a search you are brought to the *Search* page which shows you t
2121
*The Search page*
2222

2323
| This page contains a wealth of options for customizing a search for various information on GeoNode. This search form allows for much more fine-tuned searches than the simple search box is available at the top of every page.
24-
| It is possible to search and filter data by Text, Types, Categories, Keywords, Owners, Regions or Extent.
24+
| It is possible to search and filter data by Text, Types, Categories, Keywords, Owners, Regions, Group, Limitations on public access, Date and Extent.
2525
2626
Try to set some filter and see how the resulting data list changes accordingly. An interesting type of filter is *EXTENT*: you can apply a spatial filter by moving or zooming a map within a box as shown in the picture below.
2727

usage/data/img/data_menu.png

-112 KB
Loading

usage/data/img/ordering_data.png

212 KB
Loading
-74.8 KB
Loading

usage/data/img/search_page.png

-48.9 KB
Loading

usage/data/img/search_tool.png

-3.7 KB
Loading
29.8 KB
Loading
127 KB
Loading

usage/geostory/index.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ GeoStory
66
GeoStory is a MapStore tool integrated in GeoNode that provides the user a way to create inspiring and immersive stories by combining text, interactive maps, and other multimedia content like images and video or other third party contents.
77
Through this tool you can simply tell your stories on the web and then publish and share them with different groups of GeoNode users or make them public to everyone around the world.
88

9-
To build a new GeoStory go to :guilabel:`Add Resource` option on the resource page and choose option *Create geostory*.
9+
To build a new GeoStory go to :guilabel:`Add Resource` option on the *All Resources* page and choose option *Create geostory* or select :guilabel:`New` option on the *Geostories* page
1010

11-
.. figure:: img/new_geostory.png
12-
:align: center
11+
.. figure:: img/create_geostory_link.png
12+
:align: center
1313

14-
*New GeoStory Apps option*
14+
*Create geostory from All Resources page*
15+
16+
.. figure:: img/create_geostory.png
17+
:align: center
18+
19+
*Create geostory from Geostories page*
1520

1621
Now you landed on the GeoStory edition page that is composed of the following sections:
1722

usage/managing_datasets/dataset_editing.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ The :guilabel:`Edit` link in the menu of the *Dataset Page* opens a list of opt
1212

1313
In that options list, you can see three options listed as:
1414

15-
1. *Edit Info*
16-
2. *Edit Data*
17-
3. *Edit Styles*
18-
4. *Edit Metadata*
19-
5. *Upload Style*
20-
6. *Upload Metadata*
15+
1. *Edit Data*
16+
2. *Edit Styles*
17+
3. *Edit Metadata*
18+
4. *Upload Style*
19+
5. *Upload Metadata*
2120

2221

2322
In this section you will learn how to edit a *Dataset*, and its data. See :ref:`dataset-metadata` to learn how to explore the dataset *Metadata*, how to upload and edit them. The *Styles* will be covered in a dedicated section, see :ref:`dataset-style`.

usage/managing_datasets/dataset_permissions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Share Options
44
=============
55

6-
In order to modify the Dataset *Share options* settings, on the detail page of the dataset click the :guilabel:`Share` link in the menu. By default only owners can edit and manage datasets, anyone can view them.
6+
In order to modify the Dataset *Share options* settings, on the detail page of the dataset click the :guilabel:`Share` link in the :guilabel:`Resource` menu. By default only owners can edit and manage datasets, anyone can view them.
77

88
.. figure:: img/change_dataset_permissions.png
99
:align: center
Loading
Loading
Loading
Loading
Loading
246 KB
Loading
Loading

usage/managing_datasets/uploading_datasets.rst

+12-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,21 @@ Datasets Uploading
66
| The most important resource type in GeoNode is the *Dataset*. A dataset represents spatial information so it can be displayed inside a map.
77
| To better understand what we are talking about lets upload your first dataset.
88
9-
The *Dataset Uploading* page can be reached from the :guilabel:`Upload dataset` link of the :guilabel:`Add Resource` menu above the resources list page.
9+
It is possible to upload a *Datasets* in two ways:
1010

11-
.. figure:: img/upload_dataset_link.png
11+
- From the :guilabel:`All Resources` page, by clicking *Add Resource* which displays a list including `Upload dataset` link:
12+
13+
.. figure:: img/upload_dataset_link.png
1214
:align: center
1315

14-
*Link for Datasets Uploading*
16+
*Dataset Upload from All Resources page*
17+
18+
- From the :guilabel:`Datasets` page, by clicking on *New* which displays a list including `Upload dataset` link:
19+
20+
.. figure:: img/upload_dataset.png
21+
:align: center
22+
23+
*Dataset Upload from Datasets page*
1524

1625
The *Datasets Uploading* page looks like the one in the picture below.
1726

usage/managing_datasets/using_remote_services.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this section you will learn how to add a new service and how to load resource
66

77
Let's try it!
88

9-
Click on the :guilabel:`Remote Services` link of the :guilabel:`Add Resource` menu in the navigation bar.
9+
Click on the :guilabel:`Remote Services` link of the :guilabel:`New` menu in the navigation bar.
1010

1111
.. figure:: img/remote_services_link.png
1212
:align: center

usage/managing_documents/document_info.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,22 @@ As soon as a document is opened, the **Info** panel is shown. It reports the doc
7979
*Document Info*
8080

8181

82-
Through the :guilabel:`View`, it should look as follows.
83-
button it is possible to visualize the metadata of the document
82+
83+
Selecting *View Metadata* from the :guilabel:`View` button it is possible to visualize the metadata of the document
8484

8585
.. figure:: img/view_metadata.png
8686
:align: center
87+
8788
*Document Metadata*
8889

89-
The :guilabel:`Share`, it should look as follows.
90-
link provides the document link to share.
90+
Under the :guilabel:`Resource` button, it is possible to select the *Share* option to provides the document link to share.
9191

9292
.. figure:: img/document_sharing.png
9393
:align: center
9494

9595
*Document Sharing*
9696

97-
If you want to download the document, click on the :guilabel:`Download`, it should look as follows.
98-
link in the menu and the document will be downloaded automatically.
97+
If you want to download the document, click on the :guilabel:`Download` button and the document will be downloaded automatically.
9998

10099
.. figure:: img/document_download.png
101100
:align: center
Loading
-6.42 KB
Loading
Loading
Loading
Loading
-8.32 KB
Loading
53.1 KB
Loading
Loading
-35.8 KB
Loading

usage/managing_documents/uploading_documents.rst

+11-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ GeoNode allows to share reports, conceptual notes, posters, spreadsheets, etc. A
77

88
.. warning:: Only authenticated users can upload data into GeoNode.
99

10-
*Documents* uploading is accessible by clicking *Create new* which displays a list including `upload document link`:
10+
It is possible to upload a *Documents* in two ways:
11+
12+
- From the :guilabel:`All Resources` page, by clicking *Add Resource* which displays a list including `Upload document` link:
1113

1214
.. figure:: img/upload_document_link.png
1315
:align: center
1416

15-
*Document Upload link*
17+
*Document Upload from All Resources page*
18+
19+
- From the :guilabel:`Documents` page, by clicking on *New* button.
20+
21+
.. figure:: img/upload_document.png
22+
:align: center
23+
24+
*Document Upload from Documents page*
1625

1726
The *Document Upload* page looks like the one shown in the picture below.
1827

usage/managing_maps/creating_maps.rst

+10-3
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,26 @@ In this section, we’ll create a *Map* using some uploaded datasets, combine th
77

88
In order to create new maps you can use:
99

10-
* The :guilabel:`Create map` listed after clicking the :guilabel:`Create new` link on the menu above the resources list page.
10+
* The :guilabel:`Create map` listed after clicking the :guilabel:`Add Resource` button on the *All Resources* list page.
1111

1212
.. figure:: img/create_map_link.png
1313
:align: center
1414

15-
*The Create Map link*
15+
*The Create Map from All Resources page*
16+
17+
- The :guilabel:`New` button after clicking the :guilabel:`Maps` button on the menu bar.
18+
19+
.. figure:: img/new_map_link.png
20+
:align: center
21+
22+
*The Create Map from Maps page*
1623

1724
* The :guilabel:`Create map` link in the *Dataset Page* (it creates a map using a specific dataset)
1825

1926
.. figure:: img/create_map_button.png
2027
:align: center
2128

22-
*The Create map link from dataset*
29+
*The Create map from dataset*
2330

2431
The new *Map* will open in a *Map Viewer* like the one in the picture below.
2532

31.2 KB
Loading
-52.2 KB
Loading
352 KB
Loading

0 commit comments

Comments
 (0)