diff client/src/components/Maplayer.vue @ 1983:f9f1babe52ae

Fix area generation from multipolygon input In case the waterway axis representing a stretch intersects distinct parts of the input area, a multipolygon has to be returned. Before, an arbitrary polygon was selected due to the used function not being set-returning. In passing, consistently name respective columns in schema.
author Tom Gottfried <tom@intevation.de>
date Wed, 23 Jan 2019 16:25:43 +0100
parents f7a35ba9f409
children ea5a0e771b71
line wrap: on
line diff
--- a/client/src/components/Maplayer.vue	Wed Jan 23 16:18:36 2019 +0100
+++ b/client/src/components/Maplayer.vue	Wed Jan 23 16:25:43 2019 +0100
@@ -276,7 +276,7 @@
           featureNS: "gemma",
           featurePrefix: "gemma",
           featureTypes: ["stretches_geoserver"],
-          geometryName: "geom"
+          geometryName: "area"
         },
         "/internal/wfs",
         layer.data.getSource()