Commit Graph

348 Commits

Author SHA1 Message Date
Sascha L. Teichmann
011cd0e4f4 Be more defensive in decoding node id table in blocks. 2015-08-23 22:48:54 +02:00
Sascha L. Teichmann
dc2845abb1 Made pyramid seeding more spammy (user request). TODO: percentage output would be nicer. 2015-08-10 17:43:52 +02:00
Sascha L. Teichmann
c4c35dc10d Use a sync.Pool to recycle the zlib readers. Speeds up the decoding of database blocks significantly. 2015-08-08 16:01:23 +02:00
Sascha L. Teichmann
ab1a86384b Reset zlib reader instead of re-opening it before reading meta data from block. Speeds up decoding of blocks significantly. Using a sync.Pool will seed it up even more. 2015-08-08 13:00:12 +02:00
Sascha L. Teichmann
076ca9fad6 Added hard newline in setup. 2015-08-05 23:10:33 +02:00
Sascha L. Teichmann
0c036357a2 Mentioned mtautocolors in setup. 2015-08-05 23:08:31 +02:00
Sascha L. Teichmann
e606e2700f Fixes #14. mtseeder and mtwebmapper now have command line flags -ymin=block and -ymax=block to limit the y range of mapping. Defaults to full range. 2015-07-27 19:03:47 +02:00
Sascha L. Teichmann
464ccbf670 Added tag 0.5 for changeset 0129ff781680 2015-07-26 22:04:33 +02:00
Sascha L. Teichmann
62a53dc26b Unified handling of printing versions of programs (--version). Setting version to 0.5 2015-07-26 22:04:16 +02:00
Sascha L. Teichmann
f6b5f9ce97 Removed totally outdated README of mtredisalize. 2015-07-26 16:48:19 +02:00
Sascha L. Teichmann
7f82d482f5 More header updates. 2015-07-26 16:44:51 +02:00
Sascha L. Teichmann
f6e5eb8510 Moved ordering of two int64 to common/math. 2015-07-26 16:40:50 +02:00
Sascha L. Teichmann
8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann
becf017edc Small cleanup. Moved min to common/math. 2015-07-26 12:32:59 +02:00
Sascha L. Teichmann
e1eb03813f Add a -transparent-dim=percent flag to set the extra dimming of transparent materials each depth meter. 2015-07-26 11:55:38 +02:00
Sascha L. Teichmann
68bb1ee320 Avoid redundant decoding when sendind coordinate to change tracker or coverage index.
Don't try to store in coverage index if the key already exists.
Handle more potential database errors.
2015-07-25 22:18:16 +02:00
Sascha L. Teichmann
fed5b32469 Small nit. 2015-07-25 20:39:05 +02:00
Sascha L. Teichmann
06c8ef8f88 Fixed interleaved sqlite spatial query. 2015-07-25 14:15:06 +02:00
Sascha L. Teichmann
edbd790268 Merged coverage-exp into default. 2015-07-25 11:49:19 +02:00
Sascha L. Teichmann
8fd45b4e25 Merged default. 2015-07-25 11:44:37 +02:00
Sascha L. Teichmann
c9686a7f24 Fixed non-interleaved LevelDB backend. 2015-07-24 13:15:05 +02:00
Sascha L. Teichmann
fe6a551f06 Break some over-long lines. 2015-07-24 10:01:39 +02:00
Sascha L. Teichmann
29eeb5e301 Implemented usage of coverage index in non-interleaved LevelDB backend. Untested, yet! 2015-07-24 08:30:52 +02:00
Sascha L. Teichmann
d53cea250c Started coverage index support for non-interleaved LevelDb backends. 2015-07-24 08:13:24 +02:00
Sascha L. Teichmann
3fc89ad0f5 Removed dead code. 2015-07-23 21:14:35 +02:00
Sascha L. Teichmann
93d4aedffa Fixed non-interleaved sqlite support. 2015-07-23 16:20:42 +02:00
Sascha L. Teichmann
0f10fce1f0 Pulled over empty tile caching from coverage-exp branch. 2015-07-22 12:06:21 +02:00
Sascha L. Teichmann
e8e4d6afeb Cache empty tiles to speed up seeding. Enforce Go 1.4 for the ability to compress better. 2015-07-22 01:11:14 +02:00
Sascha L. Teichmann
8b4f4b1401 Merged. 2015-07-21 23:38:18 +02:00
Sascha L. Teichmann
39df42b675 Removed another use of fmt.Printf. 2015-07-21 23:35:10 +02:00
Sascha L. Teichmann
fb2b03a14a Fix reciever naming in coverage 3d. 2015-07-21 22:09:28 +02:00
Sascha L. Teichmann
1921b8211b Some little experiment with a coverage index to speed up spatial queries if backend has no Z order support. 2015-07-21 22:01:10 +02:00
Sascha L. Teichmann
470b47f70a Fixed endless loop in Z order range query code in SQLite3 backend. 2015-07-21 12:53:55 +02:00
Sascha L. Teichmann
80113b885f Fix for issue #10. Set transparency level of pixels based on the alpha channel of colors.txt. 2015-07-20 14:56:41 +02:00
Sascha L. Teichmann
ecd599e44d Terminate all log.Printf with a new line. 2015-07-20 14:19:41 +02:00
Sascha L. Teichmann
91a50a4622 Log missing colors only once to make log output less spammy. 2015-07-20 14:01:01 +02:00
Sascha L. Teichmann
232feaa435 Dont store air only information in decoded block. This can be found out pretty easy by analysing the other fields if needed. 2015-07-20 13:27:46 +02:00
Sascha L. Teichmann
b66c7fdff3 Redis client: Pulled micro optimisation over from server when constructing bulk strings. 2015-06-28 14:41:07 +02:00
Sascha L. Teichmann
2d00eb9567 Simplifications when decoding blocks from database to save some memory allocations. 2015-06-21 22:47:06 +02:00
Sascha L. Teichmann
5c239a7b60 Merged. 2015-06-21 18:37:43 +02:00
Sascha L. Teichmann
6f10be6d92 Removed another usage of fmt.Sprintf. 2015-06-21 18:36:26 +02:00
Sascha L. Teichmann
e8bb225d94 Fix a few golint naming nits. 2015-06-21 13:31:03 +02:00
Sascha L. Teichmann
b22e778902 Error log simplification ported from syndtr-goleveldb branch. 2015-06-21 13:17:10 +02:00
Sascha L. Teichmann
b74671ae63 Simplified error handling in Redis connection handler.
This also reduces the diff size to the syndtr-goleveldb branch.
2015-06-02 20:10:56 +02:00
Sascha L. Teichmann
5fb85c3c68 Fix linking of how to setup enable player tracking. 2015-05-31 13:08:26 +02:00
Sascha L. Teichmann
0cbc643e21 Document the player tracking. 2015-05-31 13:03:08 +02:00
Sascha L. Teichmann
5172e02380 Some minor code cleanups in mtwebmapper. 2015-05-27 18:36:03 +02:00
Sascha L. Teichmann
1baf9f9dee Silence a few golint warnings. 2015-05-27 18:13:39 +02:00
Sascha L. Teichmann
9d1b0cc7c6 Silence a few golint warnings. 2015-05-27 16:57:08 +02:00
Sascha L. Teichmann
f80d9e452c Don't use fmt.Sprintf when sending size of a redis bulk string. 2015-05-27 16:48:51 +02:00