Bertold Van den Bergh
403ff12e7d
Use latest version of database
2020-11-19 16:59:41 +01:00
Bertold Van den Bergh
05567e3675
Merge pull request #26 from hannob/fix_mmap_error
...
properly check error for mmap
2020-05-25 20:43:31 +02:00
Hanno Böck
d583247235
properly check error for mmap
2020-05-20 14:55:17 +02: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
Bertold Van den Bergh
d15e28b40c
Merge pull request #20 from nicholasbishop/bishop-makedb-err
...
makedb.sh: fail if a command exits non-zero
2020-01-26 00:18:04 +01:00
Bertold Van den Bergh
785e4cc589
Merge pull request #21 from nicholasbishop/bishop-builder-readme
...
Add builder instructions to the database README.md
2020-01-26 00:17:36 +01:00
Bertold Van den Bergh
51c7eb1b7e
Merge pull request #22 from nicholasbishop/bishop-add-demo-makefile
...
Add a Makefile and more documentation for the demo
2020-01-26 00:17:05 +01:00
Bertold Van den Bergh
e9d4ae396b
Merge pull request #23 from nicholasbishop/bishop-add-gitignore
...
Add a gitignore file
2020-01-26 00:16:27 +01:00
Bertold Van den Bergh
f1afbf7243
Merge pull request #24 from nicholasbishop/bishop-add-stddef
...
Include stddef.h for size_t
2020-01-26 00:15:50 +01:00
Nicholas Bishop
b8400b71b9
Include stddef.h for size_t
2020-01-24 17:00:10 -05:00
Nicholas Bishop
529cd09924
Add a gitignore file
2020-01-24 16:31:52 -05:00
Nicholas Bishop
4b7c83e4fb
Add a Makefile and more documentation for the demo
...
This adds a simple `make demo` target that builds the demo with
`gcc`. The readme is also updated to mention the make target and give
an example of how to run it. The example should make clearer what is
to be passed in as the `dbname` parameter; initially I tried `db.zip`
and passing in the `out_v1` directory path before realizing that each
of the database files is separate and that the full path should be
given.
2020-01-24 16:27:31 -05:00
Nicholas Bishop
14d9777f00
Add builder instructions to the database README.md
2020-01-24 16:17:18 -05: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
2f8dcc91f1
Repair bad commit
2020-01-15 22:11:54 +01:00
Bertold Van den Bergh
5cdc5c9722
Add warning message for endpoint switch
2020-01-15 22:03:12 +01:00
Bertold Van den Bergh
44fc1ab2ee
Fix edge case for points on border
2019-12-13 17:50:39 +01:00
Bertold Van den Bergh
2f1bfdebe2
Update makefile and add margin to border detection to cover rounding
2019-12-13 16:15:25 +00:00
Bertold Van den Bergh
f52c8f4135
Add ocean regions to database
2019-12-13 16:12:44 +00:00
Bertold Van den Bergh
abba171e96
Build on AWS Linux so C++ library does not need to be packaged
2019-12-03 17:01:36 +01:00
Bertold Van den Bergh
6db9dca021
Only set safezone if a result was found, otherwise it is meaningless.
2019-11-20 19:10:14 +01:00
Bertold Van den Bergh
6ab3a273a4
Readd safezone to web interface
2019-11-20 16:59:49 +01:00
Bertold Van den Bergh
57f36c2956
Merge pull request #19 from flederwiesel/master
...
Version suffixes being used for non-Windows library.
2019-11-19 18:07:49 +01:00
flederwiesel
95cfc5e39b
Add version suffix to library for non-Windows build.
2019-11-19 12:19:56 +01:00
flederwiesel
8a2852bb86
Fix error: "-fPIC ignored for target (all code is position independent)" for Windows build.
2019-11-19 12:19:49 +01:00
flederwiesel
2ee7048144
Add GNU hash to library for non-Windows build.
2019-11-19 12:18:18 +01:00
flederwiesel
f936f63aa0
Use install's --strip option.
2019-11-19 10:53:25 +01:00
Bertold Van den Bergh
ceca53b478
Use v0 database as it is faster but bigger
2019-11-18 00:00:45 +01:00
Bertold Van den Bergh
c439c70599
Add license file
2019-11-17 23:48:10 +01:00
Bertold Van den Bergh
def759af1d
Add build badge
2019-11-11 11:58:30 +01:00
Bertold Van den Bergh
cff7b191f7
Initialize point to zero
2019-11-11 11:53:49 +01:00
Bertold Van den Bergh
a214a3bd13
Merge pull request #17 from flederwiesel/master
...
Add support for cross-compile and debug build
2019-11-11 11:51:37 +01:00
flederwiesel
dc2311d87d
Compile with debug info and do not strip if DEBUG is set (not evaluating its value...).
2019-11-11 10:10:51 +01:00
flederwiesel
1c16caf956
Add DESTDIR as well as target directory specifiers as is common with autotools. Use install program instead of cp. Execute ldconfig only if DESTDIR is not set -- assuming DESTDIR is set for cross compile only.
2019-11-11 10:05:55 +01:00
flederwiesel
dafa4c6358
Add libzoneinfo.{dll,so} and zonedetect.o to '.gitignore'.
2019-11-11 10:04:36 +01:00
flederwiesel
5bd300c407
Make phony targets .PHONY
2019-11-11 09:59:47 +01:00
Bertold Van den Bergh
db66d4475a
Correct readme
2019-11-10 21:29:28 +01:00
Bertold Van den Bergh
a1d9ccb707
Update readme
2019-11-10 21:28:07 +01:00
Bertold Van den Bergh
a34073a09c
Make result cacheable
2019-11-10 17:28:36 +01:00
Bertold Van den Bergh
2ad7f9fdeb
Add cloudformation template to repository
2019-11-10 15:34:23 +01:00
Bertold Van den Bergh
f4c4fe5ce6
Update location of timezone21.bin for lambda
2019-11-10 13:45:09 +01:00
Bertold Van den Bergh
d56ab7041f
Update buildspec
2019-11-10 13:37:47 +01:00
Bertold Van den Bergh
b7ff83360f
Update buildspec
2019-11-10 13:35:39 +01:00
Bertold Van den Bergh
42fbf748ca
Update buildspec
2019-11-10 13:34:22 +01:00
Bertold Van den Bergh
b5ff4c0caa
Use buildspec file for lambda
2019-11-10 12:53:48 +01: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
38c9a4d1b3
Replace node.js lambda with C++ one
2019-11-10 01:55:24 +01:00
Bertold Van den Bergh
db647386d9
Update database URL
2019-11-10 01:31:16 +01:00