Code Monkey home page Code Monkey logo

choropleth-hillshade's Introduction

#Choropleth Hillshade ###A Python Geoprocessing Toolbox for ArcGIS

Generates a hillshaded raster surface for choropleth maps. But why?

  • Show off your within-class variability!
  • Enable thematic maps to have more than just 2 dimensions.
  • Experiment with displaying bivariate data.
  • Skip the colours altogether, if you can handle it.

For input, this geoprocessing tool only requires a polygon feature class (or shapefile) with attributes appropriate for choropleth mapping, such as densities or percentages.

An illuminated/shaded relief raster based on the attribute of choice (e.g. population density per county) is the output of this tool (left), which can be overlayed with the original feature class (right).

ChoroSample

Raster cell size and overall shadow length are set as tool parameters. Compare the different polygon "heights" and the shadows they can cast below:

Shadow4

Shadow5

Shadow6

Other info:

  • Software: This PYT requires ArcGIS for Desktop (ArcMap) 10.1 SP1 or higher, with access to either the Spatial Analyst or 3D Analyst extension.
  • Important ArcMap environment options:
    • Navigate to: ArcMap --> Geoprocessing menu --> Geoprocessing Options... -->
    • Check ON "Overwrite the outputs..."
    • Check OFF "Background Processing"
  • Raster Cell Size tool option: numeric values with units of degrees lat/long; for example, try 0.1 or 0,1 depending on your locale, and then continue to experiment with smaller values.

Inspiration:

  • Stewart, James and Kennelly, Patrick J. (2010). "Illuminated Choropleth Maps". Annals of the Association of American Geographers, 100(3): 513-534.

Authors:

  • Jacob Wasilkowski | Esri St. Louis
  • Jie Cheng | UMASS Medical School

Contributing:

  • Find something wrong or have an idea for a new feature? We welcome submitting new issues and requests.
  • License: MIT. More info here.

choropleth-hillshade's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.