Closed thisisaaronland closed 3 years ago
This will require "SPRTableOptions" along the lines of:
rtree_opts, err := tables.DefaultRTreeTableOptions()
if err != nil {
logger.Fatal("failed to create 'rtree' table options because %s", err)
}
rtree_opts.IndexAltFiles = *alt_files
Added in v0.6.0
This would allow the
go-whosonfirst-spatial-sqlite
table to inflatecache.SPRCacheItem
elements directly from thespr
table rather thegeojson
table.The
go-whosonfirst-spatial
SPR caching layer is doing a bunch of stuff with geometries that will need to be accounted for (and ideally removed).