project:dataalps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:dataalps [2013/08/05 21:04] lolegproject:dataalps [2015/01/22 15:14] (current) – Fixed link loleg
Line 3: Line 3:
 {{:project:dataalps0008.jpg?400|}} {{:project:dataalps0008.jpg?400|}}
  
-This project aims to create a framework for visualizing geographic and statistical data about Switzerland in 3D using WebGL, GeoJSON and OpenLayers. [[http://opendata.utou.ch/alps|Try it here]].+The goal of this project is to explore interactive visualization of open data in a graphically rich, game-like 3D environment. We do this by developing a framework for rendering geographic and statistical data using WebGL technology - already supported in most popular browsers - combined with traditional dataviz tools and standards such as D3, GeoJSON and OpenLayers. Open data about Switzerland is portrayed in our first live site. 
 + 
 +Live demo: [[http://opendata.utou.ch/alps]]
  
 <GITHUB loleg/dataalps> <GITHUB loleg/dataalps>
  
-===== Data =====+===== Data sources =====
  
-**3D Switzerland**: [[https://github.com/interactivethings/swiss-maps|interactivethings/swiss-maps]] is a community project where GeoJSON files have been prepared and openly licensedThis are relatively straightforward to convert to polygons using D3 and then extrude in 3D space. The bounding boxes are used to make the data pyramidsThe goal would be to add textures, etc., and make them look more like the real Alps :)+A backlog of links and examples [[https://workflowy.com/s/3a6eb09d-5457-0d63-1044-1b599359d5d1|is shared here]]. We are looking for ideas of what data to include or adapt this visualization to other uses - please [[http://make.opendata.ch/forum/discussion/110/open-data-alps|comment on the forum]]. Current datasets visualized:
  
-**2D Switzerland**: [[http://map.geo.admin.ch/|map.geo.admin.ch]] is loaded in the background using the [[http://api.geo.admin.ch/|GeoAdmin API]], then the tile images are hand-mapped onto a texture. It would be really difficult to do a zoomable version until we can move to OpenLayers 3 which has built-in WebGL support (this was briefly attempted).+**Shape of Switzerland**: [[https://github.com/interactivethings/swiss-maps|swiss-maps]] were prepared and openly licensed by [[http://interactivethings.com/|Interactive Things]]. The simplified GeoJSON files are relatively straightforward to convert to polygons using D3 and extrude in 3D space, and the latest version has no holes. The bounding boxes are used to make data pyramids. If you click the //Labels// button, the names of the cantons are displayed.
  
-**Population**: [[http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/03/blank/key_kant/01.html|Szenarien zur Bevölkerungsentwicklung der Kantone der Schweiz 2010-2035]] (//Anzahl nach Altersklassen und Kantonen gemäss dem mittleren Szenario AR-00-2010//, BFS). This gives us the current population per canton, and an estimate for about the next 20 years. JSON was created out of this data using Open Refine.+**Geolocation**: if your browser supports it and you opt-in, your present location is shown as a blue dot on the map (assuming you are geolocated in Switzerland at the moment). 
 + 
 +**Height map** (//Height// button): This was recently added to the same place as the shape files, and we are extruding the mountains into 3D here from a slightly amplified version of the countour map [[http://bl.ocks.org/herrstucki/6312708|herrstucki has shared]]. 
 + 
 +**Official map**: (//Swisstopo// button) [[http://map.geo.admin.ch/|map.geo.admin.ch]] is loaded in the background using the [[http://api.geo.admin.ch/|GeoAdmin API]], then the tile images are hand-aligned onto a texture. It would be difficult to do a zoomable version until we can move to OpenLayers 3 which has built-in WebGL support - this was briefly attempted. Note: disabled due to glitches. 
 + 
 +**Population**: (//2014//, +, - buttons) [[http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/03/blank/key_kant/01.html|Szenarien zur Bevölkerungsentwicklung der Kantone der Schweiz 2010-2035]] (//Anzahl nach Altersklassen und Kantonen gemäss dem mittleren Szenario AR-00-2010//, BFS). This gives us the current population per canton, and an estimate for about the next 20 years. JSON was created out of this data using Open Refine.
  
 **Commuters**: [[http://www.bfs.admin.ch/bfs/portal/de/index/themen/11/04/blank/04.html|Pendlermobilität in der Schweiz 2011]] (BFS) is a newly released report that paints a picture of how people commute inside of Switzerland. We just converted the basic commuters-by-canton table into JSON with Open Refine. **Commuters**: [[http://www.bfs.admin.ch/bfs/portal/de/index/themen/11/04/blank/04.html|Pendlermobilität in der Schweiz 2011]] (BFS) is a newly released report that paints a picture of how people commute inside of Switzerland. We just converted the basic commuters-by-canton table into JSON with Open Refine.
  
-**Heat Map**: +**Antennas**: the locations of mobile towers in the Canton of Geneva, extracted for us by SITG and converted into OpenStreetMap format, make evident the terrain and elevation profile around the lake of Geneva due to their height data and relatively high density. 
-[[http://www.meteoschweiz.admin.ch/web/en/climate/climate_today/trends_from_stations.html|Annual temperature trends]] (MeteoSchweiz) shows the increase in °C/Decade around the country. We matched these numbers by hand with the location of the primary measuring stations found in the [[http://www.meteoschweiz.admin.ch/web/de/klima/messsysteme/boden.Related.0002.DownloadFile.tmp/neuestationsnamen.pdf|List of changed station names]], which we geocoded with OpenStreetMap's Nominatim. This was something of a painful exercise so we are looking forward to [[http://www.meteoschweiz.admin.ch/web/de/meteoschweiz/portrait/datenliberalisierung.html|more open weather data]]!+ 
 +**Heatmap**: 
 +[[http://www.meteoschweiz.admin.ch/web/en/climate/climate_today/trends_from_stations.html|Annual temperature trends]] (MeteoSchweiz) shows the increase in °C/Decade around the country. We matched these numbers by hand with the location of the primary measuring stations found in the [[http://www.meteoschweiz.admin.ch/web/de/klima/messsysteme/boden.Related.0002.DownloadFile.tmp/neuestationsnamen.pdf|List of changed station names]], which we geocoded with OpenStreetMap's Nominatim. This was something of a painful exercise so we are looking forward to [[http://www.meteoschweiz.admin.ch/web/de/meteoschweiz/portrait/datenliberalisierung.html|more open weather data]]! Note: disabled due to glitches. Current plan is to use the new OGD portal data.
  
-We are looking for new ideas of what data to include in this visualization - please [[http://make.opendata.ch/forum/discussion/110/open-data-alps|comment on the forum]]. 
 ===== Team ===== ===== Team =====
  
-  * [[user:loleg]] +  * [[user:loleg]] (design, development) 
-  * [[user:barbara]]+ 
 +Thanks to Barbara Kummler and Christine Perey for help with the concept and data wrangling.
  
 ===== Links ===== ===== Links =====
Line 33: Line 43:
   * [[http://d3js.org/|D3.js]]   * [[http://d3js.org/|D3.js]]
   * [[https://gist.github.com/1756257|fitprojection]]   * [[https://gist.github.com/1756257|fitprojection]]
-  * [[http://www.adelphi.edu/~stemkoski/|ParticleEngine]] ([[http://opendata.utou.ch/alps/august1.html|August 1 edition]])+  * [[http://www.adelphi.edu/~stemkoski/|ParticleEngine]] ([[https://www.pouet.net/prod.php?which=61806|August 1 edition]])
   * [[http://www.qgis.org/|Quantum GIS]]   * [[http://www.qgis.org/|Quantum GIS]]
   * [[http://openrefine.org/|OpenRefine]]   * [[http://openrefine.org/|OpenRefine]]
      
-{{tag>status:live needs:design}}+{{tag>status:live dataviz}}
  • project/dataalps.1375729491.txt.gz
  • Last modified: 2013/08/05 21:04
  • by loleg