[postgis-users] unit

David Bitner osgis.lists at gmail.com
Mon Jan 23 12:53:26 PST 2006


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
>
>
>



More information about the postgis-users mailing list