[TYPO3-dev] Remove records from extbase query result

bernd wilke t3ng at bernd-wilke.net
Fri Jan 17 09:02:47 CET 2014


Am 16.01.14 18:02, schrieb Dirk Wenzel:
> Hi Philipp,
> just for the sake of completeness: if it *would* be possible to use the
> haversine algorithm with a $query->calculate(...) I would not do it
> because that would require to perform this calculation on _each_ record.

are you sure you need haversine?
in practical use (distances < 100km) and not near the poles I don't 
expect the 'circle' too much deformed if you use only the much simpler 
euklidean algorithm.

bernd
-- 
http://www.pi-phi.de/cheatsheet.html



More information about the TYPO3-dev mailing list