Added datasette-haversine to plugins list

pages
Simon Willison 2019-11-27 06:04:32 -08:00 zatwierdzone przez GitHub
rodzic df2879ee2a
commit f9d0ce4233
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -110,6 +110,15 @@ datasette-pretty-json
`datasette-pretty-json <https://github.com/simonw/datasette-pretty-json>`__ seeks out JSON values in Datasette's table browsing interface and pretty-prints them, making them easier to read.
datasette-haversine
-------------------
`datasette-haversine <https://github.com/simonw/datasette-haversine>`__ provides a SQL ``haversine()`` function which can calculate the haversine distance between two geographical points. You can then sort by this distance to find records closest to a specified location.
::
select haversine(lat1, lon1, lat2, lon2, 'mi');
datasette-sqlite-fts4
---------------------