[postgis-users] unit

Markus Schaber schabi at logix-tt.com
Tue Jan 24 06:06:32 PST 2006


Hi, Gilbert,

Gilbert, Antoine wrote:

> When you are using functions like Distance(geometry, geometry), withinh
> SQL queries, does it exists an easy way to tell the system I want
> kilometer units ?

If your coordinates are in lat/long, than have a look at
distance_spheroid and distance_sphere, they give the distance in meters.

Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-users mailing list