Handle GeometryCollection in nogo areas upload
This commit is contained in:
parent
edd014a830
commit
5a03b43099
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@
|
|||
geoJSONPromise.then(function(response) {
|
||||
// Iterate on features in order to discard features without geometry
|
||||
var cleanedGeoJSONFeatures = [];
|
||||
turf.featureEach(response, function(feature) {
|
||||
turf.flattenEach(response, function(feature) {
|
||||
if (turf.getGeom(feature)) {
|
||||
var maybeBufferedFeature = feature;
|
||||
// Eventually buffer GeoJSON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue