Commit Graph

71 Commits

Author SHA1 Message Date
Sascha L. Teichmann
c428756beb mtwebmapper: First version of pyramid tile updater. Needs testing. 2014-09-21 17:30:19 +02:00
Sascha L. Teichmann
4e80236e26 mtwebmapper: Pass right base dir to pyramid update workers. 2014-09-21 13:29:03 +02:00
Sascha L. Teichmann
58d30b1323 mtwebmapper: Do not fire up too many base tile re-generator workers if there is not much to do. 2014-09-21 13:18:13 +02:00
Sascha L. Teichmann
33337d5df2 mtwebmapper: Added scaffold for updating the pyramid tiles. TODO: Implement th actual imaging stuff. 2014-09-21 12:57:21 +02:00
Sascha L. Teichmann
2709761255 mtwebmapper: Added fast path for rendering RGBA sub base level tiles. Up to 5-10x faster. 2014-09-20 23:53:09 +02:00
Sascha L. Teichmann
8c29975d27 Fixed tile offset. 2014-09-20 21:57:01 +02:00
Sascha L. Teichmann
216f641fa3 mtwebmapper: Move BaseTileCreator to common. TODO: Make mtseeder use it, too. 2014-09-20 15:21:01 +02:00
Sascha L. Teichmann
b3ce895294 mtwebmapper: renamed yRanges to tileDepths in preparation of moving the BaseTileCreator to common. 2014-09-20 14:39:51 +02:00
Sascha L. Teichmann
3e4c1aa2d9 mtwebmapper: To avoid possible races when serving tiles the same time as re-generating them the re-generation write them to temp files and rename them afterwards. 2014-09-20 12:28:38 +02:00
Sascha L. Teichmann
e899b13889 Regenerate base tiles when db signals changes. TODO remove duplicate code from mtseeder. 2014-09-19 13:06:04 +02:00
Sascha L. Teichmann
3f13738d41 Initial decoding from incoming block changes. 2014-09-18 15:21:40 +02:00
Sascha L. Teichmann
617a3081b2 mtwebmapper: Some code cleanup in sub baseline rendering. 2014-09-18 11:32:55 +02:00
Sascha L. Teichmann
ed9e37e892 mtwebmapper: Cleaned up gorilla mux usage a bit. Added stub for post target to get changes from mtredisalize server. 2014-09-18 07:52:37 +02:00
Sascha L. Teichmann
29845a259d Moved sub baseline tile generation into separate file. 2014-09-17 17:20:07 +02:00
Sascha L. Teichmann
44a0d097c0 If we can't stat a base tile we can't deliver a sub tile -> 404. 2014-09-16 22:17:55 +02:00
Sascha L. Teichmann
c42be33ba9 Generate ETags and encode PNG directly to response stream. 2014-09-16 18:52:50 +02:00
Sascha L. Teichmann
3943c7cc5d Go fmt'ed. 2014-09-16 16:10:18 +02:00
Sascha L. Teichmann
48819a42a9 Used fix point arithmetic in scaler. 2014-09-16 15:49:14 +02:00
Sascha L. Teichmann
c67739fd77 Replace false rounding scaler with self written one. 2014-09-16 15:30:08 +02:00
Sascha L. Teichmann
25c189351c Added TODO 2014-09-16 11:24:00 +02:00
Sascha L. Teichmann
e46968bbfd Added first version of the web server to drive the online mapping. 2014-09-16 03:29:28 +02:00