diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-26 23:07:43 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-26 23:07:43 +0200 |
commit | 4d2fc5e739926df775a5c592d3db64361ae572ff (patch) | |
tree | c617528afda96280af25d9c534d07a700929d25e | |
parent | c7c4975a571d1974d3807755a064d8489b60ffa4 (diff) | |
download | lifomapserver-4d2fc5e739926df775a5c592d3db64361ae572ff.tar.gz lifomapserver-4d2fc5e739926df775a5c592d3db64361ae572ff.tar.bz2 lifomapserver-4d2fc5e739926df775a5c592d3db64361ae572ff.zip |
Ignore districts for now
They are not yet implemented on the map and would only clutter
the map.
-rwxr-xr-x | scripts/geojson/maps/fetch_city_outlines.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/geojson/maps/fetch_city_outlines.sh b/scripts/geojson/maps/fetch_city_outlines.sh index c9c2b58..0e34572 100755 --- a/scripts/geojson/maps/fetch_city_outlines.sh +++ b/scripts/geojson/maps/fetch_city_outlines.sh @@ -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\": { |