This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Future of large cities - GDP</title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.4/mapbox.js'></script> | |
| <link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.4/mapbox.css' rel='stylesheet' /> | |
| <link href='style.css' rel='stylesheet' /> | |
| <style id="jsbin-css"> |
This file contains hidden or 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
| /** | |
| * Turn a CSV file with longitude and latitude columsn into a GeoJSON data structure | |
| */ | |
| function csv_to_geojson(csv_data) { | |
| var full_data = { | |
| type: "FeatureCollection", | |
| features: [] | |
| }; | |
| full_data.features = _.map(csv_data, |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or 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
| "","MetroRegion","BROAD_SECTOR_HVAS_GVA_1994_GR","BROAD_SECTOR_HVAS_GVA_1995_GR","BROAD_SECTOR_HVAS_GVA_1996_GR","BROAD_SECTOR_HVAS_GVA_1997_GR","BROAD_SECTOR_HVAS_GVA_1998_GR","BROAD_SECTOR_HVAS_GVA_1999_GR","BROAD_SECTOR_HVAS_GVA_2000_GR","BROAD_SECTOR_HVAS_GVA_2001_GR","BROAD_SECTOR_HVAS_GVA_2002_GR","BROAD_SECTOR_HVAS_GVA_2003_GR","BROAD_SECTOR_HVAS_GVA_2004_GR","BROAD_SECTOR_HVAS_GVA_2005_GR","BROAD_SECTOR_HVAS_GVA_2006_GR","BROAD_SECTOR_HVAS_GVA_2007_GR","BROAD_SECTOR_HVAS_GVA_2008_GR","BROAD_SECTOR_HVAS_GVA_2009_GR","BROAD_SECTOR_HVAS_GVA_2010_GR","BROAD_SECTOR_HVAS_GVA_2011_GR","BROAD_SECTOR_HVAS_GVA_2012_GR","BROAD_SECTOR_HVAS_GVA_2013_GR","BROAD_SECTOR_HVAS_GVA_2014_GR","BROAD_SECTOR_MANUFACTURING_GVA_1994_GR","BROAD_SECTOR_MANUFACTURING_GVA_1995_GR","BROAD_SECTOR_MANUFACTURING_GVA_1996_GR","BROAD_SECTOR_MANUFACTURING_GVA_1997_GR","BROAD_SECTOR_MANUFACTURING_GVA_1998_GR","BROAD_SECTOR_MANUFACTURING_GVA_1999_GR","BROAD_SECTOR_MANUFACTURING_GVA_2000_GR","BROAD_SECTOR_MANUFACTURING_GVA_2001_GR","BROAD_ |
This file contains hidden or 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
| /** | |
| * Turn a CSV file with longitude and latitude columsn into a GeoJSON data structure | |
| */ | |
| function csv_to_geojson(csv_data) { | |
| var full_data = { | |
| type: "FeatureCollection", | |
| features: [] | |
| }; | |
| full_data.features = _.map(csv_data, |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # /// script | |
| # dependencies = [ | |
| # "shapely>=2.0.0", | |
| # ] | |
| # /// | |
| """ | |
| Convert Marxan planning units grid export to GeoJSON. | |
| Usage: |
OlderNewer