EOX GitLab Instance

Skip to content
Snippets Groups Projects
Verified Commit 40feb860 authored by Stephan's avatar Stephan
Browse files

First setup of structure.

parent 5682848c
No related branches found
No related tags found
1 merge request!8Docs
Showing
with 439 additions and 1 deletion
...@@ -150,7 +150,7 @@ see new service in #7 ...@@ -150,7 +150,7 @@ see new service in #7
* provides external service for OpenSearch, WMS, & WCS * provides external service for OpenSearch, WMS, & WCS
* renders WMS requests received from cache or seeder * renders WMS requests received from cache or seeder
## TODO: ELK stack ### TODO: ELK stack
see #9 see #9
...@@ -201,4 +201,23 @@ docker exec -it $(docker ps -qf "name=emg-pvs_renderer") python3 /var/www/pvs/de ...@@ -201,4 +201,23 @@ docker exec -it $(docker ps -qf "name=emg-pvs_renderer") python3 /var/www/pvs/de
docker exec -it $(docker ps -qf "name=emg-pvs_renderer") mv Emergency.sqlite /cache-db/emg_mapcache_cache.sqlite docker exec -it $(docker ps -qf "name=emg-pvs_renderer") mv Emergency.sqlite /cache-db/emg_mapcache_cache.sqlite
``` ```
# Documentation
## Installation
```bash
python3 -m pip install spinx recommonmark
```
## Generation
```bash
make html
# For pdf output run:
make latex
make latexpdf
```
The documentation is generated in the respective *_build/html* directory.
/*/_build/*
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
# -- Project information -----------------------------------------------------
project = u'View Server - Operations Guide'
copyright = u'2019, 2020, EOX IT Services GmbH'
author = u'EOX IT Services GmbH'
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'recommonmark',
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
latex_documents = [(
'index',
'View-Server.tex',
u'View Server - Usage Guide',
u'EOX IT Services GmbH \\and Fabian Schindler \\and Lubomir Bucek \\and \
Mussab Abdalla \\and Stephan Meißl',
'manual',
True
)]
latex_elements = {
'papersize': 'a4paper',
}
.. _contents:
View Server - Operations Guide
==============================
.. toctree::
:maxdepth: 2
:caption: Contents
intro
operations-guide
..
Indices and tables
==================
.. only:: builder_html
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. * :ref:`glossary`
.. only:: not builder_html
* :ref:`modindex`
-- * :ref:`glossary`
# Introduction
operator
TODO
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
# Operations Guide
TODO
## Admin
* https://vhr18.pdas.prism.eox.at/admin
* https://emg.pdas.prism.eox.at/admin
* https://traefik.pdas.prism.eox.at/dashboard/
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
# -- Project information -----------------------------------------------------
project = u'View Server - Usage Guide'
copyright = u'2019, 2020, EOX IT Services GmbH'
author = u'EOX IT Services GmbH'
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'recommonmark',
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
latex_documents = [(
'index',
'View-Server.tex',
u'View Server - Usage Guide',
u'EOX IT Services GmbH \\and Fabian Schindler \\and Lubomir Bucek \\and \
Mussab Abdalla \\and Stephan Meißl',
'manual',
True
)]
latex_elements = {
'papersize': 'a4paper',
}
# Downloading
documentation/usage-guide/images/client_start.png

2.07 MiB

.. _contents:
View Server - Usage Guide
=========================
.. toctree::
:maxdepth: 2
:caption: Contents
intro
web-client
searching
viewing
downloading
sample-requests
..
Indices and tables
==================
.. only:: builder_html
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. * :ref:`glossary`
.. only:: not builder_html
* :ref:`modindex`
-- * :ref:`glossary`
# Introduction
This is the Usage Guide of the View Server (VS). The intended readers are users
of the web client and external services provided by the View Server.
These provided external services are services for searching, viewing, and
downloading of Earth Observation (EO) data. Services optimized for performance
as well as for flexibility are provided alongside each other.
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
# Sample Service Requests
some live samples.
login needed
## Client
TODO entry page listing collections at
* https://pdas.prism.eox.at
* https://pass.copernicus.eu
* https://vhr18.pdas.prism.eox.at
* https://emg.pdas.prism.eox.at
* https://vhr18.pass.copernicus.eu
* https://emg.pass.copernicus.eu
## Cache
### WMTS
* https://vhr18.pdas.prism.eox.at/cache/ows/wmts/1.0.0/WMTSCapabilities.xml
* https://vhr18.pdas.prism.eox.at/cache/ows/wmts/1.0.0/VHR_IMAGE_2018__TRUE_COLOR/default/2018-06-01T00%3A00%3A00Z--2018-07-01T00%3A00%3A00Z/WGS84/11/524/2224.xxx
* https://vhr18.pdas.prism.eox.at/cache/ows/wmts/1.0.0/VHR_IMAGE_2018__FALSE_COLOR/default/2018-06-01T00%3A00%3A00Z--2018-07-01T00%3A00%3A00Z/WGS84/11/524/2224.xxx
* https://vhr18.pdas.prism.eox.at/cache/ows/wmts/1.0.0/VHR_IMAGE_2018__NDVI/default/2018-06-01T00%3A00%3A00Z--2018-07-01T00%3A00%3A00Z/WGS84/11/524/2224.xxx
### WMS
* https://vhr18.pdas.prism.eox.at/cache/ows?service=wms&request=getcapabilities
* https://vhr18.pdas.prism.eox.at/cache/ows?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=VHR_IMAGE_2018__TRUE_COLOR&STYLES=&time=2018-06-01T00%3A00%3A00Z%2F2018-07-01T00%3A00%3A00Z&WIDTH=256&HEIGHT=256&SRS=EPSG%3A4326&BBOX=15.46875%2C43.857421875%2C15.556640625%2C43.9453125
## Renderer
### OpenSearch
* 1st step OSDD https://vhr18.pdas.prism.eox.at/opensearch
* 1st step search for collections https://vhr18.pdas.prism.eox.at/opensearch/atom/
* 2nd step OSDD https://vhr18.pdas.prism.eox.at/opensearch/collections/VHR_IMAGE_2018/
* 2nd step search https://vhr18.pdas.prism.eox.at/opensearch/collections/VHR_IMAGE_2018/atom/
* For one product https://vhr18.pdas.prism.eox.at/opensearch/collections/VHR_IMAGE_2018/atom/?uid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7
### WMS
#### Capabilities
* https://vhr18.pdas.prism.eox.at/ows?service=wms&request=getcapabilities
* Limited to one product https://vhr18.pdas.prism.eox.at/ows?service=wms&request=GetCapabilities&cql=identifier='urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7'
#### GetMap
* Quicklook https://vhr18.pdas.prism.eox.at/ows?service=WMS&version=1.3.0&request=GetMap&layers=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7&format=image/png&TRANSPARENT=true&width=463&height=500&CRS=EPSG:4326&STYLES=&BBOX=47.297788,25.978201,47.372606,26.047511
* False color https://vhr18.pdas.prism.eox.at/ows?service=WMS&version=1.3.0&request=GetMap&layers=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__FALSE_COLOR&format=image/png&TRANSPARENT=true&width=463&height=500&CRS=EPSG:4326&STYLES=&BBOX=47.297788,25.978201,47.372606,26.047511
* NDVI including style https://vhr18.pdas.prism.eox.at/ows?service=WMS&version=1.3.0&request=GetMap&layers=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__NDVI&format=image/png&TRANSPARENT=true&width=463&height=500&CRS=EPSG:4326&STYLES=coolwarm&BBOX=47.297788,25.978201,47.372606,26.047511
* Custom color stretch https://vhr18.pdas.prism.eox.at/ows?service=WMS&version=1.3.0&request=GetMap&layers=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7&format=image/png&TRANSPARENT=true&width=463&height=500&CRS=EPSG:4326&STYLES=&BBOX=47.297788,25.978201,47.372606,26.047511&dim_range=1000%205000
* CQL filtering on Cloud Coverage https://vhr18.pdas.prism.eox.at/ows?service=WMS&version=1.3.0&request=GetMap&layers=VHR_IMAGE_2018&format=image/png&TRANSPARENT=true&width=392&height=500&CRS=EPSG:4326&STYLES=&BBOX=44.196369,14.849791,44.554918,15.131223&cql=cloudCover%3C1
* Clouds mask validity https://vhr18.pdas.prism.eox.at/ows?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=VHR_IMAGE_2018__validity&STYLES=&time=2017-04-14T13%3A49%3A45Z%2F2018-09-05T00%3A00%3A00Z&WIDTH=256&HEIGHT=256&SRS=EPSG%3A4326&BBOX=15.78727912902832,43.005756378173835,16.976377487182617,44.05855560302735
* Clouds masked https://vhr18.pdas.prism.eox.at/ows?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=VHR_IMAGE_2018__masked_validity&STYLES=&time=2017-04-14T13%3A49%3A45Z%2F2018-09-05T00%3A00%3A00Z&WIDTH=256&HEIGHT=256&SRS=EPSG%3A4326&BBOX=15.78727912902832,43.005756378173835,16.976377487182617,44.05855560302735
### WCS
#### Capabilities
* https://vhr18.pdas.prism.eox.at/ows?service=wcs&request=getcapabilities
#### Coverage Description
* https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=DescribeEOCoverageSet&eoId=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7
* https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=DescribeCoverage&coverageId=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage
#### Coverage
* Full in default format, projection, etc. https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageId=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage
* Spatial subset https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage&subset=long(26.004538536944892,26.016211510577705)&subset=lat(47.326254844665534,47.33495235268493)&subsettingCRS=http://www.opengis.net/def/crs/EPSG/0/4326
* Range subset https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage&rangesubset=nir
* Scale down https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage&scaleFactor=0.1
* Format, interpolation https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage&format=image/jp2&interpolation=http://www.opengis.net/def/interpolation/OGC/1/nearest-neighbour
* Projection https://vhr18.pdas.prism.eox.at/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageid=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7__coverage&outputCRS=http://www.opengis.net/def/crs/EPSG/0/4326
## DSEO
* https://vhr18.pdas.prism.eox.at/ows?service=DSEO&version=1.0.0&request=GetProduct&ProductURI=urn:eop:DOVE:MULTISPECTRAL_4m:20180811_081455_1054_3be7
# Searching
# Viewing
# Web Client
using via GUI
![Web Client at Start](images/client_start.* "Web Client at Start")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment