Last active
December 16, 2016 04:44
-
-
Save chiragtoor/bef268ac1b871610dbf448418fe1dc00 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
@block_file "data/sm_blocks.geojson" | |
@zone_file "data/sm_zones.geojson" | |
defp get_commercial_zones do | |
%{"features" => zones} = Poison.decode!(File.read!(@zone_file)) | |
zones | |
end | |
defp get_blocks do | |
%{"features" => blocks} = Poison.decode!(File.read!(@block_file)) | |
blocks | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment