[postgis-users] Units for distance function
Dave Potts
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
Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave.potts.vcf
Type: text/x-vcard
Size: 85 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070727/a7167d18/attachment.vcf>
More information about the postgis-users
mailing list