summaryrefslogtreecommitdiff
path: root/map-server
Commit message (Collapse)AuthorAge
* Use discovered java path for compiler and jni include filesKeith Packard2019-07-17
| | | | | | | | Instead of using the discovered java bits just for jni.h, also use javac from that directory. Add JAVA_VERSION param to set language version for newer compilers. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use strip-nondeterminism to fix JAR timestampsKeith Packard2019-02-03
| | | | | | | | .jar files are just zip files, and contain dates. These will cause the build to be non-reproducible. Use strip-nondeterminism to smash all of these back to a fixed value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Add --max-zoom to limit tile loading. Set default to 15.Keith Packard2018-10-07
| | | | | | | This ensures that we won't end up serving huge numbers of high resolution images. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Check nearest portion of tile to launch siteKeith Packard2018-10-07
| | | | | | | | We limit tile queries to those within 17km of a known launch site. Change the check to look at the portion of the tile nearest each launch site, instead of only checking the center location of the tile. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-map: Switch from json FD ops to json FILE opsKeith Packard2018-10-07
| | | | | | Older versions (in Debian stable) do not have the fd-based operations. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Handle clients failing to send valid JSONKeith Packard2018-10-07
| | | | | | Just bail if the data we receive doesn't generate a json value. Signed-off-by: Keith Packard <keithp@keithp.com>
* map-server: Implement altos-map in CKeith Packard2018-10-07
| | | | | | | This app is all about startup time, and java starts slowly. Re-implement in C to improve server performance. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Install systemd service file and defaults fileKeith Packard2018-10-06
| | | | | | This lets the map service 'just work' if enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-map: Support version query from applicationKeith Packard2018-10-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Install altosmapd.jar fileKeith Packard2018-10-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Make cache service listen queue longerKeith Packard2018-10-06
| | | | | | Just in case the service gets busy, make the listen queue longer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Clean up log messagesKeith Packard2018-10-06
| | | | | | | Generate a single log message per request with remote address, parameters and result code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: remove debug printfKeith Packard2018-10-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-map: Retry connection to cache serviceKeith Packard2018-10-06
| | | | | | | Just in case the cache service gets busy, retry the connection instead of immediately failing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Add geo-fencing for map requests. Add port and key argumentsKeith Packard2018-10-06
| | | | | | | | | | | | Map requests are now limited to a region within 17km of any registered launch site. The --port argument allows the listen port to be changed. The --key argument provides the name of a file containing the Google maps API key. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-mapd: Use command line to pass map directory inKeith Packard2018-10-06
| | | | | | Don't bother with a default value, just require a command line param. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-map: Install .jar file for altos-mapKeith Packard2018-10-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-map: Fix altos-map HTTP syntaxKeith Packard2018-10-06
| | | | | | | Add blank line between header and content. Make error pages have actual HTML content. Signed-off-by: Keith Packard <keithp@keithp.com>
* map-server: Add maps proxy serverKeith Packard2018-10-06
This creates a map proxy server to handle the new Google Maps API requirements Signed-off-by: Keith Packard <keithp@keithp.com>