arma3:terrain:real-world-data-global-mapper
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arma3:terrain:real-world-data-global-mapper [2017/02/28 08:07] – added export satellite bmp color palette header and darken-merge-picturemap-satellite-texture-tiles link. snakeman | arma3:terrain:real-world-data-global-mapper [2024/08/02 18:58] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Real World Data Acquisition Using Global Mapper ====== | + | ====== |
+ | |||
+ | [[https:// | ||
**How to get terrain heightmap and satellite texture into Terrain Builder using Global Mapper.** [[http:// | **How to get terrain heightmap and satellite texture into Terrain Builder using Global Mapper.** [[http:// | ||
Line 30: | Line 32: | ||
Global Mapper v18 Digitizer Tool RMB menu: | Global Mapper v18 Digitizer Tool RMB menu: | ||
- | {{ http:// | + | {{ https:// |
Global Mapper v18 Export Menu menu: | Global Mapper v18 Export Menu menu: | ||
- | {{ http:// | + | {{ https:// |
Global Mapper v18 Digitizer Tool RMB Advanced Feature Creation: | Global Mapper v18 Digitizer Tool RMB Advanced Feature Creation: | ||
- | {{ http:// | + | {{ https:// |
Global Mapper v18 Digitizer Tool RMB Create Area/ | Global Mapper v18 Digitizer Tool RMB Create Area/ | ||
- | {{ http:// | + | {{ https:// |
Line 65: | Line 67: | ||
====== Satellite Texture World Imagery ====== | ====== Satellite Texture World Imagery ====== | ||
- | We use online map sources, world imagery, to download satellite texture. | + | We use online map sources, world imagery |
**Satellite texture:** | **Satellite texture:** | ||
- click globe button (connect to online data) | - click globe button (connect to online data) | ||
- choose world imagery, click connect | - choose world imagery, click connect | ||
- | - file -> export -> export raster/ | + | - file -> export -> export raster/ |
- | - sample spacing put both x/y axis to 1 meters | + | - sample spacing |
- select export bounds tab | - select export bounds tab | ||
- tick crop to selected area feature(s) box and click ok | - tick crop to selected area feature(s) box and click ok | ||
- | - choose file name like satellite_texture_lco.bmp and click save | + | - choose file name like satellite_texture_lco.png and click save |
- | all done | + | All done! |
- | Our attempts to export 40960 x 40960 resolution world imagery satellite texture ended up Global Mapper freezing with 0% CPU usage. | + | Our attempts to export 40960 x 40960 resolution world imagery satellite texture ended up Global Mapper freezing with 0% CPU usage. |
- | See also Terra Incognita satellite texture | + | See also [[arma3: |
Line 87: | Line 89: | ||
Example BMP color palette comparison, left global mapper exported BMP and right terra incognita saved original JPG image: | Example BMP color palette comparison, left global mapper exported BMP and right terra incognita saved original JPG image: | ||
- | {{ http://i.imgur.com/a8IR83e.jpg }} | + | {{ https://pmc.editing.wiki/images/ |
Notice the 256 color palette (indexed) as it shows limited colors on the farm fields. | Notice the 256 color palette (indexed) as it shows limited colors on the farm fields. | ||
- | We did comparison export from global mapper, one normal BMP and another as PNG 24bit, there is a difference... but maybe it was the area I chosen or something but it is SO minor that... dunno, just dunno. | + | We did comparison export from global mapper, one normal BMP and another as PNG 24bit, |
JPG with quality slider 95% and PNG 24bit has no visible differences. On file sizes (in my example) PNG is 1.25mb where JPG is 418kb. | JPG with quality slider 95% and PNG 24bit has no visible differences. On file sizes (in my example) PNG is 1.25mb where JPG is 418kb. | ||
Quality slider has no effect on BMP export image quality. | Quality slider has no effect on BMP export image quality. | ||
+ | |||
+ | Summary: always export 24bit PNG files instead for maximum image quality. | ||
Line 103: | Line 107: | ||
This assumes you have read world imagery satellite texture part so you know how to export satellite image. | This assumes you have read world imagery satellite texture part so you know how to export satellite image. | ||
- | - on bmp export options dialog, select tiling tab | + | - on PNG export options dialog, select tiling tab |
- tick " | - tick " | ||
- put both rows and columns to value 2 | - put both rows and columns to value 2 | ||
Line 123: | Line 127: | ||
If you have a very large, huge, satellite texture like above 40960 x 40960 resolution, it basically needs to be exported as tiles. Not only tiles but **enough tiles** so the tile size remains small, do not exceed 20480 resolution! | If you have a very large, huge, satellite texture like above 40960 x 40960 resolution, it basically needs to be exported as tiles. Not only tiles but **enough tiles** so the tile size remains small, do not exceed 20480 resolution! | ||
- | We would recommend tile size more close to rough 10,000 to keep them nice and small. Yes the more tiles you have the more cumbersome they are to import into terrain builder, but once you have exported the tiles you can use imagemagick to stitch them together for more import friendly sizes if that's what you want. | + | We would recommend tile size more close to rough 10,000 to keep them nice and small. Yes the more tiles you have the more cumbersome they are to import into terrain builder, but once you have exported the tiles you can use [[arma2: |
- | If you try to export too large tiles, then global mapper writes the BMP files somehow incorrectly and they are not readable with photoshop (or imagemagick). For example we tried to export 35,500 resolution images and it failed. | + | If you try to export too large tiles, then global mapper writes the BMP files somehow incorrectly and they are not readable with photoshop (or imagemagick). For example we tried to export 35,500 resolution images and it failed. This might be different for PNG 24bit files, needs to be tested, however for now you should export as tiles. |
When importing these tiles into terrain builder you can use even larger resolutions so you can stitch these tiles together and import only 2 x 2 tiles instead of 25 hehe. Use good numbers for tiles, like 2 x 2, 4 x 4 and 5 x 5. There are bad tile grid setups, here is example table of different resolutions divided by values: | When importing these tiles into terrain builder you can use even larger resolutions so you can stitch these tiles together and import only 2 x 2 tiles instead of 25 hehe. Use good numbers for tiles, like 2 x 2, 4 x 4 and 5 x 5. There are bad tile grid setups, here is example table of different resolutions divided by values: | ||
Line 176: | Line 180: | ||
====== Darken and Merge Satellite Tiles ====== | ====== Darken and Merge Satellite Tiles ====== | ||
- | You need to darken most maps.google | + | You need to darken most downloaded satellite images as arma3 v1.60 introduced visual upgrade requires very dark satellite texture. |
Also you might want to merge the exported satellite images to something bit larger before importing to terrain builder. | Also you might want to merge the exported satellite images to something bit larger before importing to terrain builder. | ||
Line 232: | Line 236: | ||
See [[arma3: | See [[arma3: | ||
+ | |||
+ | |||
+ | ====== Export Split FCLASS ====== | ||
+ | |||
+ | Global Mapper can split your exported shapefiles into different files. In this example our OSM data has FCLASS attribute and we want to export currently seen data into individual shapefiles named according to FCLASS. | ||
+ | |||
+ | File -> Export -> vector/ | ||
+ | |||
+ | |||
+ | ====== Latitude Longitude ====== | ||
+ | |||
+ | CTRL-L copy pastes coordinates from mouse position into clipboard. | ||
+ | |||
+ | |||
+ | ====== Terrain Center Position ====== | ||
+ | |||
+ | **Howto get absolute center position of your terrain** from the user created feature grid. | ||
+ | |||
+ | Digitizer tool, CTRL-LMB drag box around left bottom corner and then right upper corner vertices. Then RMB in the grid and choose Crop/ | ||
+ | |||
+ | Now you can select the middle vertice, this is absolute center position of your terrain. | ||
+ | |||
+ | Select the vertice -> RMB -> Vertex editing -> set position of selected vertices. In this dialog click geographic coordinates (lat/lon), now you can see and copy paste latitude / longitude values. | ||
+ | |||
+ | |||
+ | ====== Center on Coordinates ====== | ||
+ | |||
+ | RMB google/maps location -> whats here? -> small box appears center bottom of the screen, click the coordinate link, now copy paste the coordinates from the changed browser link, or from the " | ||
+ | |||
+ | In global mapper zoom quite close to any position (doesn' | ||
+ | |||
+ | |||
+ | ====== Tips ====== | ||
+ | |||
+ | If you want to export user created features, just RMB the layer and choose layer -> export, then save it as shapefile. | ||
+ |
arma3/terrain/real-world-data-global-mapper.1488269231.txt.gz · Last modified: 2017/02/28 08:07 by snakeman