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

Lines changed: 70 additions & 4 deletions
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

Lines changed: 9 additions & 4 deletions
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

Lines changed: 27 additions & 13 deletions
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

Lines changed: 2 additions & 2 deletions
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

0 commit comments

Comments
 (0)