[web2py] Re: st_dwithin

2016-05-19 Thread Pierre
Hi DenesL, I didn't test *st_dwithin* with use_spheroid because I changed my "strategy" to use geometry fields instead of geography's for GIS calculations. The function I really miss and am willing to test is *st_transform ( st_interpolate* could be good too*)*. So far I did some calculati

[web2py] Re: st_dwithin

2015-12-06 Thread Pierre
Great !! I'd prefer to use Web2py api instead of executesql but I've read the latter is faster (speed might be a concern in my case). I'll do the modifications you suggest and see if it works. I hope this won't corrupt Web2py magical harmony thanks -- Resources: - http://web2py.com - http:/

[web2py] Re: st_dwithin

2015-12-05 Thread 'DenesL' via web2py-users
Not with the current sources but they can be modified. You can always use executesql to run a SQL command. The actual command depends on what you are doing. If you are running from source, modifying it is not that hard. In \gluon\packages\dal\pydal\objects.py replace (at line 1328 in ver.2.12.03