Commit Graph

36 Commits

Author SHA1 Message Date
Sascha L. Teichmann 5442fab97d Fix issues found by staticcheck 2024-01-06 10:34:37 +01:00
Sascha L. Teichmann c507663826 Use a more general db client factory approach. 2022-03-01 14:47:14 +01:00
Sascha L. Teichmann 4f7fedf0b9 Use db client factory in seeder. 2022-02-27 21:17:43 +01:00
Sascha L. Teichmann 34d01762f0 Started with db abstraction in seeder. 2022-02-27 21:02:16 +01:00
Sascha L. Teichmann 6a1356f0eb When an tile is rendered the writing to disk can be done in background
concurrently to the rendering of the next tile.
2017-03-06 15:43:30 +01:00
Sascha L. Teichmann e68e762322 Support unix domain sockets in redis clients, too. 2017-03-05 14:38:30 +01:00
Sascha L. Teichmann ba2dd15280 Support unix domain sockets. 2017-03-05 14:03:02 +01:00
Sascha L. Teichmann fea2286237 Reverted accidentally committed profiling stuff. 2017-02-26 17:05:45 +01:00
Sascha L. Teichmann 3e3413566b Only do expensive area coverage calculation if there where blocks loaded from database.
If there are not, nothing changed, so nothing to recalculate.
Takes a good deal from the clock.
2017-02-26 12:57:38 +01:00
Sascha L. Teichmann 0900bd16ce Finished logic to supress pyramid regeneration in mtwebmapper. Untested. 2016-05-08 15:38:50 +02:00
Sascha L. Teichmann 607b4de9ec Dedup code. 2016-04-23 21:09:23 +02:00
Sascha L. Teichmann 0db9b519a6 Implement fetaure request issue #17
mtseeder and mtwebmapper got an option to set the background color where no nodes are generated, yet.
2016-04-23 16:45:33 +02:00
Sascha L. Teichmann f658d12641 Use github.com/bamiaux/rez instead of github.com/nfnt/resize for resampling the pyramid tiles. It is much faster but needs some testing. 2015-12-25 22:07:54 +01: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 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 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 8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +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 ecd599e44d Terminate all log.Printf with a new line. 2015-07-20 14:19:41 +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 6f10be6d92 Removed another usage of fmt.Sprintf. 2015-06-21 18:36:26 +02:00
Sascha L. Teichmann 787fc959d0 Removed some dead code. 2015-05-01 14:04:23 +02: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 8630300332 Adjusted imports to make it compilable again. 2014-10-03 12:07:53 +02: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 c428756beb mtwebmapper: First version of pyramid tile updater. Needs testing. 2014-09-21 17:30:19 +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 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 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