mtsatellite/README.md

51 lines
3.2 KiB
Markdown
Raw Normal View History

2014-10-03 13:09:59 +02:00
# MTSatellite
**Attention** MTSatellite is currently getting some improvements
namely PostgreSQL backend support and and a new Vue-JS based web client.
The new features are in but the documentation is not updated, yet.
Hopefully this will change soon.
2014-10-05 16:23:14 +02:00
MTSatellite is a "realtime" web mapping system for [Minetest](http://minetest.net) worlds.
2014-10-03 13:09:59 +02:00
With this system you can play your world and you instantly have an online map of it which
can be shared on the web.
2014-10-03 13:09:59 +02:00
To get a glimpse what it does watch [Realtime Webmapping for Minetest worlds](http://youtu.be/iYEROGPj7RI)
2014-12-06 14:32:40 +01:00
on YouTube.
A live map of an online world can be viewed [here](https://maps.mt.intevation.de/).
2014-10-03 13:09:59 +02:00
2014-10-03 19:39:27 +02:00
See [COMPILE](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/COMPILE.md) how to compile
2024-01-05 11:41:22 +01:00
MTSatellite. Essentially you need Go 1.20 (or higher) and a GNU/Linux system.
2014-10-03 19:39:27 +02:00
2014-10-04 20:57:47 +02:00
See [SETUP](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/SETUP.md) how to bring
MTSatellite to life.
2014-10-03 13:09:59 +02:00
To use it you have to configure your Minetest server to use the Redis backend data store.
2015-03-01 16:53:32 +01:00
Instead of a real Redis server you have to run **mtredisalize**. The data itself is not stored in a Redis server. It only uses the Redis protocol to communicate with the MT server. The data
is stored in an optimized form in a LevelDB or SQLite3 database. Changes made to the world are collected over a configurable amount
2014-10-03 13:09:59 +02:00
of time periodically. After a cycle of collection the web server **mtwebmapper** is triggered
to regenerate the map. To not fully regenerate the whole world map but only the differences
the map has to be pre-rendered with **mtseeder**.
2014-10-03 22:04:33 +02:00
* [mtredisalize](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/cmd/mtredisalize) is a server which has to be configured as a Redis backend to the
2015-03-01 16:53:32 +01:00
Minetest server.
2014-10-03 13:09:59 +02:00
2014-10-03 13:19:59 +02:00
* [mtwebmapper](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/cmd/mtwebmapper/) Web server that serves [Leaflet](http://leafletjs.com) compatible tiles to a
2014-10-03 13:09:59 +02:00
web browser. Running in the background this server updates the pre-computed map tiles.
2014-10-03 13:21:27 +02:00
* [mtdbconverter](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/cmd/mtdbconverter) is converter between Minetest databases. mtredisalize works
2014-10-03 13:09:59 +02:00
best if you use a special interleaved LevelDB key schema. To bring your old database (LevelBD or SQLite3)
into this format this tool does the job. It can also be used to convert the interleaved database
back to a plain LevelDB or SQLite3 one.
2014-10-03 13:19:59 +02:00
* [mtseeder](https://bitbucket.org/s_l_teichmann/mtsatellite/src/default/cmd/mtseeder) pre-computes all tiles of the map of the world plus a set of pyramidal overview images.
2014-10-03 13:09:59 +02:00
Even playing in a dynamic and fully changeable world most of the data is pretty constant over time. Therefore
2015-03-01 16:53:32 +01:00
it makes sense to do only small updates on pre-calculated images instead of generating
2014-10-03 13:09:59 +02:00
the map entirely on the fly.
* [Web-Map-Client](https://bitbucket.org/s_l_teichmann/mtsatellite/src/master/cmd/mtwebmapper/client) Web map application showing the base map of the minetest world and other in the browser.
2014-10-03 13:09:59 +02:00
This is Free Software under the terms of the MIT license.
See [LICENSE](LICENSE) file for details.
(c) 2014 by Sascha L. Teichmann