[Mstn 2023] WFS error

Most of my attempts to connect to various WFS services fails with different error messages.

Here is an example from open data stockholm where I actually was able to create the connection:

openstreetgs.stockholm.se/.../wfs

(I have removed the API-key. Contact me if you need to test)

When trying to query I get the following error:

Using the url without specifying typename

https://openstreetgs.stockholm.se/geoservice/api/823cc3a5-2c0c-4aaf-8340-807615e27f62/wfs?

fails with the following:

Here is another example:

https://geodata.scb.se/geoserver/stat/DeSO.2018/ows

Here I can also connect but nothing is displayed.

Trying the same url:s in QGIS works fine.

Testfile:

Sverige_Sweref1800.dgn

Regards,

Krister

Parents Reply Children
  • Hi,

    Thanks! It did work just fine.

    I hope you will make this more flexible in regards of what url it will accept.

    Both examples are the urls published by the service providers for use with their services and also, as I explained, QGIS have no problem with almost anything you through at it.

    Regards,

    Krister

    Owner consultant at Surell Consulting AB

  • This fix seems to have stopped working in 2023.2 (2023.00.02.71)

    Now I get the following error message when using:

    https://openstreetgs.stockholm.se/geoservice/api/823cc3a5-2c0c-4aaf-8340-807615e27f62/wfs?service=WFS&version=1.0.0&request=GetFeature&typename=od_gis:Cykelparkering_Punkt

    WFS Service encountered the following issue:
    Failed to set property TYPENAME in request object using value [[{http://www.astando.se/ltfr}LTFR_BOENDE_BAGARM, {http://www.astando.se/od_gis}Belysningsmontage_Punkt, {http://www.astando.se/od_gis}Belysningsmontage, {http://www.astando.se/ltfr}LTFR_BOENDE, {http://www.astando.se/od_gis}Bom, {http://www.astando.se/ltfr}LTFR_BOENDE_CITY, {http://www.astando.se/od_gis}CityBikes_Punkt, {http://www.astando.se/od_gis}CityBikes, {http://www.astando.se/od_gis}Cykelparkering_Punkt, {http://www.astando.se/od_gis}Cykelparkering, {http://www.astando.se/od_gis}Cykelplan, {http://www.astando.se/od_gis}Cykelplan_Linje, {http://www.astando.se/od_gis}Cykelpump_Punkt, {http://www.astando.se/od_gis}Cykelpump, {http://www.astando.se/od_gis}Cykelraknare, {http://www.astando.se/od_gis}Cykelstrak, {http://www.astando.se/od_gis}Cykelstrak_Linje, {http://www.astando.se/ltfr}LTFR_BOENDE_EKHAGE, {http://www.astando.se/od_gis}Elsparkcykelplats, {http://www.astando.se/od_gis}Elsparkcykelplats_Yta, {http://www.astando.se/ltfr}LTFR_BOENDE_ENSKED, {http://www.astando.se/ltfr}LTFR_FORESKRIFT_GEOM, {http://www.astando.se/ltfr}LTFR_FORESKRIFT, {http://www.astando.se/ltfr}LTFR_FORESKRIFT_YTA, {http://www.astando.se/ltfr}LTFR_BOENDE_GAMLAS, {http://www.astando.se/od_gis}Gatuarbete, {http://www.astando.se/od_gis}Gatuarbete_Yta, {http://www.astando.se/ltfr}LTFR_BOENDE_HAMMAR, {http://www.astando.se/od_gis}Hundrastgard_Yta, {http://www.astando.se/ltfr}LTFR_BOENDE_HAGERS, {http://www.astando.se/ltfr}LTFR_BOENDE_KUNGSH, {http://www.astando.se/ltfr}LTFR_P_MOTORCYKEL, {http://www.astando.se/od}LVD_FUNCTION_OBJECT_VIEW, {http://www.astando.se/od_gis}Lane_Light, {http://www.astando.se/od_gis}Luftbrunn, {http://www.astando.se/od_gis}Luftbrunn_Punkt, {http://www.astando.se/od_gis}Markupplatelse, {http://www.astando.se/od_gis}Markupplatelse_Yta, {http://www.astando.se/od_gis}Markupplatelse_Punkt, {http://www.astando.se/ltfr}LTFR_BOENDE_MIDSOM, {http://www.astando.se/td}TD_VIRTUAL_MATPLATS_VIEW, {http://www.astando.se/od_gis}Matplatsutstrackning, {http://www.astando.se/od}SB_EXTENT_VIEW_2473868_VALID, {http://www.astando.se/td}TD_MATPUNKT_VIEW, {http://www.astando.se/od_gis}NVDB_Bro_och_tunnel, {http://www.astando.se/od_gis}NVDB_Barighet, {http://www.astando.se/od_gis}NVDB_Cirkulationsplats, {http://www.astando.se/od_gis}NVDB_Farthinder, {http://www.astando.se/od_gis}NVDB_Framkomlighet_for_vissa_fordonskombinationer, {http://www.astando.se/od_gis}NVDB_Funktionell_vagklass], [{http://www.astando.se/od_gis}Cykelparkering_Punkt]] of type class java.util.ArrayList


    Fallback schema strategy failed with message:
    Fjärrservern returnerade ett fel: (404) Kunde inte hittas.

    Regards,

    Krister

    Owner consultant at Surell Consulting AB

  • Hello Krister

    We are able to reproduce the error message that you are getting using Microstation 23.00.02.71 and have reported it internally in our system for fixing it.

    Mayur

       
    This is a test