Commit graph

22 commits

Author SHA1 Message Date
Bertold Van den Bergh
082fa6b148 Update download URLs to make new version 2024-09-13 22:38:34 +02:00
Bertold Van den Bergh
528960dd41 Update database to 2023b 2023-11-24 13:46:21 +01:00
Pavel Kalian
ec817d8ec8
Add <cstdint> include to allow build with GCC 13 2023-05-09 21:39:12 -03:00
Bertold Van den Bergh
cca7eb551b Add support for building database 2022f 2022-11-01 14:13:58 +01:00
Otto Sievert
1f2b964626 build: fix builder compilation on macOS
- assert() is already defined, so rename this assert() to assert_()
- std::tie is a c++11 feature; on macOS, g++ maps to clang and clang
    defaults to c++old, so explicitly declare the c++ version
- these changes should be benign on other platforms (e.g., Linux)
2022-01-27 06:34:45 -08:00
Nicholas Bishop
37a2f204b1 Fix broken download of ne.zip
Partially reverts 6a1d2a6165. naciscdn.org
is down and judging from other projects' github issues this seems to be
common.
2021-09-06 16:46:46 -04:00
Bertold Van den Bergh
6a1d2a6165 Update download URL for NE countries database + TZ path 2020-11-19 17:31:58 +01:00
Bertold Van den Bergh
403ff12e7d Use latest version of database 2020-11-19 16:59:41 +01:00
Bertold Van den Bergh
ff37a28524 Do apt update during build 2020-04-28 22:17:55 +02:00
Bertold Van den Bergh
5c5e4f5638 Update to 2020a version of database 2020-04-28 22:04:04 +02:00
Nicholas Bishop
4b122f5817 makedb.sh: fail if a command exits non-zero
In particular this better handles the case where the `g++` command
fails (e.g. due to not having shapelib installed). The script should
not continue if that command fails.
2020-01-24 15:58:56 -05:00
Bertold Van den Bergh
f52c8f4135 Add ocean regions to database 2019-12-13 16:12:44 +00:00
Bertold Van den Bergh
d09c675ce3 Parallel database build 2019-11-10 12:47:26 +01:00
Bertold Van den Bergh
53820ce780 Add buildspec file for database 2019-11-10 12:28:39 +01:00
Bertold Van den Bergh
91fcb5f9fe Do not output wget log 2019-11-10 00:54:17 +01:00
Bertold Van den Bergh
08927dd109 Add installcommand to makedb 2019-11-10 00:41:25 +01:00
Bertold Van den Bergh
591a75df2f Update database builder script 2019-08-14 18:22:36 +02:00
Bertold Van den Bergh
b0c3fd928f Update builder to support generating v1 and v0 database 2019-08-14 18:02:36 +02:00
Bertold Van den Bergh
1cc05dbac3 Split up point reading and polygon checking. Add function to get list of points 2019-08-14 14:51:57 +02:00
Bertold Van den Bergh
71a5187802 Reduce filesize further by not encoding points multiple times (not well tested, do not use) 2019-08-14 00:54:40 +02:00
Bertold Van den Bergh
4269644520 Avoid encoding useless tuples, change format for more efficient diff encoding. 2019-08-13 16:40:31 +02:00
Bertold Van den Bergh
82e2323242 Upload database generation code (not very clean...) 2019-01-10 21:03:08 +01:00