MTSatellite: A "realtime" web mapping system for Minetest

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

MTSatellite: A "realtime" web mapping system for Minetest

by s-l-teichmann » Post

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
Last edited by s-l-teichmann on Fri Oct 03, 2014 12:16, edited 2 times in total.

MaxPower
Member
Posts: 30
Joined: Wed Sep 24, 2014 17:25

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

by MaxPower » Post

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

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

Links should be fixed now. Thanks.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

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

by ExeterDad » Post

Wow! Very interesting. Nice work!

User avatar
Krock
Developer
Posts: 4648
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

Interesting project but I don't get how I can run those .go files.
Could you explain the usage please?
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

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

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

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

User avatar
Mg
Member
Posts: 86
Joined: Sun Mar 02, 2014 20:49
GitHub: LeMagnesium
IRC: ElectronLibre Mg
In-game: Mg
Location: Periodic Table

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

by Mg » Post

Great! Useful project, very interesting for server owners. Very good work.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

Awesome ! thank you for sharing your work !

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

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.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

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...

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

@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/

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

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

by ExeterDad » Post

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!

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

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/

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

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.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

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

by twoelk » Post

droooooooool

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

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 !

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

@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.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

@s-l-teichmann

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

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

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

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

by Evergreen » Post

This is an amazing project! I think it would be nice if it could be implemented as a desktop application.
Back from the dead!

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

@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.

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

@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.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

@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/

s-l-teichmann
Member
Posts: 28
Joined: Sun Aug 03, 2014 14:50
GitHub: s-l-teichmann
In-game: KimJongKlaus

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

by s-l-teichmann » Post

@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.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests