MTSatellite: A "realtime" web mapping system for Minetest

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

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

by Minetestforfun » Post

If somebody wants color.txt configuration for the "nether mod of HybridDog", delete the "nether:xxx" lines from the default color.txt, and add this lines :

Code: Select all

nether:blood 187 11 11
nether:blood_stem 187 11 11
nether:blood_stem_top 187 11 11
nether:blood_top 187 11 11
nether:wood 187 11 11
nether:blood_cooked 58 2 13
nether:blood_extractor 58 2 13
nether:blood_stem_cooked 58 2 13
nether:blood_stem_top_cooked 58 2 13
nether:blood_top_cooked 58 2 13
nether:netherrack 58 2 13
nether:netherrack_brick 58 2 13
nether:netherrack_tiled 58 2 13
nether:wood_cooked 58 2 13
nether:blood_empty 200 173 127
nether:blood_stem_empty 200 173 127
nether:blood_stem_top_empty 200 173 127
nether:blood_top_empty 200 173 127
nether:forest_wood 200 173 127
nether:white 200 173 127
nether:wood_empty 200 173 127
nether:netherrack_black noir : 28 28 28
nether:netherrack_brick_black noir : 28 28 28
nether:netherrack_brick_blue 36 100 165
nether:netherrack_blue 36 100 165
nether:dirt_top 48 95 8
nether:fruit_leaves 48 95 8

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

Good news. Just got the confirmation from the committee: I will give a talk

"MTSatellite - Echtzeit Webmapping für Minetest-Welten oder Spiel-Spass mit GIS" [1]

at the FOSSGIS 2015 [2] conference. Its the leading Free Software
and Open Source Geo Information Systems conference here in Germany.

The talk will be in German and I'm going to finish a small paper about it.
I think there will be a video recording for later online view, too. The focus
of the talk will be the persistent layer and the strategies to make the access
fast enough to serve as a backend suitable for online live mapping.

... And of cause I will promote Minetest! :-)

I will give some more details as soon as I know more.

[1] "MTSatellite - realtime we mapping of Minetest worlds or gaming fun with GIS"
[2] http://www.fossgis.de/konferenz/2015/

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! And because of you, we are the first to use it :)

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

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

by Minetestforfun » Post

Wow, congratulation s-l-teichmann ! Veyr good news :)

(sorry, i can't travel to Germany for you :p)

User avatar
dgm5555
Member
Posts: 245
Joined: Tue Apr 08, 2014 19:45

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

by dgm5555 » Post

Minetestforfun wrote:I think we need more supported mods for the color.txt
If you want a load more colours, you're welcome to copy my file (it used VanessaE's massive minetest colour file and has over 6000 lines - but no nether, course she might have updated in the years since I coped it:-
https://github.com/dgm3333/mapit

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

s-l-teichmann wrote:Good news. Just got the confirmation from the committee: I will give a talk

"MTSatellite - Echtzeit Webmapping für Minetest-Welten oder Spiel-Spass mit GIS" [1]

at the FOSSGIS 2015 [2] conference. Its the leading Free Software
and Open Source Geo Information Systems conference here in Germany.

The talk will be in German and I'm going to finish a small paper about it.
I think there will be a video recording for later online view, too. The focus
of the talk will be the persistent layer and the strategies to make the access
fast enough to serve as a backend suitable for online live mapping.

... And of cause I will promote Minetest! :-)

I will give some more details as soon as I know more.

[1] "MTSatellite - realtime we mapping of Minetest worlds or gaming fun with GIS"
[2] http://www.fossgis.de/konferenz/2015/
Awesome!
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

To keep you updated: I've submit the paper for the conference proceedings last week. The talk will be 2015-03-12 at 14:30 in Münster [1].

I will try to cut out an 'official' release of MTSatellite in the next days as is has proven to be stable on our production MT server.

Feedback from other users is always welcome. :-)

[1] http://www.fossgis.de/konferenz/2015/pr ... 52.de.html
(Page looks ugly by now but I hope this will improve a bit.)

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

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

by 4aiman » Post

What should I do if I get "404 page not found" instead of the map?

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

Hi!

I guess you're talking to the mtwebmapper server?!
If this is the case have you set its command line argument

-web=/path/to/your/static/web

to a proper path with the checkout of

https://bitbucket.org/s_l_teichmann/mts ... apper/web/

?

Try an absolute path to be sure you are point it to the right directory.
Hope that helps.

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

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

by 4aiman » Post

I don't know how I've missed that setting.
Also I've figured it out that the map's tiles haven't been generated properly.

But now it works just fine.

Thank you, s-l-teichmann!
Regards!

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

Uploaded a YouTube video demo-ing the use of MTSatellite as a mini map:
https://www.youtube.com/watch?v=8e6eCMXguu8

User avatar
rubenwardy
Moderator
Posts: 6108
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

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

by rubenwardy » Post

That's running in a different window, right?

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

Doesn't seem to be a separate window! It's always on top. And Minetest wouldn't release the mouse pointer to access it. It's seamless!
Holy Crap that's awesome!

User avatar
rubenwardy
Moderator
Posts: 6108
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

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

by rubenwardy » Post

Could have been on a different computer.

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

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

by Minetestforfun » Post

Player markers is a new feature ?! How do that ? :D
Can we add markers like "static marker" for buildings/areas of interrest now ? How do that ? :D

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

@Rubenwardy:

It's a separate window with window decoration turned off and set transparent by compositing.

@Minetestforfun:

Yes, MTSatellite is able to show players now.

You basically need a fresh versions of mtwebmapper, the static web stuff and the track_players-mod
coming with MTSatelliet. See [1] how to set it up.

