[OpenLayers-Users] Re: how to transform meters to degrees for radius paramater of st_dwithin function

Rossko rossko at culzean.clara.co.uk
Tue Oct 11 05:31:48 EDT 2011


> how to send the radius parameter which should be in spatial ref system
units (i.e., degrees)

Beware that you may not get accurate results that way.   How much ground a
degree spans depends where in the world you are looking, and can be very
different for latitude than longitude.  The effect may be more or less
significant depending what you are doing.

Why not just send the distance and have your server-side query code do the
work?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-transform-meters-to-degrees-for-radius-paramater-of-st-dwithin-function-tp6877616p6880249.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list