Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jarnontc
Contributor
Contributor

GeoAnalytics plus WFS load. How to do it?

Hi,

I tried to load weather / lightning stroke information from below link with GeoAnalytics plus. I didn't success yet. I got Error Code: "Unable to parse request". If I got it right way, it should be possible load data with WFS format to setup file type as GML. Could someone giving details of setup, what's missing my setup.

I see that <wfs:member> element name is not exact same, what is in GeoAnalytics connector setup > GML - For reading GML files or connecting to WFS services. Reads featureCollection files and makes one row of each featureMember element. Any matter?

http://opendata.fmi.fi/wfs/fin?service=WFS&version=2.0.0&request=GetFeature&storedquery_id=fmi::obse...

My setup:

Thank You,

Best Regards

Jarno

2 Solutions

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Hi,

I was able to render the points using the static geodata layer. The geometry attribute is a bit hidden in the BsWfsElement so the straight load seems not be working, will chase why.

Thanks,

Patric

wfs.png

View solution in original post

jarnontc
Contributor
Contributor
Author

Hi Patric

Thank you for help. I managed now load data too with small change. I used https:// instead http://  

Best Regards

Jarno

 

 

View solution in original post

6 Replies
Patric_Nordstrom
Employee
Employee

Hi,

I was able to render the points using the static geodata layer. The geometry attribute is a bit hidden in the BsWfsElement so the straight load seems not be working, will chase why.

Thanks,

Patric

wfs.png

jarnontc
Contributor
Contributor
Author

Hi Patric

Thank you for help. I managed now load data too with small change. I used https:// instead http://  

Best Regards

Jarno

 

 

Miay
Contributor
Contributor

Hi Patric, 

You wrote that you were able to render a static geodata layer. But does the wfs only work with geodata layers? Or does it work with point & polygon layers also?

And is it possible to set up more than one layer based on wfs?

Regards, 

/Mikael

 

Patric_Nordstrom
Employee
Employee

Sure, the all layers can feed on WFS sources including point, area and line.
Yes, it's possible to have several layers at the same time.
Thanks,
Patric
Miay
Contributor
Contributor

Thanks for the answer! 

I would also like to ask you about how the Qlik Geoanalytics connector consumes a WFS. Will the data be loaded completely when the application starts or will the application fetch the data dynamically as the user uses and zooms into the map? 

If a WFS layer has one million features that, and a user only needs the features at a certain zoom level and at a certain part of the map, it might be a problem if one million features are loaded directly when the application starts. 

Is it the same behaviour for both a polygon/point-layer and a geodata-layer that consumes a WFS?

Regards, 

/ Mikael

 

Patric_Nordstrom
Employee
Employee

There is no automatic paging or bounds function in the current WFS connection, both in connector load operation and the dynamic feed to layers. All data is loaded at request.

Some WFS sources have custom options for filtering that can be applied in the url. Here's two examples, filter by id or by max min x y:

='http://geodata.nationaalgeoregister.nl/bag/wfs?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0&TYPENAME...(' &
concat(identifica, ',') &
'))'

='http://geodata.nationaalgeoregister.nl/bag/wfs?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0&TYPENAME...,' &
floor(min(lo),0.001) & ',' &
floor(min(la),0.001) & ',' &
ceil(max(lo),0.001) & ',' &
Ceil(max(la),0.001) & ',%27EPSG:4326%27))'

Thanks,
Patric