whosonfirst / go-whosonfirst-spatial-www

Opinionated web application for the go-whosonfirst-spatial packages.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Allow empty go-whosonfirst-index -mode flag #2

Closed thisisaaronland closed 3 years ago

thisisaaronland commented 3 years ago

Principally for use with the go-whosonfirst-spatial-http-sqlite package where the assumption is the -spatial-database-uri flag may reference a database that has already been indexed.

At present the work-around is do this:

go run -mod vendor cmd/server/main.go -... -mode directory://

Where we set the -mode flag but don't pass any files to index.

thisisaaronland commented 3 years ago

Replaced by https://github.com/whosonfirst/go-whosonfirst-spatial/issues/14