We use it for about two month on our server without any problems but I still call it experimental
(and a bit rough around the edges). Also nice with in combination with the websocket socket
support so you don't have to refresh the map to update it manually.

Feel free to experiment with it. Feedback is welcome. :-)

Adding other stuff like areas, points of interest and other static content is possible.
You just have to produce layers of GeoJSON objects and add this to the map in the web client.
To do so there is still the need to write some external scripts.

BTW: The new client has leaflet-hash support which make linking
map sections easy: http://maps.mt.sha-bang.de/#10/-233.2500/-2067.7500

[1] https://bitbucket.org/s_l_teichmann/mts ... in-players

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

MTSatellite for Windows

(Very, very, very experimental and maybe very buggy)

I've uploaded a Windows build of MTSatellite to [1].
This is highly experimental and not tested very well. I've only run it
in a VirtualBoxed Windows 7 as I don't have any native Windows
machines around.

If someone likes to test it there is a little README.txt in the zip archive
how to set it up. To run it you need a Windows build of Minetest server
with Redis support compiled in, too.

Feedback welcome! :-)

Have I've said that it's very, very, very experimental and may contain bugsl?!

[1] https://bitbucket.org/s_l_teichmann/mts ... -06-04.zip
SHA1: 45977758121c54ebb604852180a4ea66f40fe752
Last edited by s-l-teichmann on Thu Jun 04, 2015 16:52, edited 1 time in total.

User avatar
addi
Member
Posts: 664
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

in the readme you have written:
0. Open a command line prompt:

SET PATH=%PATH%;C:\TEMP\mtsatellite-win\bin-win64
you dont need this step, if you navigate to the folder, and right-click while holding shift. Then select open command promt here.
1. Convert your world data to the interleaved LevelDB format:

Assume your game data resides at C:\GAMES\MT\worlds and
you have a World called 'demo' with a plain SQLite3 backend
configured:

mtdbconvert C:\GAMES\MT\worlds\demo\map.sqlite C:\GAMES\MT\worlds\demo\map.db

Depending on your world size this will take some time.
the correct command is mtdbconverter C:\GAMES\MT\worlds\demo\map.sqlite C:\GAMES\MT\worlds\demo\map.db

this worked great :-)
2. Start mtredisalize in another shell (dont forget to set the path):

SET GOMAXPROCS=4
mtredisalize -interleaved=true -network=tcp4 -change-url=http://localhost:8808/update \
C:\GAMES\MT\worlds\demo\map.db
I had some trouble with that backslash-linebreak .
So, i used:
SET GOMAXPROCS=4
mtredisalize -interleaved=true -network=tcp4 -change-url=http://localhost:8808/update C:\GAMES\MT\worlds\demo\map.db
this also worked great :-)

Maybe Im just too stupid, the mtmapseeder seems not to work. The files does nowhere appear and its running since 15 minutes for a small test world

Code: Select all

2015/06/04 16:25:41 Writing (-1438, -94) to file map\8\31\115.png
Edit: I found the images now, but they are just white. they are saved to D:\Programme\mtsatellite-win-2015-06-04\bin-win64\map
Edit2:the file D:\Programme\mtsatellite-win-2015-06-04\bin-win64\map\0\0\0.png contains some pixels, that may be a map.
Attachments
0.png
D:\Programme\mtsatellite-win-2015-06-04\bin-win64\map\0\0\0.png
(1.17 KiB) Not downloaded yet

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

@addi

Thank you for your feedbak about the mistakes in the README.txt.
I'll correct them and upload a new version. :-)

About the white images and the directory structure generated by mtseeder:

\8\* Is the base set of images. In this folder and it's subfolders where every pixel represents
a node of the map.
\7\* Each pixels represents two nodes
\6\* Each pixels represenrs four nodes
... and so on
\0\0\0.png is the whole map averaged into a 256x256 image.

This is the tile pyramid which the leaflet client + mtwebmapper use
to do the zooming stuff. So your 0.png looks right to me.

If you have a small world with only a little land discovered around the
center most of the images are blank.
\8\120\120.png (middle of level 8) is likely to be not empty.

rjregina
New member
Posts: 1
Joined: Sat Jun 27, 2015 09:11
Contact:

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

by rjregina » Post

I'm going to write some documentation to setup and wire the system ... just a matter of spare time.
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.
Sorry for only supporting GNU/Linux at the moment but this is where our 'productive' Minetest server runs o

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

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

by Minetestforfun » Post

Hi,

Thank you again for your work, but I have some minor problems with the new mapper version...

Feel free to help us and gain our gratitude :D https://github.com/Ombridride/minetest- ... /issues/71

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

Have you solved the problem? When looking at http://minetestforfun-worldmap.qbuissondebon.info I see players.

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

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

by Minetestforfun » Post

Yes, i solved this problem, it was due to our old "web" folder...

Now we have others problems/improves we need, if you want to help us => https://github.com/Ombridride/minetest- ... /issues/71

Thank you in advance !

User avatar
Hybrid Dog
Member
Posts: 2748
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

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

by Hybrid Dog » Post

can you make it work in 3d https://github.com/xyzz/onomatopoeia

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

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

@HybridDog Me and my guys already talked about isometric rendering and how to integrate it in MTSatellite. Last time I've checked the onomatopoeia script was awfully slow. Compared to the Minecraft counterparts isometric rendering in Minetest can be tricky. For example you can build a high tower in the corner next to the bottom of the map (which it is depends on the orientation of the map). This tower can shadow nodes deep in the map. Finding the map tiles to be updated is not trivial and needs a clever way of indexing. We don't have a perfect solution yet but the discussion continues.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest