Skip to content

Unexpected geometryType for a feature with geometry #139

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

You must be logged in to vote

@maelle You are interrogating the capabilities fo the WFS and list the feature types (modeled ad WFSFeatureType), but when you list them from the capabilities, you didn't get their full description so for a given feature type, you first need to fetch its description (performing a DescribeFeatureType request behind) with type[[1]]$getDescription(). After what you will see type[[1]]$getGeometryType() returns a geometry type.

For bounding box you get something, because that's a property of the featureType that is available through WFS capabilities document. It's not the case of the full list of feature type elements (~ column definitions).

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by eblondel
Comment options

You must be logged in to vote
4 replies
@eblondel
Comment options

@maelle
Comment options

@eblondel
Comment options

@maelle
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
Converted from issue

This discussion was converted from issue #138 on January 24, 2025 14:02.