Coder Social home page Coder Social logo

Comments (1)

TheKarppinen avatar TheKarppinen commented on September 15, 2024

Fixed in release 1.1.7.

Server seems to give "fmi::forecast::hirlam::surface::obsstations::multipointcoverage" response content in multiple wfs:member elements. This resulted to duplicates when parameter information was parsed. Therefore, parser gave the error message. Now, duplicates are handled properly and data is given through the API.

As a side note and a small tutorial:

It is worth mentioning that "fmi::forecast::hirlam::surface::obsstations::multipointcoverage" queries do not seem to support place to limit queries. Instead, server XML response contains a lot of data for many places. WfsConnection API gives data only for the places you query, even if server response contains a lot more data. You may also want to check what happens if you use WfsRequestParser directly.

For an example, try these URLs
http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs?request=getFeature&storedquery_id=fmi::forecast::hirlam::surface::obsstations::multipointcoverage&place=helsinki
and
http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs?request=getFeature&storedquery_id=fmi::forecast::hirlam::surface::obsstations::multipointcoverage
Both queries give same data even if other one uses &place=helsinki

If you want to see what URL parameters server supports for "fmi::forecast::hirlam::surface::obsstations::multipointcoverage" query, check description in:
http://data.fmi.fi/fmi-apikey/insert-your-apikey-here/wfs?request=describeStoredQueries

from metolib.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.