Learning Modules > Chizu Tutorial Download Information | File Data Format | Execution | Advanced Features | Applications | References Chizu is a Perl application developed by Mark Meiss for generating geospatial visualizations. To install Chizu: 1) Make sure you have Perl and GD (Perl interface to GD Graphics Library) installed (this is available on ella.slis.indiana.edu). 2) Download Chizu scripts. 3) Download the following GIS data files and font files in terms of your project needs (for instance, the U.S. State Boundaries and the Zip Location Database are useful if you want to produce GIS visualizations within US):
Chizu accepts the following scripting commands for rendering maps: # ABS_NODE <color_in> <color_out> <size> <region> <point> # ABS_PATH <start> <end> <color> <width> <region> <point1> ... # ARC <xc> <yc> <width> <height> <start> <end> # BOX <x1> <y1> <x2> <y2> # COLOR <name> <r> <g> <b> {<a>} # DRAW_LABEL <color> <size> # DRAW_LOC <color_in> <color_out> <min_size> <max_size> # DRAW_PATH <color> <min_size> <max_size> # FILL_AREA <region> <point> <fill_color> # FILL_BOUND <region> <point> <fill_color> <border_color> # FONT <name> <path> # GCIRCLE <lon1> <lat1> <lon2> <lat2> # GRADIENT <name> <r1> <g1> <b1> <r2> <g2> <b2> {<a>} # IMAGE <path> <x1> <y1> <x2> <y2> # LABEL <region> <loc> <position> <text> # LINE <x1> <y1> <x2> <y2> # PALETTE <year> <color> # PATH <start> <end> <region> <point1> ... # PEN <color> <width> <smooth> # PLOT <region> <path> # RECT <x1> <y1> <x2> <y2> # REGION <name> <x1> <y1> <x2> <y2> <lon1> <lat1> <lon2> <lat2> # SET <name> <value> # TEXT <x> <y> <font> <size> <justify> <string> # ZIP <path> Here is an example of drawing a few nodes, edges, and labels on a US map:
This example can be downloaded at: test.cz.
Once you have a scripting file, e.g., test.cz, you can save it in the directory where chizu.pl is. Then go to the directory, make sure all needed data files are available in the gis/ and fonts/ subdirectories, and execute the following command line: ./chizu.pl test.cz 800 600 0 0 test.png This generates the following visualization:
Chizu was first used by Mark Meiss and Heather Roinestad in their final project for the L579 Information Visualization course. The results of their project and more advanced examples are available at http://iv.slis.indiana.edu/ref/iv05contest/chizu. Chizu has been used in the IV Lab's submission to the IEEE InfoVis 2005 Contest. Take a look and you will find interesting features: http://iv.slis.indiana.edu/ref/iv05contest.
This documentation was compiled by Weimao Ke. Color choices were compiled by Shravan Rajagopal.
|
|||||||||||||||||