comparison 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
comparison
equal deleted inserted replaced
1982:a7e47a9d890b 1983:f9f1babe52ae
274 this.buildVectorLoader( 274 this.buildVectorLoader(
275 { 275 {
276 featureNS: "gemma", 276 featureNS: "gemma",
277 featurePrefix: "gemma", 277 featurePrefix: "gemma",
278 featureTypes: ["stretches_geoserver"], 278 featureTypes: ["stretches_geoserver"],
279 geometryName: "geom" 279 geometryName: "area"
280 }, 280 },
281 "/internal/wfs", 281 "/internal/wfs",
282 layer.data.getSource() 282 layer.data.getSource()
283 ) 283 )
284 ); 284 );