Page 1 of 3

MTSatellite: A "realtime" web mapping system for Minetest

Posted: Fri Oct 03, 2014 10:41
by s-l-teichmann
Hallo!

During the last month I've transformed mtredisalize into the new project MTSatellite.

This is "realtime" web mapping system for Minetest worlds. This mean you can play
your world and have a map of it directly to share on the web.

Watch http://youtu.be/iYEROGPj7RI to see what I mean.

The sources are located at bitbucket: https://bitbucket.org/s_l_teichmann/mts ... e/overview

The documentation to set it up is a little short at the moment but I'm working on that.

Regards, Sascha

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Oct 03, 2014 11:00
by MaxPower
I have seen your video few days ago. Nice job and thank you for sharing

/EDIT

your links to mtredisalize, mtwebmapper, mtdbconverter and mtseeder do not work

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Oct 03, 2014 11:23
by s-l-teichmann
Links should be fixed now. Thanks.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Oct 03, 2014 11:57
by ExeterDad
Wow! Very interesting. Nice work!

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Oct 03, 2014 15:23
by Krock
Interesting project but I don't get how I can run those .go files.
Could you explain the usage please?

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Oct 03, 2014 17:49
by s-l-teichmann
I have check in [1] to document how to compile it. You essentially need a Go 1.3 compiler and a GNU/Linux system. As mentioned above I'm going to write some documentation to setup and wire the system ... just a matter of spare time.

Sorry for only supporting GNU/Linux at the moment but this is where our 'productive' Minetest server runs on
and my buddies and me are real Free Software geeks. ;-)

[1] https://bitbucket.org/s_l_teichmann/mts ... COMPILE.md

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Sun Oct 05, 2014 13:13
by s-l-teichmann
So ... I've add a SETUP [1] to the repository. This should help to figure out how to bring MTSatellite to life. I will smooth the wording and fix all the typos in the next couple of days.
Feedback welcome.


[1] https://bitbucket.org/s_l_teichmann/mts ... t/SETUP.md

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Sun Oct 05, 2014 16:09
by Mg
Great! Useful project, very interesting for server owners. Very good work.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Sun Oct 05, 2014 20:27
by Minetestforfun
Awesome ! thank you for sharing your work !

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Mon Oct 06, 2014 07:18
by jp
Pretty useful, thanks for the share.

An idea (for the admins) : add a real-time moving pixel for each player connected and display a little bubble above that shows his coords and his last actions when you click on a player.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Thu Nov 13, 2014 21:50
by Minetestforfun
Hi,

im trying to install your "mapper" on my server, but i met problems... My little story :

I followed the "COMPILE" steps (https://bitbucket.org/s_l_teichmann/mts ... COMPILE.md) :

- When it's time to type "go get -u bitbucket.org/s_l_teichmann/mtsatellite/cmd/mtdbconverter",
- It returns to me "38: error: 'leveldb_free' undeclared (first use in this function)",
- However, libleveldb-dev has been installed correctly...

So, libleveldb-dev is correctly installed, but the error line seems to be a libleveldb-dev problem...

My server is on "Debian GNU/Linux 7.7 (wheezy)", can you help me please ?

Your Mapper seems to be awesome...

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Thu Nov 13, 2014 22:21
by s-l-teichmann
@Minetestforfun

The COMPILE instructions says:
# On Debian Wheezy you have to install the LevelDB dev from Backports.
---
The leveldb from plain Wheezy is too old.

Add
deb http://http.debian.net/debian wheezy-backports main
to your /etc/apt/sources.list and then
apt-get update
apt-get install -t wheezy-backports libleveldb-dev

I know this for sure because we run MTSatellite on an amd64 Debian Wheezy
and it works like a breeze. :-)
See it live at http://maps.mt.sha-bang.de/

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Nov 14, 2014 01:05
by ExeterDad
s-l-teichmann wrote:@Minetestforfun

