|
From: James M. <jma...@us...> - 2001-12-22 20:23:31
|
Update of /cvsroot/geotools/geotools/src/demonstrations
In directory usw-pr-cvs1:/tmp/cvs-serv5124/demonstrations
Modified Files:
readme.html
Log Message:
added ImageExample to the list of described demos
Index: readme.html
===================================================================
RCS file: /cvsroot/geotools/geotools/src/demonstrations/readme.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -w -C2 -d -r1.2 -r1.3
*** readme.html 2001/11/29 21:14:44 1.2
--- readme.html 2001/12/22 20:23:28 1.3
***************
*** 19,26 ****
<P>The GeoTools open source java mapping toolkit is a flexible library of routines and objects that can be used
to build interactive web-based applets, as well as stand alone 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 additional code are required.</P>
-
<P>This package aims to provide a suite of small applets that can either be used 'as is', or as a starting point
for more advanced programs. (Alternatively, you might just want to cannibalise bits out of each one).</P>
--- 19,24 ----
***************
*** 28,38 ****
<P>This directory contains everything you need to get started with GeoTools, including the latest release of GeoTools
together with support files, sample maps and example web pages.</P>
-
<P>In the directory that you find this file in, you will see a series of examples. For each there are three files:
an <B>.html</B>, a <B>.java</B> and a <B>.class</B> file (e.g. Example1.html, Example1.java and Example1.class).</P>
-
<P>You will also find two directories: one called <B>maps</B>, which contains the maps used in the examples, and
one called <B>jars</B>, which contains the GeoTools toolkit itself and some support files that it uses.</P>
-
<P>So, in total, we have:</P>
--- 26,33 ----
***************
*** 57,101 ****
<P>Java 1.1 or later: either on its own or built into a browser. You will find Java built into most modern browsers
by default.</P>
!
! <P></P>
<H2><A NAME="Demonstrations"></A>Demonstrations</H2>
<P>The following demonstrations have been put together 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 would normally be the case.</P>
!
<P>If you are a non-programmer, then you will probably only be interested in the html files. Try each demo and
see which one does what you need. As the demos progress, they add more features. In order to use your own maps,
you will need to modify the tags in the html file. You should not need to worry about the code found in the .java
files yet.</P>
-
<P>Each demonstration listed below takes the following format:</P>
<H3>Title - the name of the demo</H3>
<P>Link - an active link which will take you to a page which shows the demo running</P>
-
<P><B>Description: </B>- a quick overview of what the demo does</P>
-
<P><B>Customizing: -</B>a list of things which can be changed from the html tags without the need to re-program
anything</P>
-
<P><B>Key classes: -</B>a list of GeoTools components that were introduced for the first time in this demo. Don't
worry about this if you are not a programmer</P>
-
<P>Right, on with the show...</P>
-
<P>
<H3>Example 1</H3>
<P><A HREF="Example1.html">View</A></P>
<P><B>Description:</B></P>
-
<P>A very simple applet that shows how a shapefile can be read and displayed 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>
--- 52,83 ----
<P>Java 1.1 or later: either on its own or built into a browser. You will find Java built into most modern browsers
by default.</P>
! <P>
<H2><A NAME="Demonstrations"></A>Demonstrations</H2>
<P>The following demonstrations have been put together 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 would normally be the case.</P>
<P>If you are a non-programmer, then you will probably only be interested in the html files. Try each demo and
see which one does what you need. As the demos progress, they add more features. In order to use your own maps,
you will need to modify the tags in the html file. You should not need to worry about the code found in the .java
files yet.</P>
<P>Each demonstration listed below takes the following format:</P>
<H3>Title - the name of the demo</H3>
<P>Link - an active link which will take you to a page which shows the demo running</P>
<P><B>Description: </B>- a quick overview of what the demo does</P>
<P><B>Customizing: -</B>a list of things which can be changed from the html tags without the need to re-program
anything</P>
<P><B>Key classes: -</B>a list of GeoTools components that were introduced for the first time in this demo. Don't
worry about this if you are not a programmer</P>
<P>Right, on with the show...</P>
<P>
<H3>Example 1</H3>
<P><A HREF="Example1.html">View</A></P>
<P><B>Description:</B></P>
<P>A very simple applet that shows how a shapefile can be read and displayed 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>
***************
*** 105,140 ****
<H3>Example 2</H3>
<P><A HREF="Example2.html">View</A></P>
-
<P><B>Description:</B></P>
-
<P>An extension of Example1 that shows how to set up tooltips</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 column to pull the tooltips from</P>
-
<P><B>Key classes introduced:</B></P>
-
<P>geotools.GeoData</P>
-
<P>
<H3>Example 3</H3>
<P><A HREF="Example3.html">View</A></P>
-
<P><B>Description:</B></P>
-
<P>An extension of Example2 that shows 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 column 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>
--- 87,109 ----
***************
*** 142,169 ****
<H3>Example 4</H3>
<P><A HREF="Example4.html">View</A></P>
-
<P><B>Description:</B></P>
-
<P>A simple extension of Example3, 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 column to pull the tooltips from<BR>
'shadeby' - the name of a data column</P>
-
<P><B>Key classes introduced</B></P>
-
<P>widgets.ZoomLevelPicker</P>
! <H3>GraphApplet Example</H3>
! <P><A HREF="GraphApplet.html">View</A></P>
<P><B>Description:</B></P>
! <P>A fairly complete applet showing how a map and graph 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>
--- 111,145 ----
<H3>Example 4</H3>
<P><A HREF="Example4.html">View</A></P>
<P><B>Description:</B></P>
<P>A simple extension of Example3, 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 column to pull the tooltips from<BR>
'shadeby' - the name of a data column</P>
<P><B>Key classes introduced</B></P>
<P>widgets.ZoomLevelPicker</P>
! <H3>ImageExample</H3>
! <P><A HREF="ImageExample.html">View</A><A HREF="GraphApplet.html"></A></P>
<P><B>Description:</B></P>
! <P>A simple applet which shows how to use an image layer</P>
<P><B>Customizing:</B></P>
+ <P>The applet tag contains only two tags:<BR>
+ param name="image" value="nameOfImageFile"<BR>
+ param name="bounds" value="x,y,width,height"<BR>
+ </P>
+
+ <P><B>Key classes introduced:</B></P>
+
+ <P>uk.ac.leeds.ccg.raster.ImageLayer</P>
+ <H3>GraphApplet Example</H3>
+ <P><A HREF="GraphApplet.html">View</A></P>
+ <P><B>Description:</B></P>
+ <P>A fairly complete applet showing how a map and graph 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>
|