Skip to content

how to load wfs features? #2629

Answered by gwaldron
GISlxz asked this question in Support Q&A
Discussion options

You must be logged in to vote

I believe the legal options for setOutputFormat are "geojson" and "gml".

Also, WFS does not implement getFeatureCount() so it will always return -1. Sometimes there is no way to query that information without actually fetching the data. Most network-based feature sources are like this.

I will be honest with you; you may be the first person to use the WFS layer in a long time. There's a good chance it is very out of date and needs attention. Let us know if you have any further luck.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GISlxz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support questions
2 participants