[postgis-users] Distance function is not in meters
Paul Ramsey
pramsey at cleverelephant.ca
Tue Mar 18 11:51:46 PDT 2008
distance_sphere(GeometryFromText('POINT(10 10)',4326),
GeometryFromText('POINT(11 11)',4326))
On 3/18/08, davidj2k <davidj2k at yahoo.com> wrote:
>
> I am trying to find the distance from a point to a polygon object and when I
> use the distance(geometry,geometry) function it returns something that is
> not in meters, I have been doing searches and all the examples of using this
> function shows it in meters but that is not what I am seeing for example if
> I use
>
> distance(GeometryFromText('POINT(10 10)',4326), GeometryFromText('POINT(11
> 11)',4326))
>
> I get
>
> 1.4142135623731
>
> How can I get this in meters? I need to do
> distance < 1000 meters
>
> --
> View this message in context: http://www.nabble.com/Distance-function-is-not-in-meters-tp16127891p16127891.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
>
> _______________________________________________
> 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