Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thisisaaronland opened this issue Dec 10, 2020 · 0 comments
Open

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

thisisaaronland opened this issue Dec 10, 2020 · 0 comments

Comments

@thisisaaronland
Copy link
Member

Principally for use with the SQLite-related 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 thisisaaronland changed the title https://github.com/whosonfirst/go-whosonfirst-spatial-http/issues/2 Allow empty go-whosonfirst-index -mode flag Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant