diff --git a/docs/source/crs.rst b/docs/source/crs.rst index d2abc463a..5c299b854 100644 --- a/docs/source/crs.rst +++ b/docs/source/crs.rst @@ -30,7 +30,7 @@ Metadata The conformance class `http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs` is present as a `conformsTo` field in the root landing page response. -The configured CRSs, or their defaults, `crs` and `storageCRS` and optionally `storageCrsCoordinateEpoch` will be present in the "Describe Collection" response. +The configured CRSs, or their defaults, `crs` and `storageCrs` and optionally `storageCrsCoordinateEpoch` will be present in the "Describe Collection" response. Parameters ---------- @@ -95,7 +95,7 @@ Suppose an addresses collection with the following CRS support in its collection "http://www.opengis.net/def/crs/EPSG/0/28992", "http://www.opengis.net/def/crs/OGC/1.3/CRS84" ], - "storageCRS": "http://www.opengis.net/def/crs/OGC/1.3/CRS84" + "storageCrs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84" This allows a `bbox-crs` query using Dutch "RD" coordinates with CRS `http://www.opengis.net/def/crs/EPSG/0/28992` to retrieve diff --git a/pygeoapi/api/__init__.py b/pygeoapi/api/__init__.py index 6466cbf04..1d82c340b 100644 --- a/pygeoapi/api/__init__.py +++ b/pygeoapi/api/__init__.py @@ -657,7 +657,7 @@ def _create_crs_transform_spec( if not query_crs_uri: if storage_crs_uri in DEFAULT_CRS_LIST: - # Could be that storageCRS is + # Could be that storageCrs is # http://www.opengis.net/def/crs/OGC/1.3/CRS84h query_crs_uri = storage_crs_uri else: @@ -714,7 +714,7 @@ def _set_content_crs_header( # If empty use default CRS storage_crs_uri = config.get('storage_crs', DEFAULT_STORAGE_CRS) if storage_crs_uri in DEFAULT_CRS_LIST: - # Could be that storageCRS is one of the defaults like + # Could be that storageCrs is one of the defaults like # http://www.opengis.net/def/crs/OGC/1.3/CRS84h content_crs_uri = storage_crs_uri else: @@ -1136,7 +1136,7 @@ def describe_collections(api: API, request: APIRequest, # OAPIF Part 2 - list supported CRSs and StorageCRS if collection_data_type in ['edr', 'feature']: collection['crs'] = get_supported_crs_list(collection_data, DEFAULT_CRS_LIST) # noqa - collection['storageCRS'] = collection_data.get('storage_crs', DEFAULT_STORAGE_CRS) # noqa + collection['storageCrs'] = collection_data.get('storage_crs', DEFAULT_STORAGE_CRS) # noqa if 'storage_crs_coordinate_epoch' in collection_data: collection['storageCrsCoordinateEpoch'] = collection_data.get('storage_crs_coordinate_epoch') # noqa diff --git a/pygeoapi/api/itemtypes.py b/pygeoapi/api/itemtypes.py index 979fcd390..cd14d7892 100644 --- a/pygeoapi/api/itemtypes.py +++ b/pygeoapi/api/itemtypes.py @@ -399,8 +399,8 @@ def get_collection_items( # bbox but no bbox-crs param: assume bbox is in default CRS bbox_crs = DEFAULT_CRS - # Transform bbox to storageCRS - # when bbox-crs different from storageCRS. + # Transform bbox to storageCrs + # when bbox-crs different from storageCrs. if len(bbox) > 0: try: # Get a pyproj CRS instance for the Collection's Storage CRS @@ -1008,7 +1008,7 @@ def create_crs_transform_spec( if not query_crs_uri: if storage_crs_uri in DEFAULT_CRS_LIST: - # Could be that storageCRS is + # Could be that storageCrs is # http://www.opengis.net/def/crs/OGC/1.3/CRS84h query_crs_uri = storage_crs_uri else: @@ -1065,7 +1065,7 @@ def set_content_crs_header( # If empty use default CRS storage_crs_uri = config.get('storage_crs', DEFAULT_STORAGE_CRS) if storage_crs_uri in DEFAULT_CRS_LIST: - # Could be that storageCRS is one of the defaults like + # Could be that storageCrs is one of the defaults like # http://www.opengis.net/def/crs/OGC/1.3/CRS84h content_crs_uri = storage_crs_uri else: diff --git a/pygeoapi/templates/collections/collection.html b/pygeoapi/templates/collections/collection.html index 65bac7b33..aa128a53f 100644 --- a/pygeoapi/templates/collections/collection.html +++ b/pygeoapi/templates/collections/collection.html @@ -125,7 +125,7 @@

{% trans %}Reference Systems{% endtrans %}

{% trans %}Storage CRS{% endtrans %}