Hello,
I have to implement an application to calculate the distance between two points
of a map. My maps are stored in ShapeFiles so using GeoTools I have to convert
them into a graph and then apply Dijkstra algorithm. Easy to say, but a bit
harder to do.
It's my first experience using GeoTools
You can probably have a look at this:
http://www.ifremer.fr/cartoweb3/plugins/routing/server/src/org/cartoweb/routing/
This helped me a lot when I started.
Chris.
On Jan 16, 2008 2:56 PM, Cate [EMAIL PROTECTED] wrote:
Hello,
I have to implement an application to calculate the distance
You can also have a look at some quick docs about the geotools graph module:
http://docs.codehaus.org/display/GEOTDOC/Graphs
-Justin
Chris wrote:
You can probably have a look at this:
http://www.ifremer.fr/cartoweb3/plugins/routing/server/src/org/cartoweb/routing/
This helped me a lot when
Gabriella Turek wrote:
dataStore.forceSchemaCRS(currentCRS);
There is no need for this line if your original feature type had CRS
information.
-
This SF.net email is sponsored by: Microsoft
Defy all