From c45fb78223a41ee0ca349c440c5c169177b7691a Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Thu, 18 May 2023 09:07:54 -0400 Subject: [PATCH] Remove duplicate CRS configuration in docs (#1249) - Deduplicate crs configuration in docs - Move advanced provider configuration to end of example --- docs/source/configuration.rst | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index ba35d38db..334a1f06e 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -189,36 +189,30 @@ default. - type: feature # underlying data geospatial type: (allowed values are: feature, coverage, record, tile, edr) default: true # optional: if not specified, the first provider definition is considered the default name: CSV - # transactions: DO NOT ACTIVATE unless you have setup access control beyond pygeoapi - editable: true # optional: if backend is writable, default is false data: tests/data/obs.csv # required: the data filesystem path or URL, depending on plugin setup id_field: id # required for vector data, the field corresponding to the ID uri_field: uri # optional field corresponding to the Uniform Resource Identifier (see Linked Data section) time_field: datetimestamp # optional field corresponding to the temporal property of the dataset title_field: foo # optional field of which property to display as title/label on HTML pages - crs: # optional: supported CRSs for parameters 'crs' and 'bbox-crs' (OGC OAPIF Part 2) - # default: http://www.opengis.net/def/crs/OGC/1.3/CRS84 - - http://www.opengis.net/def/crs/EPSG/0/4326 - - http://www.opengis.net/def/crs/EPSG/0/3857 - - http://www.opengis.net/def/crs/EPSG/0/28992 - storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 # optional CRS in which data is stored, default: as 'crs' field - storage_crs_coordinate_epoch: : 2017.23 # optional, if storage_crs is a dynamic coordinate reference system - format: # optional default format - name: GeoJSON # required: format name - mimetype: application/json # required: format mimetype - options: # optional options to pass to provider (i.e. GDAL creation) - option_name: option_value properties: # optional: only return the following properties, in order - stn_id - value + # editable transactions: DO NOT ACTIVATE unless you have setup access control beyond pygeoapi + editable: true # optional: if backend is writable, default is false # coordinate reference systems (CRS) section is optional # default CRSs are http://www.opengis.net/def/crs/OGC/1.3/CRS84 (coordinates without height) # and http://www.opengis.net/def/crs/OGC/1.3/CRS84h (coordinates with ellipsoidal height) - storage_crs: http://www.opengis.net/def/crs/EPSG/0/28992 # CRS of the dataset to publish - crs: # supported coordinate reference systems (CRS) for 'crs' query parameter + crs: # supported coordinate reference systems (CRS) for 'crs' and 'bbox-crs' query parameters - http://www.opengis.net/def/crs/EPSG/0/28992 - http://www.opengis.net/def/crs/OGC/1.3/CRS84 - http://www.opengis.net/def/crs/EPSG/0/4326 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 # optional CRS in which data is stored, default: as 'crs' field + storage_crs_coordinate_epoch: : 2017.23 # optional, if storage_crs is a dynamic coordinate reference system + format: # optional default format + name: GeoJSON # required: format name + mimetype: application/json # required: format mimetype + options: # optional options to pass to provider (i.e. GDAL creation) + option_name: option_value hello-world: # name of process type: collection # REQUIRED (collection, process, or stac-collection)