Skip to content

WFS query returns unhandy MULTISURFACE geometries #132

Answered by eblondel
fdetsch asked this question in OGC WFS
Discussion options

You must be logged in to vote

To my logic, no, to the WFS 2.0 standard. I don't know what is the WFS implementation behind this server, it may be that set it more permissive and returning GML2 instead of GML3 by default.
I looked at the server, and it seems it accepts other output formats, and this is supported by ows4R . You can try application/json it will work, and you will not depend on GML3 /MULTISURFACE format.

Just add the outputFormat as argument to your getFeatures call.

features = cli$getFeatures(
  "suedhessen:gruenzug",
 outputFormat = "application/json"
)

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@fdetsch
Comment options

@eblondel
Comment options

@fdetsch
Comment options

@eblondel
Comment options

Answer selected by fdetsch
@fdetsch
Comment options

@eblondel
Comment options

@eblondel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants