[postgis-users] Units for distance function
dave.potts at pinan.co.uk
Fri Jul 27 00:44:17 PDT 2007
Michael Fuhr wrote:
> On Fri, Jul 27, 2007 at 01:49:28AM +0100, Dave Potts wrote:
>> What units does the distance function use? am I correct in thinking its
>> derrived from the srid type of the geometry column?
> Distance/st_distance returns the distance between two geometries
> in whatever units the geometries use (meters, feet, degrees, etc.).
>> So in the case of the British national grid srid 2770 the correct unit
>> to use is the meter
> I assume you mean SRID 27700, in which case distances would be meters.
Thank You, its always nice to have a guess confirmed
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 85 bytes
Desc: not available
More information about the postgis-users