Skip to content

Commit

Permalink
Fix attrs for non-seutu layers
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakarFin committed Mar 6, 2024
1 parent 482f7f2 commit 13c479b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ UPDATE oskari_maplayer
SET
url = 'https://kartta.hel.fi/ws/geoserver/avoindata/wfs',
name = 'avoindata:Piirijako_suurpiiri',
attributes = '{"statistics":{"regionIdTag":"kokotun","nameIdTag":"nimi"}}'
attributes = '{"statistics":{"regionIdTag":"kokotunnus","nameIdTag":"nimi_fi"}}'
WHERE type='statslayer' AND name = 'hel:Helsinki_suurpiirit';

UPDATE oskari_maplayer
SET
url = 'https://kartta.hel.fi/ws/geoserver/avoindata/wfs',
name = 'avoindata:Piirijako_peruspiiri',
attributes = '{"statistics":{"regionIdTag":"kokotun","nameIdTag":"nimi"}}'
attributes = '{"statistics":{"regionIdTag":"kokotunnus","nameIdTag":"nimi_fi"}}'
WHERE type='statslayer' AND name = 'hel:Helsinki_peruspiirit';

UPDATE oskari_maplayer
SET
url = 'https://kartta.hel.fi/ws/geoserver/avoindata/wfs',
name = 'avoindata:Piirijako_osaalue',
attributes = '{"statistics":{"regionIdTag":"kokotun","nameIdTag":"nimi"}}'
attributes = '{"statistics":{"regionIdTag":"kokotunnus","nameIdTag":"nimi_fi"}}'
WHERE type='statslayer' AND name = 'seutukartta:Helsinki_osa-alueet';


0 comments on commit 13c479b

Please sign in to comment.