SHARE
TWEET

Untitled

a guest Jun 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. districts = {"Bo Sierra Leone", "Bombali", "Bonthe District", "Kailahun District", "Kambia District", "Kenema District", "Koinadugu District", "Kono District", "Moyamba District", "Port Loko District", "Pujehun District", "Tonkolili District", "Western Rural District", "Western Urban Sierra Leone"};
  2.  
  3. slDistricts = SemanticInterpretation /@ districts
  4. GeoListPlot[slDistricts, ImageSize -> Large, GeoLabels -> True]
  5.      
  6. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["Country", "SierraLeone"]]}]
  7. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"Kambia", "Northern", "SierraLeone"}]]}]
  8. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"WesternRural", "Western", "SierraLeone"}]]}]
  9. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"Moyamba", "Southern",      "SierraLeone"}]]}]
  10. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"Bonthe", "Southern", "SierraLeone"}]]}]
  11. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"Pujehun", "Southern",  "SierraLeone"}]]}]
  12. GeoGraphics[{EdgeForm[Black], FaceForm[Red],  Polygon[Entity["AdministrativeDivision", {"Bo", "Southern", "SierraLeone"}]]}]
  13.      
  14. divisions = CountryData["SierraLeone", "AdministrativeDivisions"];
  15. subdivisions = AdministrativeDivisionData[#, "Subdivisions"] & /@ divisions;
  16. GeoGraphics[{EdgeForm[Black], FaceForm[Red], Polygon[#]}] & /@ subdivisions;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top