Support #3347

DE: links.error.geoportal.proxy.service.download.validation.failed

Added by Anja Litka about 2 years ago. Updated about 1 year ago.

Status:FeedbackStart date:07 Aug 2018
Priority:NormalDue date:
Assignee:Angelo Quaglia% Done:

0%

Category:Validation outcome
Target version:-
Submitting Organisation:DE Knowledge-Base relevant?:No
Proactive:No Keyword #1:
Country:DE - Germany Keyword #2:
Originating UI:Resource Browser Keyword #3:

Description

Dear Angelo,

Related to this error message (it's only an example):

Inside subfeed with id:"http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=AD7D6EDC-CAF7-42FB-B7AC-0DDFDEBD154D&type=DATASET&generateFrom=dataurl", no Spatial Object Type has been declared

What is the resaon for this error, because I got a valid answer. Of course, you get a tif-file, instead of maybe expecte a e.g. gml-file. But you can load this file in a GIS - it's geolocated.

Thanks for your help.
Kind regards
 
Anja

History

#1 Updated by Angelo Quaglia about 2 years ago

  • Status changed from New to Assigned

#2 Updated by Angelo Quaglia about 2 years ago

  • Status changed from Assigned to Feedback

Dear Anja,

the message is not about the data file, it is about the subfeed.

In the subfeed there shall one or more "describedby" link(s) pointing to the URI of the Spatial Object Type(s) featured in the dataset

For example:

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2005/Atom http://inspire-geoportal.ec.europa.eu/schemas/inspire/atom/1.0/atom.xsd" xml:lang="en">
  <title>INSPIRE Dataset ATOM feed: INSPIRE - beschermde gebieden - Aanduidingsobjecten - Onroerend Erfgoed</title>
  <subtitle>INSPIRE Dataset ATOM feed: De aanduidingsobjecten laag van het Agentschap Onroerend Erfgoed is een verzamel laag van alle beschermde en vastgestelde erfgoed lagen. Hierin zitten erfgoed objecten waar juridische rechtsgevolgen aan gekoppeld zijn, zij het een bescherming of een vaststelling.</subtitle>
  <link href="http://inspire.ec.europa.eu/featureconcept/ProtectedSite" rel="describedby" type="text/html" />
  <link type="application/atom+xml" rel="self" hreflang="nl" title="INSPIRE Dataset ATOM feed: INSPIRE - beschermde gebieden - Aanduidingsobjecten - Onroerend Erfgoed" href="https://www.mercator.vlaanderen.be:443/zoekdienstenmercatorinspire/srv/atom/describe/dataset?spatial_dataset_identifier_code=bc03bda9-d7f7-4ecc-bed9-b61a4cd80ef&amp;spatial_dataset_identifier_namespace=MercatorNet-be&amp;language=nl" />
  <link rel="up" title="The parent service feed" type="application/atom+xml" hreflang="nl" href="https://www.mercator.vlaanderen.be:443/zoekdienstenmercatorinspire/srv/atom/describe/service?uuid=342995cd-66d0-4b52-bdb2-2f3d64384880&amp;language=nl" />
  <id>https://www.mercator.vlaanderen.be:443/zoekdienstenmercatorinspire/srv/atom/describe/dataset?spatial_dataset_identifier_code=bc03bda9-d7f7-4ecc-bed9-b61a4cd80ef&amp;spatial_dataset_identifier_namespace=MercatorNet-be&amp;language=nl</id>
  <rights>other constraints. unclassified.</rights>
  <updated>2018-05-23T18:43:51Z</updated>
  <author>
    <name>Agentschap Onroerend Erfgoed</name>
    <email>info@onroerenderfgoed.be</email>
  </author>
  <category term="http://www.opengis.net/def/crs/EPSG/0/" label="3035" />
  <category term="http://www.opengis.net/def/crs/EPSG/0/3035" label="ETRS89 / LAEA Europe" />
  <entry>
    <inspire_dls:spatial_dataset_identifier_code xmlns:inspire_dls="http://inspire.ec.europa.eu/schemas/inspire_dls/1.0">bc03bda9-d7f7-4ecc-bed9-b61a4cd80ef</inspire_dls:spatial_dataset_identifier_code>
    <inspire_dls:spatial_dataset_identifier_namespace xmlns:inspire_dls="http://inspire.ec.europa.eu/schemas/inspire_dls/1.0">MercatorNet-be</inspire_dls:spatial_dataset_identifier_namespace>
    <category term="http://www.opengis.net/def/crs/EPSG/0/3035" label="ETRS89 / LAEA Europe" />
    <id>https://www.mercator.vlaanderen.be/zoekdienstenmercatorinspire/srv/api/records/342995cd-66d0-4b52-bdb2-2f3d64384880/attachments/PS.ProtectedSites-aanduidingsobjecten.gml.zip</id>
    <link title="INSPIRE - beschermde gebieden - Aanduidingsobjecten - Onroerend Erfgoed in ETRS89 / LAEA Europe - Zipped GML files" rel="alternate" type="application/x-gmz" href="https://www.mercator.vlaanderen.be/zoekdienstenmercatorinspire/srv/api/records/342995cd-66d0-4b52-bdb2-2f3d64384880/attachments/PS.ProtectedSites-aanduidingsobjecten.gml.zip" hreflang="nl" length="34360915" />
    <title>INSPIRE - beschermde gebieden - Aanduidingsobjecten - Onroerend Erfgoed in ETRS89 / LAEA Europe - Zipped GML files</title>
    <updated>2018-05-23T18:43:51Z</updated>
    <georss:polygon xmlns:georss="http://www.georss.org/georss">50.67410 2.55651 51.49570 2.55651 51.49570 5.92000 50.67410 5.92000 50.67410 2.55651</georss:polygon>
  </entry>
</feed>

 

For some reason the INSPIRE Geoportal is not finding/recognising it in your subfeed.

If you give me the URL I will be able to tell you more.

Best regards,

Angelo

#4 Updated by Angelo Quaglia about 2 years ago

Dear Anja,

sorry, I forgot to save my answer, yesterday.

Here it is:

Inside the dataset subfeed both "describedby" links look wrong because they seem to point to the dataset metadata or the dataset description.
That information needs to be put in the service top feed, inside each entry.
In fact, each entry in the service top feed represents a dataset, so the metadata of the datataset must be put there, i.e. in the corresponding entry of the service top feed:
/feed/entry/link[@rel="describedby"]    ===> link to the dataset meatdata

In the dataset feed, Instead of the links currently present, the INSPIRE Geoportal expects someting like:
<link href="http://inspire.ec.europa.eu/featureconcept/ProtectedSite" rel="describedby" type="text/html" />


<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:lang="de">
  <title>INSPIRE Datensatz Feed für Bebauungsplan "Festplatz-Im Kircheneck"</title>
  <subtitle>INSPIRE Download Service von: Zentrale Stelle GDI-SL zur Bereitstellung des Datensatzes: Bebauungsplan "Festplatz-Im Kircheneck"</subtitle>
  <link href="http://geoportal.saarland.de/mapbender/php/mod_dataISOMetadata.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&amp;outputFormat=iso19139" rel="describedby" type="application/xml"/>
  <link href="http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&amp;type=DATASET&amp;generateFrom=dataurl" rel="self" type="application/atom+xml" hreflang="de" title="Selbstreferenz"/>
  <link href="http://geoportal.saarland.de/mapbender/php/mod_showMetadata.php?languageCode=de&amp;resource=layer&amp;layout=tabs&amp;id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92" rel="describedby" type="text/html" hreflang="de" title="Nähere Beschreibung des Datensatzes"/>
  <id>http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&amp;type=DATASET&amp;generateFrom=dataurl</id>
  <rights>Saemtliche Rechte an diesem Dienst liegen bei der Gemeinde Spiesen-Elversberg.</rights>
  <updated>2018-08-07T14:12:22+02:00</updated>
  <author>
    <name>Zentrale Stelle GDI-SL</name>
    <email>gdi-sl@lvgl.saarland.de</email>
  </author>
  <entry>
    <title>Bebauungsplan "Festplatz-Im Kircheneck" - generiert aus WMS Capabilities dataURL Element im CRS EPSG: DHDN / Gauss-Krüger Zone 2 und Format </title>
    <link rel="alternate" href="http://geoportal.saarland.de/bplan/Spiesen-Elversberg/BBPL_Download/Festplatz_Im_Kircheneck.tif" type="image/tiff" hreflang="de" title="Bebauungsplan &quot;Festplatz-Im Kircheneck&quot; im CRS EPSG: DHDN / Gauss-Krüger Zone 2()"/>
    <id>http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&amp;type=DATASET&amp;generateFrom=dataurl</id>
    <rights>Saemtliche Rechte an diesem Dienst liegen bei der Gemeinde Spiesen-Elversberg.</rights>
    <updated>2018-08-07T14:12:22+02:00</updated>
    <georss:polygon>49.2953071594238 7.10763311386108 49.3252182006836 7.10763311386108 49.3252182006836 7.18887901306152 49.2953071594238 7.18887901306152 49.2953071594238 7.10763311386108</georss:polygon>
    <category term="http://www.opengis.net/def/crs/EPSG/ DHDN / Gauss-Krüger Zone 2" label="EPSG/0/ DHDN / Gauss-Krüger Zone 2"/>
  </entry>
</feed>

 

Best regards,
Angelo

#5 Updated by Armin Retterath about 2 years ago

hi together,

i altered the atom feed generator a little bit so that the metadata records are not longer referenced by the describedby link.

in case of wfs datasources the describefeaturetype url is used now. TBD: reference the INSPIRE Spatial Object Type definitions in case of publishing conformant datasets ;-) .

 

