> Script Details
report inappropriate content
Dec 21 2007
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
NOTE: This script ONLY works with ArcGIS 9.0, 9.1 or 9.2 with any license level - including ArcView (I finally had a chance to test it). It will not work with any earlier version of ArcGIS.
Cartogram Creator generates non-contiguous cartograms, non-contiguous circular cartograms, and contiguous cartograms.
Contiguous cartograms are generated using the "Rubber Sheet" method described in Dougenik, J. A, N. R. Chrisman, and D. R. Niemeyer. 1985. An algorithm to construct continuous cartograms. Professional Geographer 37:75-81
and Jackel, C. 1997 "Using ArcView to Create Contiguous and Noncontiguous Area Cartograms," Cartography and Geographic Information Systems, vol. 24, no. 2, 1997, pp. 101-109.
Consists of a README.TXT file and an .MXT template. The .MXT adds a button to the standard toolbar called "Cartogram". Selecting the layer to base the cartogram on and pressing the button calls up the interface. See the readme for more details.
NOTE: This is a new version as of December 21, 2007. It works properly with all license-levels of ArcDesktop 9.2. Help opens a web page (in development). I integrated a number of bug fixes suggested by various users (thank you Lars, Sam, and others!). The script now makes sure you are using a shapefile (it doesn't work with PGDBs or SDE). I added a little visual feedback to help selecting the type of cartogram.
A paper describing the development of this project was presented at the 2005 ESRI International Users Conference. You can download it here:
The paper is more of a user documentation and should help both used the script and modify it.
21 December 2007: A serious maintenance release! I think I managed to address a number of the biggest issues with the script - including some of the mysterious unreproducable errors. One of which had to do with calls to the VBA.String methods - I now specify the VBA.String path for each call. I also took out the call to Map.CalculateDistance which was causing some major slowdowns and spurious lock-ups.
04 October 2007: I will be giving a presentation on creating cartograms at the NACIS Convention in St. Louis next week. I am also working on a Python script for creating cartograms that doesn't rely on ArcGIS. The goal is that it could run in the Arc Toolbox or with just the Python interpreter.
25 April 2007: Yeah! Almost two years since the last real edit, I'm releasing V2.0. The user interface looks very different but it's mostly just a reorganization of the same features. The Help button opens a web page (in development) on my web site for cartograms that will contain detailed instructions on the use of CartogramCreator. The non-continuous feature-shape method now works correctly. And you can use an attribute for the starting area instead of the calculated polygon area.
Please see my website for more details: http://www.geo-perspectives.com...
the complete description can be found in the readme.txt file included in the zipfile download.