[Oskari-user] Error when adding a layer to Oskari
Mäkinen Sami (MML)
sami.makinen at maanmittauslaitos.fi
Thu Aug 9 01:41:40 PDT 2018
Hi,
After a bit of debugging it looks like the service is not standard compliant. The error message resulted from GeoTools failing to parse the WFS-service capabilities document even though the message shown to user mentioned that metadata parsing failed. So there's some room for improvement on the error handling in Oskari regarding this as well. This part from the capabilities couldn't be parsed:
<ogc:Filter_Capabilities>
<ogc:Spatial_Capabilities>
<ogc:Spatial_Operators/>
</ogc:Spatial_Capabilities>
<ogc:Scalar_Capabilities>
<ogc:Logical_Operators/>
<ogc:Comparison_Operators>
<ogc:Simple_Comparisons/>
<ogc:PropertyIsEqualTo/>
</ogc:Comparison_Operators>
</ogc:Scalar_Capabilities>
</ogc:Filter_Capabilities>
Sami
Lähettäjä: Ryyppö, Minna [mailto:minna.ryyppo at museovirasto.fi]
Lähetetty: 8. elokuuta 2018 11:48
Vastaanottaja: Mäkinen Sami (MML) <sami.makinen at maanmittauslaitos.fi>; oskari-user at lists.osgeo.org
Aihe: VS: Error when adding a layer to Oskari
Hello,
Thanks a lot for the answer! I'll send you some details.
Minna
Lähettäjä: Mäkinen Sami (MML) [mailto:sami.makinen at maanmittauslaitos.fi]
Lähetetty: keskiviikko 8. elokuuta 2018 11.45
Vastaanottaja: Ryyppö, Minna <minna.ryyppo at museovirasto.fi<mailto:minna.ryyppo at museovirasto.fi>>; oskari-user at lists.osgeo.org<mailto:oskari-user at lists.osgeo.org>
Aihe: VS: Error when adding a layer to Oskari
Hi Minna,
The message tells that the metadata referenced in the layer capabilities response can't be found from the catalogue/CSW-service (for example paikkatietohakemisto.fi) configured to be used in the Oskari instance or the catalogue service connection might be misconfigured. It shouldn't prevent the layer from being registered though. There should be an error message in the server log with the details. It's also possible that some random error occurs and the error is just handled like the metadata fetching failed.
If you can send the server log from the time that the layer has been registered to Oskari I can take a look at it. Or the details of the layer if it's accessible from the internet so I can try registering the layer on my instance.
Sami
Lähettäjä: Oskari-user [mailto:oskari-user-bounces at lists.osgeo.org] Puolesta Ryyppö, Minna
Lähetetty: 8. elokuuta 2018 8:45
Vastaanottaja: oskari-user at lists.osgeo.org<mailto:oskari-user at lists.osgeo.org>
Aihe: [Oskari-user] Error when adding a layer to Oskari
Hello dear Oskari-people,
I am having trouble when adding a wfs service to Oskari and I was wondering if anyone on this list has faced the same problem and could give some good tips what to do!
I have a wfs which works fine with QGis and in a browser but when I try to add it to our Oskari-application I keep getting an error message "Metatietoja ei voitu hakea". There are not any scandi letters in layer names and also wfs version, coordinate system and protocol definitions seem to be correct.
Does anyone have any ideas what could be the problem..? I'm grateful for any help!
with kind regards,
Minna Ryyppö
Geoinformation Specialist
Archives and Information Services,
Knowledge Management
Finnish Heritage Agency
PL 913, 00101 Helsinki
p. 0295 33 6253
minna.ryyppo at museovirasto.fi<mailto:minna.ryyppo at museovirasto.fi>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20180809/76c19181/attachment.html>
More information about the Oskari-user
mailing list