Commit Graph

  • c67739fd77 Replace false rounding scaler with self written one. Sascha L. Teichmann 2014-09-16 15:30:08 +0200
  • 25c189351c Added TODO Sascha L. Teichmann 2014-09-16 11:24:00 +0200
  • e46968bbfd Added first version of the web server to drive the online mapping. Sascha L. Teichmann 2014-09-16 03:29:28 +0200
  • a468741a24 Moved PNG loading to common. Sascha L. Teichmann 2014-09-16 01:13:12 +0200
  • 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. Sascha L. Teichmann 2014-09-16 00:08:31 +0200
  • 0850b69028 Fixed tile fusing. Sascha L. Teichmann 2014-09-14 23:10:54 +0200
  • db8c5bd8e0 Change draw call to match API. Hope that helps. Sascha L. Teichmann 2014-09-14 22:13:31 +0200
  • a6bbf4a8bd Added som broken pyramid generation code. Sascha L. Teichmann 2014-09-14 21:56:41 +0200
  • bbd96172a3 Moved generation of base level tiles to separate file and made the base level generation optional. Sascha L. Teichmann 2014-09-14 17:12:28 +0200
  • dddb9c0a6b Added seeder for leaflet conform tiling. TODO: Generate pyramid. Sascha L. Teichmann 2014-09-14 15:28:03 +0200
  • f762154b05 Made tile renderer resetable to reduce the memory for render more than one tile. Sascha L. Teichmann 2014-09-14 14:57:49 +0200
  • 3a0b922a9e Implemented a greedy search algorithm to figure out the block regions with are not fully covered after a rendering step. Sascha L. Teichmann 2014-09-14 11:41:25 +0200
  • 9106d71363 Moved image saving to common. Sascha L. Teichmann 2014-09-14 00:31:28 +0200
  • 5319e113bf Moved color parsing to common. Sascha L. Teichmann 2014-09-14 00:02:04 +0200
  • 560afae6c4 Moved redis client from tilemapper to common. Sascha L. Teichmann 2014-09-13 19:18:12 +0200
  • fd64d20b76 Moved sub programs into folder cmd to clean up project structure. Sascha L. Teichmann 2014-09-13 19:07:20 +0200
  • b445cfb33a Moved bloch decoding and rendering from tilemapper to common. Sascha L. Teichmann 2014-09-12 20:22:34 +0200
  • a73e9b35c5 Reverted accidentally commited s/512/1024/ in size of y order buffer. Sascha L. Teichmann 2014-09-12 17:54:06 +0200
  • afca241c12 Cut off border blocks when in shaded output mode. Sascha L. Teichmann 2014-09-12 17:10:05 +0200
  • 223d11df0b Render blocks through a ring buffer which is a binary heap ordered by descending y coords. This establisches a stream of partial y ordered blocks to reduce the the over all overdraw. Speeds up rendering about 25%. Sascha L. Teichmann 2014-09-12 12:37:27 +0200
  • f6f5aa0dd1 Little code cleanups. Sascha L. Teichmann 2014-09-12 10:45:36 +0200
  • 6306a9acb7 Fixed tilerenderer. Sascha L. Teichmann 2014-09-11 22:38:01 +0200
  • 09b321de02 Cache the min y value of an 16x16 area in tilemapper instead of calculating it over and over again. Sascha L. Teichmann 2014-09-11 22:20:04 +0200
  • 9fdf06d671 Added shaded renderer. Sascha L. Teichmann 2014-09-11 17:35:03 +0200
  • 458fc5d1da Do some early stopping when scanning for min y of a 16x16 region. Sascha L. Teichmann 2014-09-11 11:03:35 +0200
  • 6588bef04a Changed background color to white. Sascha L. Teichmann 2014-09-11 03:27:37 +0200
  • 9890b8b8c7 Added color for mummy spawner. Sascha L. Teichmann 2014-09-11 02:37:48 +0200
  • d08fcbbe9e Removed obsolete out commended code. Sascha L. Teichmann 2014-09-11 02:29:34 +0200
  • 072eba3e5a Better early stopping when the tile is filled. Sascha L. Teichmann 2014-09-11 02:28:09 +0200
  • e2070c8b94 Do multiple queries in descending y order to make better use of the block rejection. Sascha L. Teichmann 2014-09-11 00:22:36 +0200
  • ab767a97bb Made tilerender finally work. Needs performance tweaks. Sascha L. Teichmann 2014-09-10 23:49:27 +0200
  • 4fd0722ade Write image tile to PNG file. Sascha L. Teichmann 2014-09-10 18:58:12 +0200
  • 26aabeb6d5 Fixed closing zlib decompressor in error case. Added missing header. Sascha L. Teichmann 2014-09-10 17:33:13 +0200
  • 0ff87c1d22 Added a comment about the zlib compressed content and meta data in the blocks. Sascha L. Teichmann 2014-09-10 08:35:20 +0200
  • cb5b6461a3 Map content in DecodedBlock.Content() thru the index map to pull this logic out of the renderer. Sascha L. Teichmann 2014-09-10 08:21:51 +0200
  • e145779ca0 Added incomplete renderer. Sascha L. Teichmann 2014-09-10 01:21:55 +0200
  • baee56b27b More colors. Store indices of colors in decoded blocks instead of strings. Sascha L. Teichmann 2014-09-09 23:33:53 +0200
  • 73b6fa4fb9 Added simple block decoder for tilemapper. Sascha L. Teichmann 2014-09-09 17:48:39 +0200
  • b04bb20fe4 Added copyright header. Sascha L. Teichmann 2014-09-09 15:22:29 +0200
  • 0da0761b44 Added color table for tilemapper. Sascha L. Teichmann 2014-09-09 15:01:14 +0200
  • 01626f0d22 Removed dev artifact. Sascha L. Teichmann 2014-09-07 21:58:03 +0200
  • 58a553f0da Added right files of the tilemapper. Sascha L. Teichmann 2014-09-07 21:46:55 +0200
  • 36df69a6cb Removed accidentally checked in tilemapper binary. Sascha L. Teichmann 2014-09-07 21:44:52 +0200
  • eb9cfb9959 Clip coordinates in interleaved spatial queries to world boundaries. Sascha L. Teichmann 2014-09-07 21:36:59 +0200
  • 6b717e41fb Added frame for tile mapper. Not working, yet. Sascha L. Teichmann 2014-09-07 19:59:29 +0200
  • 4bd6a7d69b Small string cosmetics Sascha L. Teichmann 2014-09-07 17:29:42 +0200
  • 13bb251f35 Moved all the block producer/consumer interfaces to common. Sascha L. Teichmann 2014-09-07 16:12:18 +0200
  • d75fe4f102 Moved Block as type to common structures. Sascha L. Teichmann 2014-09-07 15:57:25 +0200
  • 70e8d5a548 Better usage message for mtredisalize Sascha L. Teichmann 2014-09-07 15:02:39 +0200
  • cbc5ed0c6c Small cosmetics. Sascha L. Teichmann 2014-09-07 11:15:14 +0200
  • f83efba3cf Temporarly converting components to uint16 in interleving is not needed because we are only interested in the bit patterns which are the same as in the signed representation. Sascha L. Teichmann 2014-09-07 11:07:49 +0200
  • b40eb0021c Use BigMin instead of NaiveBigMin in spatial queries of SQLite and LevelDB backend. Sascha L. Teichmann 2014-09-07 10:51:57 +0200
  • 8d4f73429f Eliminated the stupid offset bug in interleaving. Hail to to the unit test. Sascha L. Teichmann 2014-09-07 10:46:51 +0200
  • 45ec5ccd3e Simplified unit test for BigMin. Sascha L. Teichmann 2014-09-07 10:12:39 +0200
  • a8c2a4c55d Simplified code. Add/substract min value when interleaving. BigMin still broken. Sascha L. Teichmann 2014-09-07 09:58:09 +0200
  • 6e958e4ff6 Be more clever in testing BigMin. This shows that the interleaving code has shift all values to be positive, so it's broken atm. :-/ Sascha L. Teichmann 2014-09-07 00:18:28 +0200
  • abaef4936c BigMin unit test now passes. Sascha L. Teichmann 2014-09-06 23:34:05 +0200
  • f75e1015af Some code cleanup in unit test for bit version of BigMin. Test is still failing. Sascha L. Teichmann 2014-09-06 20:38:49 +0200
  • 234b487077 Made unit tests for common/coords compiling again. Fixed NaivBigMin. Added bit based BigMin + unit test, which is still failing. Sascha L. Teichmann 2014-09-06 19:54:53 +0200
  • 85741f3b0e Simplified code for naiv BigMin implementation. Sascha L. Teichmann 2014-09-01 18:44:56 +0200
  • c096b8bbf1 Simplified code of non interleaved spatial query in LevelDB backend. Sascha L. Teichmann 2014-09-01 18:39:42 +0200
  • 77a35e7096 Fixed endless loop bug in LevelDB interleaved spatial query. Simplified code. Sascha L. Teichmann 2014-09-01 18:26:33 +0200
  • f4baf63247 Added interleved implementation of spatial query in LevelDB backend. Sascha L. Teichmann 2014-09-01 18:04:48 +0200
  • 5246a62c34 Forget to call Next() on iterator ... again. :-( Sascha L. Teichmann 2014-09-01 16:15:16 +0200
  • bebe776e54 Added plain spatial query for LevelDB backend. Sascha L. Teichmann 2014-09-01 16:12:24 +0200
  • f82216807e Improved error handling of SQLite spatial queries a bit. Sascha L. Teichmann 2014-09-01 14:28:12 +0200
  • f7a8c1fdec Added naive BigMin interleaved implementation for interleaved spatial query. Sascha L. Teichmann 2014-09-01 13:46:23 +0200
  • 0021854000 Added some spatial query for plain sql backend. Sascha L. Teichmann 2014-09-01 12:42:57 +0200
  • caf2cbbcfe Introduced non standard HSPATIAL hash first second which performs a spatial query between coords first and second. TODO: Implement in backends. Write documentation. Sascha L. Teichmann 2014-09-01 00:19:47 +0200
  • 3929ffc3b2 Stop leaking go routines if something with AllKeys went wrong. Sascha L. Teichmann 2014-08-31 19:21:58 +0200
  • 48259f14a6 Shortened type switch a bit. Sascha L. Teichmann 2014-08-31 19:05:43 +0200
  • 8a474ddd65 Uses sync.Pool to recycle some memory. Makes it 1.3. TODO: Find out if it is worth the effort. Sascha L. Teichmann 2014-08-26 08:42:03 +0200
  • d51ecc6eef Interleaver: Commit blocks in batches of 128 to speed up build a new SQLiet databases. Sascha L. Teichmann 2014-08-24 23:47:43 +0200
  • 758ef7afc5 Interleaver: Advance iterator in LevelDB producer. Sascha L. Teichmann 2014-08-24 21:19:40 +0200
  • 307d1aec44 interleaver: Do not share error in producer and consumer. Sascha L. Teichmann 2014-08-24 19:40:57 +0200
  • fc50897d2d interleaver: Run producer and consumer in separate go routines. Sascha L. Teichmann 2014-08-24 19:27:16 +0200
  • 82be84d449 Fixed printf format strings. Sascha L. Teichmann 2014-08-24 18:50:16 +0200
  • 5852766464 Mentioned the lack of docs for interleaving in TODO. Sascha L. Teichmann 2014-08-23 19:04:36 +0200
  • 35130a5202 Enabled interleaving in LevelDB backend. Sascha L. Teichmann 2014-08-23 19:00:43 +0200
  • a0bdf95f95 Switcjhed cases in SQLite backend for handling interleaved and non-interleaved. Sascha L. Teichmann 2014-08-23 18:49:14 +0200
  • 5094f05414 Enabaled interleaving in SQLite backend. Sascha L. Teichmann 2014-08-23 18:05:40 +0200
  • 8cd23d257f Moved special code for interleaver out of common. Sascha L. Teichmann 2014-08-23 16:01:57 +0200
  • 954cc1928b Added transcoders for interleaved LevelDB backend. Sascha L. Teichmann 2014-08-23 13:49:45 +0200
  • 712708f87c Added transcoder functions to LevelDB backend. Sascha L. Teichmann 2014-08-22 22:26:03 +0200
  • 24b9236e41 Made key encoder/decoder variable in SQLite backend. TODO: Do the same in LevelDB backend. Sascha L. Teichmann 2014-08-22 21:54:22 +0200
  • 83c160eb90 Added encoder/decoder useful in interleved SQLite backend. Sascha L. Teichmann 2014-08-21 22:19:42 +0200
  • b393712801 Completed implementation of interleaver. Needs testing! Sascha L. Teichmann 2014-08-21 14:46:34 +0200
  • cfb6edcd29 Added block consumer for SQLite3 in interleaver. Sascha L. Teichmann 2014-08-20 21:05:36 +0200
  • 87b34d123e Added block producer for LevelDB in interleaver. Sascha L. Teichmann 2014-08-20 16:21:44 +0200
  • 8f4a558234 Do not pass Block structs around only pointers. Sascha L. Teichmann 2014-08-20 15:34:20 +0200
  • 02ada38090 Added block consumer for LevelDB in interleaver. Sascha L. Teichmann 2014-08-20 15:26:31 +0200
  • 74551198fa Use errors.New instead of fmt.Errorf to create NoMoreBlocksErr in interleaver. Sascha L. Teichmann 2014-08-19 12:27:42 +0200
  • 0b96dda52c go fmt'ed. Sascha L. Teichmann 2014-08-19 12:23:33 +0200
  • c14e7c3dd0 Added first stubs of SQLite producer for interleaver. Sascha L. Teichmann 2014-08-19 12:07:57 +0200
  • 8eca3a6e45 Added interfaces for upcoming interleaver. Sascha L. Teichmann 2014-08-19 11:14:14 +0200
  • c84feab792 Added copyright header and more test cases for key encoder/decoder. Sascha L. Teichmann 2014-08-19 11:12:35 +0200
  • 37eb407572 Use a type block for backend interfaces. Sascha L. Teichmann 2014-08-19 11:11:41 +0200
  • efe6c6abb8 Introduce struct type Coord to reduce tuples passing around. Sascha L. Teichmann 2014-08-18 21:33:58 +0200
  • 066675896d Dont rely on compiler smartness to replace / and % by shifting and masking. Make use of constants more consistence. Sascha L. Teichmann 2014-08-18 19:58:10 +0200
  • ff14b83b1e Made encode/decode api more symmetric. Added some unit test for the encoders/decoders. Sascha L. Teichmann 2014-08-18 18:01:34 +0200