This doesn't seem to be working properly or I'm doing something wrong.. query = db.providers.geolocation.st_distance(geoPoint(51.340245, > 5.530007))<5 > providers = db(query).select() >
I currently have one record. It's geometry field holds this value: *POINT(51.247427 5.89289)*I'm using a hardcoded geoPoint to test it. It is AT LEAST 5 kilometers away from the geoPoint in the record. However.. it is still showing up in the results. What am I doing wrong? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.