Last active
August 2, 2019 02:56
-
-
Save smit1678/134265d6aa32d8bc150490fb952ce57b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Uses Mapbox Wellknown https://github.com/mapbox/wellknown | |
# npm install -g wellknown | |
echo "POLYGON ((31.9204 -3.0145,31.9373 -3.0144,31.9372 -2.9977, 31.9206 -2.9977, 31.9204 -3.0145))" | wellknown > katoro.geojson | |
echo "POLYGON (( 31.9369 3.27183, 31.9595 3.27187, 31.9594 3.29441, 31.9368 3.29454,31.9369 3.27183))" | wellknown > dzaipi.geojson | |
echo "POLYGON ((29.6354 -4.8831, 29.6523 -4.8832, 29.6522 -4.8664, 29.6354 -4.8664 , 29.6354 -4.8831))" | wellknown > kigoma.geojson | |
echo "POLYGON ((33.7772 -1.5381, 33.7942 -1.5383, 33.7941 -1.5267, 33.7772 -1.5267, 33.7772 -1.5381))" | wellknown > musoma.geojson | |
echo "POLYGON((33.47189598731836 0.6110004063415698,33.50567036323389 0.6110004063415698,33.50567036323389 0.5823774242592006,33.47189598731836 0.5823774242592006,33.47189598731836 0.6110004063415698))" | wellknown > area-for-labeling.geojson | |
echo "POLYGON((33.6124 0.78568, 33.6124 0.76893, 33.6348 0.76893, 33.6347 0.78581,33.6124 0.78568))" | wellknown > Busembatia.geojson | |
echo "POLYGON((33.1125 0.95595, 33.1125 0.93357, 33.1349 0.93364, 33.1349 0.95597,33.1125 0.95595))" | wellknown > Kamuli.geojson | |
echo "POLYGON((35.8479 -3.3595,35.8477 -3.3821, 35.9039 -3.3826, 35.9038 -3.3595,35.8479 -3.3595))" | wellknown > new-area.geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment