-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
metadata.json
20 lines (20 loc) · 900 Bytes
/
metadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"title": "Cryptids and their ranges",
"license": "CC Attribution 4.0 License",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source": "simonw/cryptozoology",
"source_url": "https://github.com/simonw/cryptozoology",
"databases": {
"cryptids": {
"queries": {
"by_point": {
"sql": "select\n id, name, description,\n wikipedia_url, additional_url,\n first_sighted, last_sighted\nfrom\n cryptids\nwhere\n within(GeomFromText('POINT(' || :longitude || ' ' || :latitude || ')'), cryptids.geom)\n and rowid in (\n SELECT pkid FROM idx_cryptids_geom\n where xmin < :longitude\n and xmax > :longitude\n and ymin < :latitude\n and ymax > :latitude\n )\n",
"title": "Find cryptids with range encompassing a lat/lon"
}
}
}
},
"allow_sql": {
"id": "simon"
}
}