From: James M. <jma...@us...> - 2001-11-28 19:08:23
|
Update of /cvsroot/geotools/geotools/src/demonstrations In directory usw-pr-cvs1:/tmp/cvs-serv10253/demonstrations Added Files: readme.html Log Message: Moved into the demonstrations folder so that it is easier to find --- NEW FILE: readme.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> <META NAME="GENERATOR" Content="Visual Page 2.0 for Windows"> <TITLE>GeoTools demos, examples and tutorials package</TITLE> </HEAD> <BODY> <H1>GeoTools Demos and Tutorials Package</H1> <H2>Introduction</H2> <P>The GeoTools open source java mapping toolkit is a flexable library of rutines and objects that can be used to build interactive web based applets as well as stand allone applications.</P> <P>The GeoTools package is not an application in its own right however, only a toolkit, so in order to place a map on the web, or into an application small amounts of additonal code is required.</P> <P>This package aims to provide a suite of small applets, and latter applications, that can either be used 'as is', or used as a starting point for more addvanced programs. (Or you might just want to canabalise bits out of each one)</P> <H2>Requirements</H2> <P>GeoTools 0.7.9dev1 (included in jars folder) <BR> Java 1.1 or later<BR> suns Collections package (available in full from the geotools ftp site, jar file can be found in jars directory)</P> <P></P> <H2>The Demos</H2> <P>The following demonstrations have been ilustated with the aim of providing clear examples of GeoTools usage, as a result there is a minimum of non-geotools related code, for example code for error handling is not as much in evidence as perhaps it should be.</P> <P> <H3>Example 1</H3> <P><A HREF="Example1.html">View</A><B></B></P> <P><B>Description:</B></P> <P>A very simple applet that shows how a shapefile can be read and displayd in an applet along with a standard toolbar.</P> <P><B>Customizing:</B></P> <P>The applet tag contains a single param tag 'shapefile' that specifies the relative address of the shapefile to load.</P> <P><B>Key classes introduced</B></P> <P>geotools.ShapefileReader<BR> geotools.Theme<BR> geotools.Viewer<BR> wideges.ToolBar</P> <H3></H3> <H3>Example 2</H3> <P><A HREF="Example2.html">View</A><B></B></P> <P><B>Description:</B></P> <P>An extension of example1 that show how to set up tool tips</P> <P><B>Customizing:</B></P> <P>The applet tag contains two tags :<BR> 'shapefile' the relative address of the shapefile to load.<BR> 'tooltip' the name of the colum to pull the tooltips from</P> <P><B>Key classes introduced</B></P> <P>geotools.GeoData</P> <P></P> <H3>Example 3</H3> <P><A HREF="Example3.html">View</A><B></B></P> <P><B>Description:</B></P> <P>An extension of example2 that show how to shade a map</P> <P><B>Customizing:</B></P> <P>The applet tag contains three tags :<BR> 'shapefile' the relative address of the shapefile to load.<BR> 'tooltip' the name of the colum to pull the tooltips from<BR> 'shadeby' the name of a data column </P> <P><B>Key classes introduced</B></P> <P>geotools.Shader<BR> geotools.ClassificationShader<BR> geotools.Key<BR> </P> <H3>Example 4</H3> <P><A HREF="Example4.html">View</A><B></B></P> <P><B>Description:</B></P> <P>A simple extention of Example 3 introducing a new navigation widget</P> <P><B>Customizing:</B></P> <P>The applet tag contains three tags :<BR> 'shapefile' the relative address of the shapefile to load.<BR> 'tooltip' the name of the colum to pull the tooltips from<BR> 'shadeby' the name of a data column </P> <P><B>Key classes introduced</B></P> <P>widgets.ZoomLevelPicker<BR> </P> <H3>GraphApplet Example</H3> <P><A HREF="GraphApplet.html">View</A><B></B></P> <P><B>Description:</B></P> <P>A fairly complete applet showing how a graph and chart can be linked through a highlight manager.</P> <P><B>Customizing:</B></P> <P>The applet tag contains a large number of tags :<BR> param name="shapefile" value="nameOfShapefileWithoutExtension"<br> param name="tooltip" value="nameOfColumn"<br> param name="groups" value="numberOfGroups"<br> param name="groupXcol" value="nameOfColumn" // for each group<br> param name="groupXcolor" value="#rrggbb hex colour reference"<br> param name="groupXname" value="Description of group"<br> <P><B>Key classes introduced</B></P> <P>widgets.PieChart<BR> geotools.GeoLabel<br> geotools.HighlightManager<br> </P> </BODY> </HTML> |