Realtime Mapserver/Tileserver

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Realtime Mapserver/Tileserver

by BuckarooBanzay » Wed Jun 27, 2018 11:49

Minetest Relatime Tileserver:

Serves a near-realtime map of your minetest world with live player-locations and stats.

Features:
  • Near-realtime Tile/Mapblock update (20 seconds default)
  • Tile-Caching
  • Displays players in Realtime (with some additional infos: breath, hp)
  • POI-Mod: adds POI Blocks to create Point-of-interests in-game which are displayed on the map

Planned features:
  • Additional Realtime stats
  • Additional MapBlock analytics (protection, node-count, etc)

Github/Docs: https://github.com/thomasrudin-mt/minetest-tile-server
Download: https://github.com/thomasrudin-mt/minetest-tile-server/releases/tag/1.0
Demo: https://pandorabox.io/map/#-1830.125/426.5/11

Testing is always welcome, but please create a backup before starting the application!
Last edited by BuckarooBanzay on Thu Jul 19, 2018 07:42, edited 4 times in total.
 

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

Re: (Near)Realtime Tileserver

by rubenwardy » Wed Jun 27, 2018 12:02

You end up with grey boxes when zooming out, where there wasn't some before. You're probably not generating variable LOD tiles, so leaflet 404s
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: (Near)Realtime Tileserver

by BuckarooBanzay » Wed Jun 27, 2018 12:34

I had to google what LOD means :)
But the server generates tiles for each zoom level and re-uses the ones from the lower zoom levels for cross-stitching.
I think you browsed the webserver at the time i updated it (around 12:00 GMT) thus the 404/502s.
 

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

User avatar
v-rob
Member
 
Posts: 561
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: (Near)Realtime Tileserver

by v-rob » Wed Jun 27, 2018 18:46

So... Google Maps for a server? ;-) That sounds really cool!
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: (Near)Realtime Tileserver

by BuckarooBanzay » Thu Jun 28, 2018 05:44

Yeah, now that you mention it a street-view mode would be nice :)

I saw the map on WesterosCraft:
http://mc.westeroscraft.com/#

If you click on the upper right on "map types" under "surface" you get a pseudo-3d view.
Something like that would be nice too... :)
 

User avatar
LMD
Member
 
Posts: 688
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: (Near)Realtime Tileserver

by LMD » Wed Jul 04, 2018 15:59

Maybe add map prediction eg : if map hasnt loaded yet somewhere, estimate it using biome noise, LOTHs worldmaps could be an inspiration, look at KGMs GitHub page : github.com/KaiGerdMueller
Also, consider showing items and death places of players... mobs would be nice, too...
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Realtime Tileserver

by BuckarooBanzay » Wed Jul 18, 2018 15:38

Release Version 1.0

  • Improved Performance (you still need to generate the tiles on first installation/view)
  • Added POI and Travelnet Markers on the Map
  • A lot of other refactoring
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: (Near)Realtime Tileserver

by BuckarooBanzay » Wed Jul 18, 2018 15:46

LMD wrote:Maybe add map prediction eg : if map hasnt loaded yet somewhere, estimate it using biome noise, LOTHs worldmaps could be an inspiration, look at KGMs GitHub page : github.com/KaiGerdMueller
Also, consider showing items and death places of players... mobs would be nice, too...


On the Map-prediction thing: i don't think i will implement this, seems very complex for a very small benefit (and: you have to duplicate the code in the minetest-engine and possibly subgame). Do you have some links on the other worldmaps? The github repo is not very active :(
 

User avatar
Linuxdirk
Member
 
Posts: 1673
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: (Near)Realtime Tileserver

by Linuxdirk » Wed Jul 18, 2018 15:58

BuckarooBanzay wrote:If you click on the upper right on "map types" under "surface" you get a pseudo-3d view.
Something like that would be nice too... :)

Isometric view is an absolute must-have to me.
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Realtime Mapserver/Tileserver

by BuckarooBanzay » Thu Sep 06, 2018 08:55

I'm working currently on a way to show the train routes and stations on the map:
Image

It works with a new tileserver:train block in which you can configure the line, station and index number of a train/track point.

For a demo you can go to https://pandorabox.io/map/#-1902.375/438.5/11 and enable the Trainlines layer on the upper right.
 

User avatar
Glorfindel
Member
 
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Realtime Mapserver/Tileserver

by Glorfindel » Fri Oct 12, 2018 19:53

Looks phenomenal!
Even though the specs recommend 2gb of ram, I am going to test this on my low end (1gb ram, 1cpu core) server, and see if perhaps it will work.
Is there any way I could disable parts of it so it uses less resources? i.e. no player positions show, map updates once per day perhaps?

Thanks
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Realtime Mapserver/Tileserver

by BuckarooBanzay » Mon Oct 15, 2018 06:23

Glorfindel wrote:Looks phenomenal!
Even though the specs recommend 2gb of ram, I am going to test this on my low end (1gb ram, 1cpu core) server, and see if perhaps it will work.
Is there any way I could disable parts of it so it uses less resources? i.e. no player positions show, map updates once per day perhaps?

Thanks


Hi Glorfindel, its just a recommendation. After the initial map-run (takes hours or days depending on map-size) only incremental blocks get read and rendered. My current live-instance needs only about 1GB right now and is pretty lighweight on CPU (see https://pandorabox.io/grafana/d/0SpIc5tiz/tileserver?refresh=5s&orgId=1)

btw: i replied to your issue on github: https://github.com/thomasrudin-mt/minetest-tile-server/issues/24
 

User avatar
Glorfindel
Member
 
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel
 

BuckarooBanzay
Member
 
Posts: 129
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Realtime Mapserver/Tileserver

by BuckarooBanzay » Fri Nov 09, 2018 12:57

New shop-search-feature!

Search shops around you and see if your item is on stock..

Click on the upper right in the realtime-map on the magnifying glass icon https://pandorabox.io/map/#-1782.25/493.5/10
Image

And type then your wanted item in the box on top
Image

Happy shopping :)
 


Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 2 guests