Compare commits

...

2 Commits

Author SHA1 Message Date
lub 8ab8de132a switch around name and description
polling station is much more useful as name
4 months ago
lub ddedf73d55 use complete polling station description as group name 4 months ago

@ -18,7 +18,7 @@ $replacementList = @(
$featureList = Import-Csv ./data.csv $featureList = Import-Csv ./data.csv
| Sort-Object -Unique Strassenname | Sort-Object -Unique Strassenname
| Group-Object Wahllokal1 | Group-Object {$_.Wahllokal1,$_.Wahllokal2,$_.Wahllokal3 -join ' '}
| ForEach-Object { | ForEach-Object {
$pollingStation = $_ $pollingStation = $_
@ -75,8 +75,8 @@ $featureList = Import-Csv ./data.csv
color = $partyMapping.$party color = $partyMapping.$party
weight = 10 weight = 10
} }
name = $street name = $pollingStation.Name
description = $pollingStation.Name description = $street
} }
geometry = [PSCustomObject]@{ geometry = [PSCustomObject]@{
type = 'LineString' type = 'LineString'

Loading…
Cancel
Save