I'm trying to get the distance between two points with JTS.The problem is that taht this function with JTS
new Coordinate(Lon1,Lat1).distance(new Coordinate(Lon2,Lat2))Is giving a different result from this function used in postgis(wich provides the good distance)
ST_Distance_Sphere(point1,point2)Any help will be appreciated..
أكثر...
new Coordinate(Lon1,Lat1).distance(new Coordinate(Lon2,Lat2))Is giving a different result from this function used in postgis(wich provides the good distance)
ST_Distance_Sphere(point1,point2)Any help will be appreciated..
أكثر...