I just became aware of a comparatively new WebGL globe framework (via weeklyOSM), which looks very promising:
Make sure to look at the examples. It’s not yet possible to add arbitrary 3D objects, like e.g. buildings but it seems to be planned. WeeklyOSM mentioned that the developer asked for data city models in the OSM forum, so exciting times might lie ahead…
For an OGF example, see here: https://tile.opengeofiction.net/util/openglobus.html
Comment from zhenkang on 30 June 2018 at 00:29
Comment from mstr on 30 June 2018 at 02:37
This is GREAT! A short question, what decides where light is and where not?
My country seems to be quite well developed and there seems to be enough electricity :D
Comment from mstr on 30 June 2018 at 02:40
here the picture for my question https://ibb.co/kcCK4y
Comment from bhj867 on 30 June 2018 at 06:48
This is very cool, why is pretany so dim? Maybe it’s a tagging thing.
Comment from ParAvion on 30 June 2018 at 07:06
The first thing I saw was the twinkling lights of Avalon, Cambria, and Saviso. I approve.
Comment from Rustem Pasha on 30 June 2018 at 10:43
The night light map really got me although it seems that it’s a simple script which use the landuse=residential tag. Interesting thing.
Comment from UN1TY on 30 June 2018 at 12:29
Judging by the lights, Unesia should be one of the most densely developed in OGF, which is a bit deceiving. In reality, it’s under-developed compared to a lot of other places.
@Rustem Pasha - That’s a good point about the “landuse=residential” tag, which we both use a lot in our mapping. Also, I think road density is a big factor. That’s why some rural areas (like Lake Harmon on the northwest corner of Unesia) are so bright, because all the winding switchbacks on the mountain roads create a large patch of light as if it were a city.
Comment from zhenkang on 30 June 2018 at 13:41
I like the map, but somehow like what UN1TY said, the globe can be slightly misleading as to make some rural areas look like urban cities than towns. I tell you, if the map in the real world looks like that, then North Korea will also be twinkling in the villages. But…
Commonia should not also be lit up now, as due to frequent wars electricity may be disrupted and electric supply can be heavily restricted, so Commonians are more likely to sleep in darkness.
Comment from thilo on 30 June 2018 at 13:43
You’re correct about the script, but the tags used are
The generated image is here:
Each pixel’s brightness is directly determined by the number of highway nodes projected into that location, with values ranging from 0 - 255 (with the value set to 255 if the node count is higher).
In a first version, I used all types of highways without regard of the tag value. The only reason I didn’t use it, was that Roantra came out much to bright because of its comparatively high density of small country roads. IMO it’s still too bright, but now more acceptable.
Comment from thilo on 30 June 2018 at 13:48
Also, let me add that I’m open to replacing the night map by a more convincing one, if someone takes on the effort to create one.
Comment from zhenkang on 30 June 2018 at 13:55
The only sad thing about our world is that these lights will never show up for unclaimed territories. I thought if we really want to make the globe slightly more realistic, we can make more residential areas in such territories.
And also one good way to check if anyone is straying off to reserved territories, because if there are any lights from the western continents, do a check.
@bhj867 Pretany is quite bright though, compared to Antigo.
Comment from UmgangsCool on 30 June 2018 at 14:25
On what base does this globe gets updated? Would be nice to know.
Comment from Alessa on 30 June 2018 at 16:01
@Thilo: This is nice. What about maybe omitting tertiary or omitting tertiary and secondary roads to dim areas a bit more? Parts of urban Mauretia are quite bright, as I’d expect. The area near Ambradora is quite rural with a smattering of small cities, however, but it comes up quite bright on the map simply because I’ve done a ton of work there and it includes a fair number of secondary roads.
Comment from _zM on 30 June 2018 at 21:02
Also counting nodes probably isn’t the best idea, either.
Comment from Luziyca on 1 July 2018 at 02:28
This looks pretty nice. If only if I can see the lights at a higher zoom level, though… :P
Comment from bhj867 on 1 July 2018 at 04:35
Suddenly realizing how close St. Richards and Antigo, the capital of the PFS really are when looking at everything from the north.
Comment from zhenkang on 1 July 2018 at 06:52
I actually wanted to also send a PM about that. But it is unlikely Pretany will try to capture Antigo as much as NK will do for Seoul. I believe that any invasion by Pretany will put Pretany in shame by the world.
Comment from zhenkang on 3 July 2018 at 11:53
The problem now is that is not really successible on phones
Comment from andrepoiy on 3 July 2018 at 20:16
The map is incredibly slow for me…