File: valid.test

package info (click to toggle)
groonga 16.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188,416 kB
  • sloc: ansic: 772,827; cpp: 52,396; ruby: 40,556; javascript: 10,250; yacc: 7,045; sh: 5,627; python: 2,821; makefile: 1,679
file content (15 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#@on-error omit
plugin_register functions/h3
#@on-error default

table_create Data TABLE_HASH_KEY ShortText
column_create Data location COLUMN_SCALAR WGS84GeoPoint

load --table Data
[
{"_key": "ClearCode: 35.80460x139.45649", "location": "35.80460x139.45649"},
{"_key": "Shin Tokorozawa: 35.80747x139.45602", "location": "35.80747x139.45602"},
{"_key": "Koku koen: 35.79841x139.46573", "location": "35.79841x139.46573"}
]

select Data --filter 'h3_in_grid_disk(location, "35.80460x139.45649", 10, 3)'