[Geotools-gt2-users] Shapefiles and graphs

2008-01-16 Thread Cate
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

Re: [Geotools-gt2-users] Shapefiles and graphs

2008-01-16 Thread Chris
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

Re: [Geotools-gt2-users] Shapefiles and graphs

2008-01-16 Thread Justin Deoliveira
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

Re: [Geotools-gt2-users] Help creating a shapefile and saving to file

2008-01-16 Thread Jody Garnett
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