Map 0.5.0 Test

external: index parent
internal: end

Map Chunk Test

Maps - Europe, Australia, KSFO

Four CHUNKS (10x10) - w010n40 e000n40 w010n50 e000n50 make up the European space, chunks e140s30 e150s30 e140s40 e150s40 the eastern Australian space, and the default KSFO (San Francisco) space is just two TILES (1x1), w123n37 and w122n37. The missing 'maps', tiles, are where there is no land, so SG/FG chooses to NOT have scenery tiles for 'all' water areas.

Viewed in Atlas, these maps will be under laid with a full 'globe' background, and overlaid with Airport, and NavAid information.

This MAP MAKING should be done BEFORE you load Atlas, and it is better to cover more than the specific area of the flight... It is sort of synonymous to heading out to purchase the aerial maps, before flying in the region.

In my case this was as simple as running
@call runmap temp "--fg-scenery=\\Dell02\scenery-1.0.1" "--chunk=e140s30" "--chunk=e150s30" "--chunk=e140s40" "--chunk=e150s40"
and for Europe
@call runmap temp "--fg-scenery=\\Dell02\scenery-1.0.1" "--chunk=w010n40" "--chunk=e000n40" "--chunk=w010n50" "--chunk=e000n50"
and wait the time ;=)) Note Map had no problems with my UNC path to a linux (Ubuntu) machine...

top


Palette (and 1 Contour) Test

Please excuse the color blip in these maps... there are no solid red or gray tiles ;=)) ignore them... look only at the color schemes suggested. These are only sample palettes in the distribution, but you can also design your own... or you can download your maps from a map server...

Default palette, with contour lines
w123n37 w122n37
cd-a
w123n37 w122n37

top

GMT_globe
w123n37 w122n37
NGDC
w123n37 w122n37
wiki-1.03
w123n37 w122n37
default
w123n37 w122n37

This set of 256x256 (8) images, w122n37.png w122n37.NGDC.png w122n37.wiki-1.03.png w123n37.cd-a.png w123n37.default.png w123n37.GMT_globe.png w123n37.NGDC.png w123n37.wiki-1.03.png etc were generated by this batch file -

@setlocal
@echo Test each of the palettes...
@set TEMPSRC=C:\FG\Atlas\Atlas-0.5.0\src\data\Palettes
@set TEMPDST=temp2
@REM if EXIST %TEMPDST%\. goto NOGO
@REM call runmap %TEMPDST%
@if NOT EXIST %TEMPDST%\. goto FAILED
@set TEMPS1=w122n37
@set TEMPS2=w123n37
@for %%i in (cd-a.ap default.ap GMT_globe.ap NGDC.ap wiki-1.03.ap) do @(call :MAPIT %%i)
@goto END
:MAPIT
@if "%1x" == "x" goto :EOF
@set TEMPF=%TEMPSRC%\%1
@set TEMPD=%~n1
@set TEMPD1=%TEMPDST%\8\%TEMPS1%.%TEMPD%.png
@set TEMPC1=%TEMPDST%\8\%TEMPS1%.png
@set TEMPD2=%TEMPDST%\8\%TEMPS2%.%TEMPD%.png
@set TEMPC2=%TEMPDST%\8\%TEMPS2%.png
@if NOT EXIST %TEMPF% goto NOFILE
@echo %TEMPF%
@if NOT EXIST %TEMPC1% goto NOCOPY
@if NOT EXIST %TEMPC2% goto NOCOPY2
@call runmap %TEMPDST% "--palette=%TEMPF%" --force
@copy %TEMPC1% %TEMPD1% >nul
@copy %TEMPC2% %TEMPD2% >nul
@dir %TEMPD1%
@echo Check the results for [%TEMPD%]
@pause
@goto :EOF
:NOFILE
@echo Missing [%TEMPF%]!
@pause
@goto NOFILE
:NOCOPY
@echo Missing [%TEMPC1%]
@pause
@goto NOCOPY
:NOCOPY2
@echo Missing [%TEMPC2%]
@pause
@goto NOCOPY2
:NOGO
@echo ERROR: %TEMPDST% already exists! Delete to run this test...
@goto END
:FAILED
@echo ERROR: %TEMPDST% was not created by 'runmap'!
@goto END
:END

Note it uses the 'runmap' batch file... using the --force option... to overwrite existing
@call runmap %TEMPDST% "--palette=%TEMPF%" --force
 

top


EOP - atlas-07b.htm - 2010-12-09 atlas-07c.htm

checked by tidy  Valid HTML 4.01 Transitional