|
|
@ -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'
|
|
|
|