From 14d9777f00bc28af9f790b1f74c68d61ff6b6172 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 24 Jan 2020 16:16:48 -0500 Subject: [PATCH] Add builder instructions to the database README.md --- database/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/database/README.md b/database/README.md index 54e921e..ba4572d 100644 --- a/database/README.md +++ b/database/README.md @@ -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.