Merge pull request #21 from nicholasbishop/bishop-builder-readme

Add builder instructions to the database README.md
This commit is contained in:
Bertold Van den Bergh 2020-01-26 00:17:36 +01:00 committed by GitHub
commit 785e4cc589
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,12 @@
# Database files
Please download the database files [here](https://cdn.bertold.org/zonedetect/db/db.zip) or create them using the builder.
Please download the database files [here](https://cdn.bertold.org/zonedetect/db/db.zip) or create them using the builder.
To use the builder, first install [shapelib](https://github.com/OSGeo/shapelib), then:
cd database/builder
./makedb.sh
This will create database files in `out` and `out_v1`, as well as a `db.zip` containing both directories.
The files in the folder out\_v1/ use a newer format and use less space to encode the same information.