Comments (1)
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)
- getData function should have a wmo parameter HOT 1
- Add support for fetching lightning data
- What is the reason for mandatory requestParameters HOT 5
- Update version of omso namespace in README.md
- using metolib in serverside/nodejs HOT 8
- Help with querying radar images from FMI HOT 1
- ERROR: Server has not provided properties for request parameter! HOT 1
- Address vs geo id when using metolib? HOT 6
- Multiple "observableProperty" loads (metolib 1.1.7) HOT 2
- Precipitation1h values are all NaN when using fmi::observations::weather::multipointcoverage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metolib.