How to download all map and satellite image data?

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
Horchata
Posts: 23
Joined: Sun Sep 24, 2023 7:52 pm

How to download all map and satellite image data?

Post by Horchata »

I am tired of the constant load/chop from having to download stuff from servers every time I zoom in, or getting black squares if my internet goes out.

At least for specific regions.
How can I download all of it at once? Is there a torrent of it to save dev bandwidth costs?
I don't care how big it is I have a lot of storage.
Dimitris
Posts: 15201
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: How to download all map and satellite image data?

Post by Dimitris »

Not at the moment, sorry.
morphin
Posts: 719
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

Re: How to download all map and satellite image data?

Post by morphin »

Not use the maps at the moment is best. I have a good internet provider but I disable most maps
thewood1
Posts: 9913
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: How to download all map and satellite image data?

Post by thewood1 »

I find this strange. I just got back from a flight and on the airplane I was able to play, zoom in/out, and pan around at all zoom levels without any issues. I just tested it out to make sure. Turned off wifi completely. No black squares. A minor flicker when I zoom is all I see in 1328.9.

edit...thats with Stamen, Relief, opentopo, and BMNG.
BDukes
Posts: 2629
Joined: Wed Dec 27, 2017 12:59 pm

Re: How to download all map and satellite image data?

Post by BDukes »

thewood1 wrote: Fri Sep 29, 2023 7:15 pm I find this strange. I just got back from a flight and on the airplane I was able to play, zoom in/out, and pan around at all zoom levels without any issues. I just tested it out to make sure. Turned off wifi completely. No black squares. A minor flicker when I zoom is all I see in 1328.9.

edit...thats with Stamen, Relief, opentopo, and BMNG.
Wonder if when connected its going through a constant update cycle with all the humps and bumps of internet traffic. When you were offline it wasn't?
Don't call it a comeback...
thewood1
Posts: 9913
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: How to download all map and satellite image data?

Post by thewood1 »

I don't see it when connected either. But, when I first update to the beta, I would see a flicker of black squares. But they cache and are stored as you play over those areas, I think.
User avatar
MausMan2
Posts: 150
Joined: Mon Aug 13, 2007 5:35 am
Location: Minnesota, USA

Re: How to download all map and satellite image data?

Post by MausMan2 »

I've been creating my own map tiles for the look I want by combining Google Earth, Open Street Map, Esri etc. services into QGIS, then run the Generate XYZ Tiles tool which then generates the tiles that match those used in the game from Stamen Terrain, or OpenTopoMap. I store them locally by region and overwrite the cache /WW/Cache/Stamen Terrain as needed depending on the scenario I happen to be interested in. Unplug from the internet and launch CMO. There's no way I would attempt this for the entire world since I'm doing this down to zoom level 13. 5.5 GB for Syria, about 10 gb for most of Ukraine.
Horchata
Posts: 23
Joined: Sun Sep 24, 2023 7:52 pm

Re: How to download all map and satellite image data?

Post by Horchata »

Dimitris wrote: Fri Sep 29, 2023 10:26 am Not at the moment, sorry.
Not even the "open" map services?
MausMan2 wrote: Mon Oct 02, 2023 8:17 pm I've been creating my own map tiles for the look I want by combining Google Earth, Open Street Map, Esri etc. services into QGIS, then run the Generate XYZ Tiles tool which then generates the tiles that match those used in the game from Stamen Terrain, or OpenTopoMap. I store them locally by region and overwrite the cache /WW/Cache/Stamen Terrain as needed depending on the scenario I happen to be interested in. Unplug from the internet and launch CMO. There's no way I would attempt this for the entire world since I'm doing this down to zoom level 13. 5.5 GB for Syria, about 10 gb for most of Ukraine.
Could you create a torrent for me/us or explain how exactly to do this? I want Ukraine, Crimea, the Russian border region and the coastal areas of the Black Sea. I am making a realistic Black Sea Ukraine + NATO vs Russia scenario and the constant black squaring/loading latency is driving me nuts.
User avatar
MausMan2
Posts: 150
Joined: Mon Aug 13, 2007 5:35 am
Location: Minnesota, USA

Re: How to download all map and satellite image data?

Post by MausMan2 »

download and install the GIS software:
https://www.qgis.org/en/site/forusers/download.html
I'm not on the most latest version so hope this is ok for you to follow.
once you get it running and open it, you start with a blank project.
There should be a browser section where you manage data sources. Find XYZ Tiles, right-click and new connection.
This example just adds a simple google earth imagery tiles into your project. But you can get as complicated as you want.
for example, I bring in a transparent shaded relief from other sources and stuff like 12 mile territorial and EEZ boundary lines.
in the XYZ Connection dialog box name it Google Earth. then enter the URL as https://www.google.cn/maps/vt?lyrs=s@18 ... y={y}&z={z}
Min Zoom level 0, max zoom level 18

Add layer to project and confirm you're seeing the tiles rendered in the map display and that you can zoom in with increasing detail.

QGIS should have a Processing Tool Box that can be turned on under the Processing drop down. In the Processing Toolbox, there's 'Raster tools'.
Expand it and launch Generate 'XYZ tiles (Directory)'

this will generate the png tiles that you'll place in your Stamen Terrain cache.
the extend can be based on the current extent of you map view, or use my coordinates here.
2812651.7191,4596260.8876,5368707.9957,6546050.9136 [EPSG:3857]
or test with a smaller area...

Do tiles of PNG at 256x256 like I'm showing in the attachment. I'll also enter a background color (#d7d8c7).

pick a local drive location to stage the output. I think it took my system like 20-30 minutes processing time.

When its done you should have the file structure and image tiles where you saved it. then copy it into:
\Command Modern Operations\WW\Cache\Stamen Terrain\
because they're limited to 256x256 they're not the sharpest images once in game, but good enough.

looking forward to trying the scenario.
Attachments
Generate XYZ Tiles.png
Generate XYZ Tiles.png (27.43 KiB) Viewed 914 times
Post Reply

Return to “Command: Modern Operations series”