From afb6526c520e9b2e9bb43c992e468aa470e58e56 Mon Sep 17 00:00:00 2001 From: Fred Massin Date: Fri, 29 Nov 2024 13:45:22 +0100 Subject: [PATCH] Re-adding #64 from @jenrandrews (sorry) --- apps/eew/scfinder/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/eew/scfinder/main.cpp b/apps/eew/scfinder/main.cpp index 5ba34c0..b195cab 100644 --- a/apps/eew/scfinder/main.cpp +++ b/apps/eew/scfinder/main.cpp @@ -1017,7 +1017,7 @@ class App : public Client::StreamApplication { } { - string faultgeom = "POLYGON Z (("; + string faultgeom = "MULTIPOLYGON Z ((("; for (size_t i = 0; i < finder->get_finder_rupture_list().size(); i++) { faultgeom += Core::toString(finder->get_finder_rupture_list()[i].get_lon()); faultgeom += " "; @@ -1028,7 +1028,7 @@ class App : public Client::StreamApplication { faultgeom += ", "; } } - faultgeom += "))"; + faultgeom += ")))"; smRupture->setRuptureGeometryWKT(faultgeom); }