OpenLayers 6.5.0 not parsing GML 3.2 with multiple featuretypes

438 views Asked by At

I can't get openlayers 6.5.0 to parse a WFS 2.0.0 response in GML 3.2, when the response contains multiple featuretypes. It' works as long the response contains only one featuretype.

I've put together a simple example with fake responses, as they come from our MapServer (7.2.2|7.6.2).

I think it's because MapServer has nested FeatureCollections in the response (same for GeoServer 2.17.0). If only one featuretype is returned, then the response has one level less and ol.format.WFS is able to read the features.

Am I missing something? Any advices?

1

There are 1 answers

0
mschenk On BEST ANSWER

Head over to the github issue for a temporary solution and future informations: https://github.com/openlayers/openlayers/issues/12389