deegree / deegree-ogcapi

OGC API implementations based on deegree
GNU Lesser General Public License v2.1
6 stars 5 forks source link

Fixes the use of storage CRS code from list of supported CRS #90

Closed stempler closed 1 year ago

stempler commented 1 year ago

...instead of the CRS name. If no match can be found for the storage CRS codes in the list of supported CRS, the first of the storage CRS codes is used.

This is done to if possible fulfill the requirement in the specification of OGC API Features Part 2, that the storage CRS shall be one of the identifiers of the supported CRS.

Since we can't determine for the storage CRS which code was initially used to specify it, we use the list of supported query CRS for deegree OAF as a way to determine the desired code, if possible. So with these changes to fulfill the requirement of the OGC spec you need to specify the desired code for the storage CRS as part of the supported query CRS.

Solves #89