Reputation: 145
I'm trying to use postgis for calculate distance between cities. For example, the distance between Moscow and SPb is ~637 km (via measure distance in Google Maps). When I use postgis:
select ST_Distance(
ST_Point(59.925632, 30.327239),
ST_Point(55.750352, 37.615717),
true
);
then I get 895 km
Can anyone tell me, why such an error in this measurement?
Upvotes: 0
Views: 623