gh-BertoldVdb-ZoneDetect/database/README.md
Jan-Piet Mens 0a778e14ee
Update README.md
add Bertold's description about the file names.

https://github.com/BertoldVdb/ZoneDetect/issues/43#issuecomment-1917285937
2024-01-30 16:53:27 +01:00

14 lines
740 B
Markdown

# Database files
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.
The numbers in on the file names indicate the resolution. The `*21` file has a higher resolution for storing the borders, but it is larger. The `*16` file has a longitude resolution of 0.0055 degrees (~0.5km) and the `*21` file has 0.00017 degrees (~20m)