[postgis-users] unit

Gilbert, Antoine AGilbert at korem.com
Mon Jan 23 12:54:35 PST 2006


I wonder if there is a better way to achieve this, suppose you don't
know the projection of a given geometry

-----Original Message-----
From: David Bitner [mailto:osgis.lists at gmail.com] 
Sent: January 23, 2006 3:53 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] unit

The units that are returned are the units that the projection your
data is in.  For example, if your data is in meters then the distance
returned will be in meters to get your distance in kilometers, you
could use this query Distance(geometry,geometry)/1000.


On 1/23/06, Gilbert, Antoine <AGilbert at korem.com> wrote:
>
>
>
> Hi
>
>
>
> 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 ?
>
>
>
> Antoine
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
>
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list