http://www.geoportal.rlp.de/mapbender/php/mod_inspireDownloadFeed.php?id=89c9b1c7-2a24-f75f-c430-0dc588a4bf6c&type=DATASET&generateFrom=wfs&wfsid=226

 

best regards,

armin

#6 Updated by Angelo Quaglia about 2 years ago

Hi Armin,

that's perfect:

5.2.1 Dataset Feed: „link‟ element: link to Spatial Object descriptions
For each Spatial Object Type in the dataset Atom links shall be provided to the corresponding Spatial Object Type definition in the INSPIRE registry. Where a dataset is not an interoperable format described by the Data Specifications then a local scheme should be used to identify the spatial object type. These links shall use the ‗describedby‘ relation type and the appropriate media type for the resource. For definitions in the INSPIRE registry the media type shall be ―text/html‖.

I will adapt the code so that the Geoportal, if a link to the Spatial Object Type is not recognised, it will try to validate the xml schema as it happens in the WFS.

Best regards,

Angelo

 

#7 Updated by Anja Litka about 1 year ago

Dear Angelo,

related to the mentioned record (https://gdk.gdi-de.org/gdi-de/srv/eng/xml_iso19139?uuid=bd7b66e8-4580-0001-8352-E05C7CA76F92)

= The above problem is still there, but on the INSPIRE Geoportal the linkage to the download service are generated:

The error message on the Resource Browser is still for the download service::

= Inside subfeed with id:"http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&type=DATASET&generateFrom=dataurl", no Spatial Object Type has been declared

Could you help me to understand and/or solve this issues, please?

Thanks and best regards,

Anja

#8 Updated by Angelo Quaglia about 1 year ago

  • Knowledge-Base relevant? set to No

Dear Anja,

for the subfeed you mention, the INSPIRE Geoportal is helpless because the describedby link does not point to an xml schema but to a Google search:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:lang="de">
  <title>INSPIRE Datensatz Feed für Bebauungsplan "Festplatz-Im Kircheneck"</title>
  <subtitle>INSPIRE Download Service von: Zentrale Stelle GDI-SL zur Bereitstellung des Datensatzes: Bebauungsplan "Festplatz-Im Kircheneck"</subtitle>
  <link href="https://www.google.com/search?q=+spatial" rel="describedby" type="text/html"/>
  <link href="http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=02DAF0E7-FD01-42F7-8352-E05C7CA76F92&amp;type=DATASET&amp;generateFrom=dataurl" rel="self" type="application/atom+xml" hreflang="de" title="Selbstreferenz"/>

 

However, the INSPIRE Geoportal builds/accepts the download link even though the object type scheme is not recognised.

Best regards,

Angelo

Also available in: Atom PDF