Sascha L. Teichmann
|
f708a7c44b
|
Added forgotten semikola in JS.
|
2015-03-04 09:33:07 +01:00 |
|
Sascha L. Teichmann
|
b71f8bd208
|
Removed the radix 10 from parseInt calls as it is the default.
|
2015-03-04 08:55:20 +01:00 |
|
Sascha L. Teichmann
|
49c95f15ca
|
Added missing auto update javascript file. Implemented smarter invalidatioon code based on server notification.
|
2015-03-04 00:39:35 +01:00 |
|
Sascha L. Teichmann
|
0b7c8b6afe
|
Applied rrenkert's patch to have an autoupdating client.
|
2015-03-03 15:22:00 +01:00 |
|
Sascha L. Teichmann
|
7249a60043
|
Use "ignore incoming messages" code from the gorilla websocket documentation.
|
2015-03-03 01:33:12 +01:00 |
|
Sascha L. Teichmann
|
f943919ee6
|
Implemented the sending of the base tile changes to the connected websocket clients.
|
2015-03-03 01:13:37 +01:00 |
|
Sascha L. Teichmann
|
83cf9dbaad
|
Added command line flags for websocket support. Added dummy websocket controller.
|
2015-03-02 14:16:36 +01:00 |
|
Sascha L. Teichmann
|
d871808b92
|
Little golint nit.
|
2015-03-02 13:17:52 +01:00 |
|
Sascha L. Teichmann
|
33a53c11da
|
Factored out some common stuff to separate file.
|
2015-03-02 13:14:29 +01:00 |
|
Sascha L. Teichmann
|
3e0e909a69
|
Added 'websocket' branch. Added mechanism to forward the coords of the updated base tiles.
|
2015-03-02 13:10:30 +01:00 |
|
Sascha L. Teichmann
|
003d8cc785
|
Added support for position hash url support for mtwebmapper (issue #6).
|
2015-03-01 17:32:46 +01:00 |
|
Sascha L. Teichmann
|
4ea51eb744
|
mtwebmapper: Only allow update requests from a white list of remote hosts. Defaults to localhost. To allow all hosts use command line option -u=''
|
2014-11-15 13:40:39 +01:00 |
|
Sascha L. Teichmann
|
52932b0351
|
Fixed bogus error handling in change tracking notification.
|
2014-11-03 18:57:10 +01:00 |
|
Sascha L. Teichmann
|
6afed94154
|
Added profiling for mttilemapper.
|
2014-10-28 11:51:45 +01:00 |
|
Sascha L. Teichmann
|
8452a26fcd
|
Render transparent tiles if command line flag is set.
|
2014-10-26 18:36:47 +01:00 |
|
Sascha L. Teichmann
|
2aa9ee0e24
|
Collect more statistics about number of solid and transparent blocks and print them in mttilemapper.
|
2014-10-26 17:09:23 +01:00 |
|
Sascha L. Teichmann
|
1acfd26e80
|
Uplift max bulk string size for redisalize server to 8MB. Big TNT explosion seem to write big blocks into the database.
|
2014-10-22 19:10:06 +02:00 |
|
Sascha L. Teichmann
|
c03d382ca6
|
Pass pointer to Colors struct around which makes it easier to eg. find transparent colors.
|
2014-10-19 21:05:38 +02:00 |
|
Sascha L. Teichmann
|
bfe5d36775
|
Fixed build of mtredisalize.
|
2014-10-03 19:10:40 +02:00 |
|
Sascha L. Teichmann
|
0160299acc
|
Fixed build of mtdbconverter.
|
2014-10-03 18:59:14 +02:00 |
|
Sascha L. Teichmann
|
2588122c37
|
Adjusted documentation a bit. Not complete yet.
|
2014-10-03 12:23:47 +02:00 |
|
Sascha L. Teichmann
|
8630300332
|
Adjusted imports to make it compilable again.
|
2014-10-03 12:07:53 +02:00 |
|
Sascha L. Teichmann
|
6c94927f7b
|
subbaseline.go edited online with Bitbucket
|
2014-10-03 10:00:33 +00:00 |
|
Sascha L. Teichmann
|
890ff350c8
|
main.go edited online with Bitbucket
|
2014-10-03 09:59:54 +00:00 |
|
Sascha L. Teichmann
|
dd3fecca3a
|
mtseeder: rename command line option "worker" to "workers" in symmetry to mtwebmapper.
|
2014-09-27 13:23:34 +02:00 |
|
Sascha L. Teichmann
|
6a0bcae555
|
Moved cmd/tilemapper to mttilemapper to match the mt* pattern of the other commands.
|
2014-09-24 10:05:36 +02:00 |
|
Sascha L. Teichmann
|
5e7af91c74
|
Removed some sead code.
|
2014-09-23 23:28:33 +02:00 |
|
Sascha L. Teichmann
|
d3a617dbc1
|
mtwebmapper: Added a button to force a refresh of the loaded tiles.
|
2014-09-23 16:18:15 +02:00 |
|
Sascha L. Teichmann
|
2bea824153
|
mtwebmapper: simplified pyramid tile updater a bit.
|
2014-09-22 02:37:44 +02:00 |
|
Sascha L. Teichmann
|
11a4b9f471
|
mtwebmapper: Reduced the amount of copying from old tile. Code still reads a bit clumpsy.
|
2014-09-22 00:56:29 +02:00 |
|
Sascha L. Teichmann
|
8b6470fc9c
|
mtwebmapper: Updating the pyramid tiles finally works but the amount of copying from the original can be minimized.
|
2014-09-22 00:25:24 +02:00 |
|
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
|
d39a948bd4
|
mtseeder: Fixed problem that tiles with missing sub tiles were drawn in white entirely.
|
2014-09-21 09:04:59 +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
|
ba301372f1
|
mtseeder: Make base level generator use the BaseTileCreator, too.
|
2014-09-20 15:50:07 +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
|
02593a22d1
|
mtredisalze: made quantification a constant (default 1). Increase value if the _really_ produces too much data.
|
2014-09-18 11:43:12 +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
|
e81051a84c
|
Simplified json encoding
|
2014-09-18 06:49:50 +02:00 |
|
Sascha L. Teichmann
|
51626a1371
|
Do nort send notifications if nothing changed.
|
2014-09-17 17:34:03 +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
|
cf0aec6fa5
|
mtredisalize: Implemented the http POST of the tracked changes to configured URL.
|
2014-09-17 10:45:44 +02:00 |
|
Sascha L. Teichmann
|
f4c188a87a
|
mtredisalize: Do the actual change tracking, store them in a map and serialize them to JSON when flushing is triggered.
TODO: Implement the POST request to the remote host with this JSON document.
|
2014-09-17 10:16:51 +02:00 |
|
Sascha L. Teichmann
|
400a65f563
|
mtredisalize: Add infrastructure to send backend store changes to separate daemons.
|
2014-09-17 09:51:34 +02:00 |
|
Sascha L. Teichmann
|
ef541f18f6
|
removed unnesseary redirection in storing blocks in transactions.
|
2014-09-17 08:41:10 +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 |
|
Sascha L. Teichmann
|
a468741a24
|
Moved PNG loading to common.
|
2014-09-16 01:13:12 +02:00 |
|
Sascha L. Teichmann
|
90bfc225b8
|
When generating shaded tiles draw to pix buffer directly instead of calling Set() for each pixel. Set resize filter for generating pyramid tiles to Lanczos3 because of better visual results.
|
2014-09-16 00:08:31 +02:00 |
|
Sascha L. Teichmann
|
0850b69028
|
Fixed tile fusing.
|
2014-09-14 23:10:54 +02:00 |
|
Sascha L. Teichmann
|
db8c5bd8e0
|
Change draw call to match API. Hope that helps.
|
2014-09-14 22:13:31 +02:00 |
|
Sascha L. Teichmann
|
a6bbf4a8bd
|
Added som broken pyramid generation code.
|
2014-09-14 21:56:41 +02:00 |
|
Sascha L. Teichmann
|
bbd96172a3
|
Moved generation of base level tiles to separate file and made the base level generation optional.
|
2014-09-14 17:12:28 +02:00 |
|
Sascha L. Teichmann
|
dddb9c0a6b
|
Added seeder for leaflet conform tiling. TODO: Generate pyramid.
|
2014-09-14 15:28:03 +02:00 |
|
Sascha L. Teichmann
|
f762154b05
|
Made tile renderer resetable to reduce the memory for render more than one tile.
|
2014-09-14 14:57:49 +02:00 |
|
Sascha L. Teichmann
|
9106d71363
|
Moved image saving to common.
|
2014-09-14 00:31:28 +02:00 |
|
Sascha L. Teichmann
|
5319e113bf
|
Moved color parsing to common.
|
2014-09-14 00:02:04 +02:00 |
|
Sascha L. Teichmann
|
560afae6c4
|
Moved redis client from tilemapper to common.
|
2014-09-13 19:18:12 +02:00 |
|
Sascha L. Teichmann
|
fd64d20b76
|
Moved sub programs into folder cmd to clean up project structure.
|
2014-09-13 19:07:20 +02:00 |
|