20
Sandy Buchanan Project Manager Slide 1 of ## <<Enter presentation title here>> OSGIS 2012, Nottingham

Osgis sept2012 cartogrammar

Embed Size (px)

Citation preview

Page 1: Osgis sept2012  cartogrammar

Sandy BuchananProject Manager

Slide 1 of ## <<Enter presentation title here>>

OSGIS 2012, Nottingham

Page 2: Osgis sept2012  cartogrammar

What is a Cartogram?

car·to·gram/ kärtə gramˈ ˌ /

A map on which statistical information is shown in diagrammatic form.

A small diagram on the face of a map, showing quantitative information.

An abstracted and simplified map the base of which is not true to scale.

Page 3: Osgis sept2012  cartogrammar

Funded ByESRC

Developed BYEDINA

Page 4: Osgis sept2012  cartogrammar

Example

Traditional Map with shading

Cartogram – Area proportional to cases

Page 5: Osgis sept2012  cartogrammar

Example

Local Authority GCSE performance

Page 6: Osgis sept2012  cartogrammar

Slide 6 of ##

Project Goals

<<Enter presentation title here>>

• To enable social scientists and others to create, share and reuse bespoke cartograms

• The project will offer a production strength generic service and associated toolset.

• It will alleviate the problems associated with production complexity and computational expense.

Page 7: Osgis sept2012  cartogrammar

Technology Being Used

• Celery and RabbitMQ to manage the distributed task queue including the ability for multiple instances on multiple servers i.e. send it to the cloud if required

• Using ScapeToad Cartogram generation. ScapeToad is a cross-platform, open-source application for producing cartograms. Its written in Java and uses the ESRI Shapefile format for input and output.

• The algorithm used to compute the cartogram is based on the di usion-based method for ffproducing density equalizing maps by Michael T. Gastner and M. E. J. Newman

Page 8: Osgis sept2012  cartogrammar

Technology Solution

Page 9: Osgis sept2012  cartogrammar

Outputs

• The main output from the project is an API

• The API is then used to service a website allowing non technical users to generate cartograms.

• There is also a ‘widget’ allowing users to embed the basic website functionality in their own site.

• The API, can of course, be used directly

Page 10: Osgis sept2012  cartogrammar

The API

• The API is accessed through the use of cURL commands or a REST Console/Client. These are available as add-ons for Chrome and Firefox web browsers.

• Documentation and user guide available soon

Page 11: Osgis sept2012  cartogrammar

The API

• The API• Allow authenticated users to upload a validated, virus

checked shapefile.

• The shapefile can be ‘simplified’ to reduce computational time.

• Select polygon layer to transform and the metric variable linked to that layer that will become the metric layer for the cartogram

• Utilise the Gastner/Newman diffusion-based algorithm

• Allow the computation to be farmed out to multiple servers if required for complex cartograms

• Allow retrieval of new cartogram, shapefiles, distortion grid and metadata

Page 12: Osgis sept2012  cartogrammar

The Website

• Searchable gallery of user contributed cartograms

• Cartogram generation interface• Multiple cartograms from a single

shapefile• Output generation• Download

• Access to ‘Widget’ Code• Access to API documentation• Further Cartogram resources

Page 13: Osgis sept2012  cartogrammar

Website

Page 14: Osgis sept2012  cartogrammar

Job Management Screen

Page 15: Osgis sept2012  cartogrammar

Shapefile and Metadata

Page 16: Osgis sept2012  cartogrammar

Creation Parameters

Page 17: Osgis sept2012  cartogrammar

Cartogram View and Download

Page 18: Osgis sept2012  cartogrammar

Generate Widget Code

Page 19: Osgis sept2012  cartogrammar

Embedded Widget

Page 20: Osgis sept2012  cartogrammar

Progress

• API is complete

• Website is complete and about to be moved onto production (a few workflow tweaks needed)

• Widget works

• Looking for volunteer testers