We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28a3ac commit 66f5ffcCopy full SHA for 66f5ffc
spatialite/knn.md
@@ -15,6 +15,10 @@ curl 'https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.geojso
15
```
16
This will create a `usgs.db` SpatiaLite database with a spatial index.
17
18
+This should have a `knn` virtual table already. If one does not exist you can create one like this:
19
+
20
+ sqlite-utils --load-extension=spatialite usgs.db 'CREATE VIRTUAL TABLE knn USING VirtualKNN();'
21
22
Open it in Datasette like this:
23
24
```bash
0 commit comments