The COMPILE instructions says:
# On Debian Wheezy you have to install the LevelDB dev from Backports.
---
The leveldb from plain Wheezy is too old.

Add
deb http://http.debian.net/debian wheezy-backports main
to your /etc/apt/sources.list and then
apt-get update
apt-get install -t wheezy-backports libleveldb-dev

I know this for sure because we run MTSatellite on an amd64 Debian Wheezy
and it works like a breeze. :-)
See it live at http://maps.mt.sha-bang.de/
First I've seen in action! Truly awesome!

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Nov 14, 2014 02:32
by Minetestforfun
Thank you for your quick answer,

Ok, next (and i hope - last) issue : https://bitbucket.org/s_l_teichmann/mts ... ompilation

for the moment my mapper is working and available here : http://qbuissondebon.info:8808/

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Nov 14, 2014 07:13
by s-l-teichmann
Looks promising :-)

The world.mt settings look valid.
My guess is that you don't have build your Minetest server with Redis support.
See the issue for detail.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Nov 14, 2014 11:57
by twoelk
droooooooool

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Fri Nov 14, 2014 18:23
by Minetestforfun
Hi,

It works now, follow the link if you want read the entire ticket,

i'm waiting for your tweak in "SETUP" for "the cool transparency feature" (for water and ice) :D

Thank you !

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Mon Nov 17, 2014 19:08
by s-l-teichmann
@Minetestforfun
I've added the description how to use the transparency to the SETUP text.
My folks love that feature because they have build some undersea structures which without this would be invisible.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Tue Nov 18, 2014 19:48
by Minetestforfun
@s-l-teichmann

Thank you, i will add it soon in my server ! :)

(EDIT : It's BEAUTIFUL ! Thank you !)

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Tue Nov 18, 2014 20:15
by Evergreen
This is an amazing project! I think it would be nice if it could be implemented as a desktop application.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Wed Nov 19, 2014 16:41
by s-l-teichmann
@Minetestforfun
Looking at your map I would guess you forgot starting mtwebmapper with the '-transparent=true" flag. The tiles in the middle of the map are not transparent any longer. You probably changed the backend data in this area and the tiles got regenerated without the transparency.

@Evergreen
My personal preference before start writing such an app would be that more server maintainers install MTSatellite.
That may bring more attention to this project and maybe some extra interest to do such a thing.
Till then you can install the system locally on your private system and use a browser pointing to localhost.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Wed Nov 19, 2014 16:52
by s-l-teichmann
@jp

> An idea (for the admins) : add a real-time moving pixel for each player connected and display a
> little bubble above that shows his coords and his last actions when you click on a player.

I missed your suggestion you made quiet a while ago ... shame on me.

A way to do such a thing would be to write a little script which parses the files from the players folder from the world data and produces some GeoJSON to be displayed as an extra layer in Leaflet map in the browser. We do something similar with travelnet stations. Same idea would apply to protection areas and so on.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Wed Nov 19, 2014 17:26
by Minetestforfun
@s-l-teichmann
Thank you for the advice, i've added "-transparent=true" flag in my mtwebmapper, now the area which is not transparent has just changed places... ='( => http://qbuissondebon.info:8808/

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Wed Nov 19, 2014 17:39
by s-l-teichmann
@Minetestforfun
Looks better than before. In my eyes the affected zone is smaller than before. The problem will resolve if you walk into the remaining affected areas.
The radical solution would be a complete re-seeding of the map but I think this should not be necessary.

Re: MTSatellite: A "realtime" web mapping system for Minetes

Posted: Wed Nov 19, 2014 17:44
by Minetestforfun
I've just re-seed the map for be sure... And it works now :)

I think we need more supported mods for the color.txt, like this mod viewtopic.php?f=9&t=10265&hilit=nether (many players use the ressources of the nether for build their constructions, for the moment in my server, the nether nodes are just ignored.

Maybe i will try to add it, i don't think it's a very hard work