I have to develop a Java Applet that tracks the current position of=20
different shuttle busses in the University.
The map of my city/university should be shown in the applet as Shape files.=
The busses should be shown as some icons (something like gifs).
Before i dive into any development i need to make a right choice on the=20
software that i need to use along with Java to show the shape files in the=
Hence, my question is, Does GeoTools provide the following functionality?
1. Showing different shape-files in different layers of an applet.
2. Ability to turn on/off layers/shape-files.
3. Since the location of the busses will be changing every second, the=20
geo-position of the icons (shapes or busses) will be changing every second.=
Will i be able to dynamically refresh the layer showing the different busse=
4. Will i be able to put the functionality like panning, zoom-in, zoom-out,=
looking at the attributes of a shape file .. things like that ?
How much of GIS knowledge is required to accomplish the above tasks?
Thanks a lot in advance,
You should look at Geoserver + Mapbuilder. I'm not sure where your bus
locations are stored, but if they're in a database you should be able
to put together a VERY simple proof-of-concept in a few days (+ a few
days to learn everything).
Just put your shapefiles & colourings in Geoserver and use its WMS to
make "background pictures". Use Mapbuilder to do your WFS requests (to
geoserver) for the bus locations & have it draw them on-the-client
(alternative, you could use the bus locations as another WMS layer -
you can try both. WMS will be easier). Mapbuilder already has tools
for doing zooming and panning.
If the bus location isnt stored in a database (ie. some sort of
proprietary format or service) you will have to make a read-only
datastore. Hopefully you'll be able to do this in a day or so (there's
Geoserver is a WFS and WMS built on Geotools, Mapbuilder is a
java-script based toolkit for communicating with WFS and WMSs.
Come over to the Geoserver-devel mailing list for Geoserver info and
Mapbuilder-devel for mapbuilder information - we'll be glad to help.
This mail sent through IMP: https://webmail.limegroup.com/