Ignore districts for now

They are not yet implemented on the map and would only clutter
the map.
This commit is contained in:
Markus Koch 2020-04-26 23:07:43 +02:00
parent c7c4975a57
commit 4d2fc5e739

View File

@ -9,6 +9,9 @@ for entry in $data; do
name=`echo "$entry" | sed -n 's/\s*\([^|]\+\).*/\1/p' | sed 's/ $//'`
type=`echo "$entry" | sed -n 's/\s*\([^|]\+\)||\s*\([^|]\+\).*/\2/p' | sed 's/ $//'`
coord=`echo "$entry" | sed -n 's/.*||\s*\([^|]\+\).*/\1/p'`
if [[ "$type" == "district" ]]; then
continue;
fi
if [[ "$name" != "" && "$coord" != "" ]]; then
echo "{ \"type\": \"Feature\",
\"geometry\": {