Mercurial > gemma
view schema/updates/1462/01.refine_marking_view.sql @ 5721:0500d76e074b uploadwg
Fixed eraseObsoleteGaugesSQL by reintroducing matching on users CC.
The condition was removed when introducing file upload, but that leads
to too many gauges being removed.
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Fri, 19 Apr 2024 16:52:14 +0200 |
parents | 345515bc4548 |
children |
line wrap: on
line source
UPDATE sys_admin.published_services SET view_def = $$ SELECT bottleneck_id, to_char(date_info, 'YYYY-MM-DD') AS date_info, height, points::geometry(multipointz, 4326) as points, surtyp, zpg_exception FROM waterway.sounding_results_marking_points mp JOIN waterway.sounding_results sr ON sr.id = mp.sounding_result_id $$ WHERE name = 'sounding_results_marking_points_geoserver';