forked from IzAndCuddles/gdal2tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_gdal2tiles_code_coverage.bat
60 lines (54 loc) · 1.87 KB
/
run_gdal2tiles_code_coverage.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@echo off
set OLD_PATH=%PATH%
set PATH=C:\Program Files (x86)\GDAL;%PATH%
set GDAL_DATA=C:\Program Files (x86)\GDAL\gdal-data
set GDAL_DRIVER_PATH=C:\Program Files (x86)\GDAL\gdalplugins
set INPUT_IMAGE=D:\Stage\gdal2tiles\image_test_miniature\image.vrt
set chemin=%cd%
cd D:\Stage\gdal2tiles\test_image\
pushd mercator_average
echo mercator average
%chemin%\gdal2tiles.py -p mercator %INPUT_IMAGE%
popd
echo -------------------------------------------------------------
pushd mercator_near
echo mercator near
%chemin%\gdal2tiles.py -p mercator -r near %INPUT_IMAGE%
popd
echo -------------------------------------------------------------
pushd mercator_antialias
echo mercator antialias
%chemin%\gdal2tiles.py -p mercator -r antialias %INPUT_IMAGE%
popd
echo =============================================================
pushd geodetic_average
echo geodetic average
%chemin%\gdal2tiles.py -p geodetic %INPUT_IMAGE%
popd
echo -------------------------------------------------------------
pushd geodetic_near
echo geodetic near
%chemin%\gdal2tiles.py -p geodetic -r near %INPUT_IMAGE%
popd
echo -------------------------------------------------------------
pushd geodetic_antialias
echo geodetic antialias
%chemin%\gdal2tiles.py -p geodetic -r antialias %INPUT_IMAGE%
popd
echo =============================================================
pushd raster_average
echo raster average
%chemin%\gdal2tiles.py -p raster %INPUT_IMAGE%
popd
echo -------------------------------------------------------------
pushd raster_near
echo raster near
%chemin%\gdal2tiles.py -p raster -r near %INPUT_IMAGE%
popd
rem echo -------------------------------------------------------------
rem : config raster+antialias > fail de generate_base_tiles
rem pushd raster_antialias
rem %chemin%\gdal2tiles.py -p raster -r antialias %INPUT_IMAGE%
rem popd
set PATH=%OLD_PATH%
pause