You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration is done with URI formats like http://www.opengis.net/def/crs/OGC/1.3/CRS84.
67
+
Both `URI` and `URN` CRS notation format are supported.
68
+
The `EPSG:` format like EPSG:4326 is outside the scope of the OGC standard.
69
+
77
70
78
71
Metadata
79
72
--------
80
73
81
-
The conformance class `http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs` is present as a `conformsTo` field
82
-
in the root landing page response.
74
+
The conformance class http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs is
75
+
present as a `conformsTo` field in the root landing page response.
83
76
84
77
The configured CRSs, or their defaults, `crs` and `storageCrs` and optionally `storageCrsCoordinateEpoch` will be present in the "Describe Collection" response.
85
78
79
+
.. note::
80
+
If the storage CRS of the spatial feature collection is a dynamic coordinate reference system,
81
+
`storage_crs_coordinate_epoch` configures the coordinate epoch of the coordinates.
82
+
83
+
.. note::
84
+
There is also support for CRSs that support height like `http://www.opengis.net/def/crs/OGC/1.3/CRS84h`. In that case
85
+
bbox parameters (see below) may contain 6 coordinates.
86
+
86
87
Parameters
87
88
----------
88
89
89
90
The `items` query supports the following parameters:
90
91
91
-
* `crs` - the CRS in which Features coordinates should be returned, also for the 'get single item' request
92
-
* `bbox-crs` - the CRS of the `bbox` parameter (only for Providers that support the `bbox` parameter)
92
+
* ``crs`` - the CRS in which Features coordinates should be returned, also for the 'get single item' request
93
+
* ``bbox-crs`` - the CRS of the `bbox` parameter (for Providers that support the `bbox` parameter)
94
+
* ``filter-crs`` - the CRS of the CQL filter expression (for Providers that support `CQL` filters)
93
95
94
96
If any or both of these parameters are specified, their CRS-value should be from the advertised CRS-list in the Collection metadata (see above).
95
97
@@ -106,19 +108,26 @@ Implementation
106
108
CRS and BBOX CRS support is implemented for all Feature Providers.
107
109
Some details may help understanding (performance) implications.
108
110
109
-
BBOX CRS Parameter
111
+
bbox-crs Parameter
110
112
^^^^^^^^^^^^^^^^^^
111
113
112
-
The `bbox-crs` parameter is handled at the common level of pygeoapi, thus transparent for Feature Providers.
113
-
Obviously the Provider should support `bbox`.
114
-
A transformation of the `bbox` parameter is performed
114
+
The ``bbox-crs`` parameter is handled at the common level of pygeoapi.
115
+
A transformation of the request `bbox` parameter is performed
115
116
according to the `storage_crs` configuration. Then the (transformed) `bbox` is passed with the
116
117
other query parameters to the Provider instance.
117
118
118
-
CRS Parameter
119
+
filter-crs Parameter
120
+
^^^^^^^^^^^^^^^^^^^^
121
+
122
+
The ``filter-crs`` parameter is handled at the common level of pygeoapi.
123
+
A transformation of the request `CQL` filter is performed
124
+
according to the `storage_crs` configuration. Then the (transformed) `filter` is passed with the
125
+
other query parameters to the Provider instance.
126
+
127
+
crs Parameter
119
128
^^^^^^^^^^^^^
120
129
121
-
When the value of the `crs` parameter differs from the Provider data Storage CRS, the response Feature coordinates
130
+
When the value of the ``crs`` parameter differs from the Provider data Storage CRS, the response Feature coordinates
122
131
need to be transformed to that CRS. As some Feature Providers like PostgreSQL or OGR may support native
123
132
coordinate transformation, pygeoapi delegates transformation to those Providers, passing the `crs` with the other query parameters.
124
133
@@ -297,7 +306,7 @@ Or you may specify both `crs` and `bbox-crs` and thus `bbox` in that CRS `http:/
0 commit comments