If you want you could take the code (attached..) get the original code by Paul crease, make sure that the CRS is WGS84 and use a precision model if necessary ! In my case my data needed a precision model.

3/30 GMLチェックツール <gml.check.tool@gmail.com>
Could you share back the solution to the community?

(2011/03/30 19:38), mounir younes wrote:
I figured out the solution to this ! If anyone is interested let me know :D

On Tue, Mar 29, 2011 at 2:30 PM, mounir younes <mounir.younes@gmail.com <mailto:mounir.younes@gmail.com>> wrote:

   Hello, I have a problem concerning finding the shortest path from
   several points (stored in shapefile) to a certain point using some
   roads (stored in another shapefile). Thanks to Paul Crease, he
   gave the solution to this but using EPSG:21781.

   What I have been trying to do for a week was to use the code on
   another dataset with WGS84 CRS.

   I have been trying a lot but I couldn't succeed in that ! I have
   attached the original code (by Paul Crease) and original dataset
   as well as the updated code with the new dataset.

   Could someone help me?

   What I tried was to use the geotedic calculator and
   DirectPosition2D instead of points. I need help ASAP because I am
   working on this project and need to submit it soon.

   Thank you everyone

Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar

Geotools-gt2-users mailing list