Skip to content

Lack of standardization for collection metadata response with application/xml media type #58

@rouault

Description

@rouault

As far as I can see in the spec, there's no XML schema defined for the collection metadata response with application/xml metadata type

For example,
$ curl -s -H "Accept: application/xml" "https://www.ldproxy.nrw.de/kataster" | xmllint --format -

returns

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wfs:Collections xmlns:wfs="http://www.opengis.net/wfs/3.0">
  <wfs:Collection>
    <wfs:name>flurstueck</wfs:name>
    <wfs:title>Flurstück</wfs:title>
    <wfs:extent>
      <wfs:bbox>5.61272621360749</wfs:bbox>
      <wfs:bbox>50.2373512077239</wfs:bbox>
      <wfs:bbox>9.58963433710139</wfs:bbox>
      <wfs:bbox>52.5286304537795</wfs:bbox>
    </wfs:extent>
  </wfs:Collection>
  <wfs:Collection>
    <wfs:name>gebaeudebauwerk</wfs:name>
    <wfs:title>Gebäude, Bauwerk</wfs:title>
    <wfs:extent>
      <wfs:bbox>5.61272621360749</wfs:bbox>
      <wfs:bbox>50.2373512077239</wfs:bbox>
      <wfs:bbox>9.58963433710139</wfs:bbox>
      <wfs:bbox>52.5286304537795</wfs:bbox>
    </wfs:extent>
  </wfs:Collection>
  <wfs:Collection>
    <wfs:name>verwaltungseinheit</wfs:name>
    <wfs:title>Verwaltungseinheit</wfs:title>
    <wfs:extent>
      <wfs:bbox>5.61272621360749</wfs:bbox>
      <wfs:bbox>50.2373512077239</wfs:bbox>
      <wfs:bbox>9.58963433710139</wfs:bbox>
      <wfs:bbox>52.5286304537795</wfs:bbox>
    </wfs:extent>
  </wfs:Collection>
</wfs:Collections>

but it is not immediately obvious that this is howl https://github.com/opengeospatial/WFS_FES/blob/master/core/openapi/schemas/content.yaml should be encoded in XML

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions