diff --git a/index.html b/index.html
index 8b36d03..36a1181 100644
--- a/index.html
+++ b/index.html
@@ -13,216 +13,216 @@
Worldwide
- Thunderforest - Outdoors |
- Thunderforest - Landscape |
- Thunderforest - OpenCycleMap |
- 4UMaps |
+ Thunderforest - Outdoors |
+ Thunderforest - Landscape |
+ Thunderforest - OpenCycleMap |
+ 4UMaps |
- marshruty.ru |
- GIScience Heidelberg |
- ÖPNVKarte |
- Open Street Map - Black and White |
+ marshruty.ru |
+ GIScience Heidelberg |
+ ÖPNVKarte |
+ Open Street Map - Black and White |
- Open Street Map |
- Open Street Map - HiDPI |
- MapTiler |
- HikeBikeMap |
+ Open Street Map |
+ Open Street Map - HiDPI |
+ MapTiler |
+ HikeBikeMap |
- Thunderforest - Transport |
- UNESCO |
- Open Topo Map |
- CyclOSM |
+ Thunderforest - Transport |
+ UNESCO |
+ Open Topo Map |
+ CyclOSM |
Antarctica
- Landsat Image Mosaic of Antarctica |
- Antarctica |
+ Landsat Image Mosaic of Antarctica |
+ Antarctica |
Asia
- Slazav mountains |
+ Slazav mountains |
Japan
- Geographical Institute Tile (標準地図) |
+ Geographical Institute Tile (標準地図) |
Taiwan (Republic of China)
- TWTOPO-rudy |
- TWTOPO-happyman |
+ TWTOPO-rudy |
+ TWTOPO-happyman |
Europe
- Open Flighmaps |
- map1.eu |
+ Open Flighmaps |
+ map1.eu |
Austria
- Basemap AT Orthofoto |
- Basemap AT Farbe |
+ Basemap AT Orthofoto |
+ Basemap AT Farbe |
Belgium
- NGI |
+ NGI |
Bulgaria
- BGMountains |
+ BGMountains |
Czech Republic
- ČÚZK - Ortofoto |
- Poloha.Net |
- ČÚZK - Základní mapy |
- Prahou na kole |
+ ČÚZK - Ortofoto |
+ Poloha.Net |
+ ČÚZK - Základní mapy |
+ Prahou na kole |
Finland
- Selkokartta (Plain map) |
- MapAnt |
- Ilmakuva (Aerial image) |
- Karjalankartta (Maps of Karelia) 1:100 000 |
+ Selkokartta (Plain map) |
+ MapAnt |
+ Ilmakuva (Aerial image) |
+ Karjalankartta (Maps of Karelia) 1:100 000 |
- Rinnevarjostus (Hillshade) |
- Karjalankartta (Maps of Karelia) 1:20 000 |
- Maastokartta (Topographic map) |
+ Rinnevarjostus (Hillshade) |
+ Karjalankartta (Maps of Karelia) 1:20 000 |
+ Maastokartta (Topographic map) |
France
- Photographies aériennes |
- Cartes IGN |
+ Photographies aériennes |
+ Cartes IGN |
Germany
- TopPlusOpen |
+ TopPlusOpen |
Hungary
- Turistautak |
+ Turistautak |
Iceland
- Iceland Atlas |
- Iceland Landscape |
- Iceland Map |
+ Iceland Atlas |
+ Iceland Landscape |
+ Iceland Map |
Netherlands
- PDOK Ortho25 2017 |
- PDOK OpenTopo |
+ PDOK Ortho25 2017 |
+ PDOK OpenTopo |
Norway
- Svalbard Topography |
- Topografisk Norgeskart |
- Svalbard Satellite Imagery |
- Svalbard Orthophoto |
+ Svalbard Topography |
+ Topografisk Norgeskart |
+ Svalbard Satellite Imagery |
+ Svalbard Orthophoto |
- Jan Mayen Topography |
+ Jan Mayen Topography |
Poland
- GUGIK Mapa Topograficzna |
- GUGIK Ortofotomapa |
- UMP-pcPL |
+ GUGIK Mapa Topograficzna |
+ GUGIK Ortofotomapa |
+ UMP-pcPL |
Russian Federation
- O-sport |
- GGC 500m |
- Topo 500m |
- GGC 250m |
+ O-sport |
+ GGC 500m |
+ Topo 500m |
+ GGC 250m |
- GGC 1km |
- Topo 1km |
- GGC 2km |
- Topo 250m |
+ GGC 1km |
+ Topo 1km |
+ GGC 2km |
+ Topo 250m |
- Races |
- Slazav map |
+ Races |
+ Slazav map |
Slovakia
- GKÚ - Ortofotomozaika |
- Freemap Slovakia |
- GKÚ - ZBGIS |
+ GKÚ - Ortofotomozaika |
+ Freemap Slovakia |
+ GKÚ - ZBGIS |
Slovenia
- Slovenia - DTK50 |
- Slovenia - DPK750 |
- Slovenia - ortofoto |
+ Slovenia - DTK50 |
+ Slovenia - DPK750 |
+ Slovenia - ortofoto |
Spain
- Cartografía raster del IGN |
+ Cartografía raster del IGN |
Switzerland
- Swisstopo Aerial |
- OSM Switzerland Swiss Style |
- OSM Switzerland |
- Swisstopo |
+ Swisstopo Aerial |
+ OSM Switzerland Swiss Style |
+ OSM Switzerland |
+ Swisstopo |
North America
United States of America
- USGS Topo |
- USGS Imagery |
+ USGS Topo |
+ USGS Imagery |
Oceania
New Zealand
- NZ Topo Map 250 |
- NZ Topo Map 50 |
+ NZ Topo Map 250 |
+ NZ Topo Map 50 |
diff --git a/maps/4UMaps.xml b/maps/4UMaps.xml
new file mode 100644
index 0000000..51ab985
--- /dev/null
+++ b/maps/4UMaps.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Antarctica.xml b/maps/Antarctica.xml
new file mode 100644
index 0000000..8e60cf6
--- /dev/null
+++ b/maps/Antarctica.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/BGMountains.xml b/maps/BGMountains.xml
new file mode 100644
index 0000000..23c5cbc
--- /dev/null
+++ b/maps/BGMountains.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/BasemapAT-Farbe.xml b/maps/BasemapAT-Farbe.xml
new file mode 100644
index 0000000..80173ca
--- /dev/null
+++ b/maps/BasemapAT-Farbe.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/BasemapAT-Ortho.xml b/maps/BasemapAT-Ortho.xml
new file mode 100644
index 0000000..0ea2648
--- /dev/null
+++ b/maps/BasemapAT-Ortho.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/CUZK-ortofoto.xml b/maps/CUZK-ortofoto.xml
new file mode 100644
index 0000000..a84f874
--- /dev/null
+++ b/maps/CUZK-ortofoto.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/CUZK-zm.xml b/maps/CUZK-zm.xml
new file mode 100644
index 0000000..02819e5
--- /dev/null
+++ b/maps/CUZK-zm.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/CyclOSM.xml b/maps/CyclOSM.xml
new file mode 100644
index 0000000..8f9f250
--- /dev/null
+++ b/maps/CyclOSM.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/FreemapSlovakia.xml b/maps/FreemapSlovakia.xml
new file mode 100644
index 0000000..4266d21
--- /dev/null
+++ b/maps/FreemapSlovakia.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/GKU-ZBGIS.xml b/maps/GKU-ZBGIS.xml
new file mode 100644
index 0000000..ce4996d
--- /dev/null
+++ b/maps/GKU-ZBGIS.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/GKU-ortofoto.xml b/maps/GKU-ortofoto.xml
new file mode 100644
index 0000000..de37cc5
--- /dev/null
+++ b/maps/GKU-ortofoto.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/GSI-basemap.xml b/maps/GSI-basemap.xml
new file mode 100644
index 0000000..7f1f248
--- /dev/null
+++ b/maps/GSI-basemap.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/GUGIK-orto.xml b/maps/GUGIK-orto.xml
new file mode 100644
index 0000000..bec4d1a
--- /dev/null
+++ b/maps/GUGIK-orto.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/GUGIK-topo.xml b/maps/GUGIK-topo.xml
new file mode 100644
index 0000000..25d8a3b
--- /dev/null
+++ b/maps/GUGIK-topo.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/HikeBikeMap.xml b/maps/HikeBikeMap.xml
new file mode 100644
index 0000000..23b8292
--- /dev/null
+++ b/maps/HikeBikeMap.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/IGN-mapa-raster.xml b/maps/IGN-mapa-raster.xml
new file mode 100644
index 0000000..f012c85
--- /dev/null
+++ b/maps/IGN-mapa-raster.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/IGN-maps.xml b/maps/IGN-maps.xml
new file mode 100644
index 0000000..1ba0eb9
--- /dev/null
+++ b/maps/IGN-maps.xml
@@ -0,0 +1,10 @@
+
+
diff --git a/maps/IGN-orthophotos.xml b/maps/IGN-orthophotos.xml
new file mode 100644
index 0000000..1419385
--- /dev/null
+++ b/maps/IGN-orthophotos.xml
@@ -0,0 +1,10 @@
+
+
diff --git a/maps/Ilmakuva.xml b/maps/Ilmakuva.xml
new file mode 100644
index 0000000..9e9d7c4
--- /dev/null
+++ b/maps/Ilmakuva.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/JanMayen_Basiskart.xml b/maps/JanMayen_Basiskart.xml
new file mode 100644
index 0000000..2969039
--- /dev/null
+++ b/maps/JanMayen_Basiskart.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/Karjalankartta100k.xml b/maps/Karjalankartta100k.xml
new file mode 100644
index 0000000..113732f
--- /dev/null
+++ b/maps/Karjalankartta100k.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Karjalankartta20k.xml b/maps/Karjalankartta20k.xml
new file mode 100644
index 0000000..73f056b
--- /dev/null
+++ b/maps/Karjalankartta20k.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/LIMA.xml b/maps/LIMA.xml
new file mode 100644
index 0000000..ab8677e
--- /dev/null
+++ b/maps/LIMA.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Maastokartta.xml b/maps/Maastokartta.xml
new file mode 100644
index 0000000..e0d099e
--- /dev/null
+++ b/maps/Maastokartta.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/MapAnt.xml b/maps/MapAnt.xml
new file mode 100644
index 0000000..46bb7f6
--- /dev/null
+++ b/maps/MapAnt.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/MapTiler.tpl b/maps/MapTiler.tpl
new file mode 100644
index 0000000..7bd2455
--- /dev/null
+++ b/maps/MapTiler.tpl
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/NLS_Atlas.xml b/maps/NLS_Atlas.xml
new file mode 100644
index 0000000..c0ec249
--- /dev/null
+++ b/maps/NLS_Atlas.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/NLS_Landscape.xml b/maps/NLS_Landscape.xml
new file mode 100644
index 0000000..cdc9469
--- /dev/null
+++ b/maps/NLS_Landscape.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/NLS_Map.xml b/maps/NLS_Map.xml
new file mode 100644
index 0000000..c5476bf
--- /dev/null
+++ b/maps/NLS_Map.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/NZTopoMap250.xml b/maps/NZTopoMap250.xml
new file mode 100644
index 0000000..af14083
--- /dev/null
+++ b/maps/NZTopoMap250.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/NZTopoMap50.xml b/maps/NZTopoMap50.xml
new file mode 100644
index 0000000..3518951
--- /dev/null
+++ b/maps/NZTopoMap50.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Norgeskart.xml b/maps/Norgeskart.xml
new file mode 100644
index 0000000..da93a90
--- /dev/null
+++ b/maps/Norgeskart.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/OPNVKarte.xml b/maps/OPNVKarte.xml
new file mode 100644
index 0000000..2056e10
--- /dev/null
+++ b/maps/OPNVKarte.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/OpenFlightMaps.xml b/maps/OpenFlightMaps.xml
new file mode 100644
index 0000000..5e78c2d
--- /dev/null
+++ b/maps/OpenFlightMaps.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/OpenStreetMap-BW.xml b/maps/OpenStreetMap-BW.xml
new file mode 100644
index 0000000..1d5af5f
--- /dev/null
+++ b/maps/OpenStreetMap-BW.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/OpenStreetMap-HiDPI.xml b/maps/OpenStreetMap-HiDPI.xml
new file mode 100644
index 0000000..448e520
--- /dev/null
+++ b/maps/OpenStreetMap-HiDPI.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/OpenStreetMap-Swiss-Style.xml b/maps/OpenStreetMap-Swiss-Style.xml
new file mode 100644
index 0000000..9c68145
--- /dev/null
+++ b/maps/OpenStreetMap-Swiss-Style.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/OpenStreetMap-Switzerland.xml b/maps/OpenStreetMap-Switzerland.xml
new file mode 100644
index 0000000..6ebf196
--- /dev/null
+++ b/maps/OpenStreetMap-Switzerland.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/OpenStreetMap.xml b/maps/OpenStreetMap.xml
new file mode 100644
index 0000000..a581a82
--- /dev/null
+++ b/maps/OpenStreetMap.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/OpenTopoMap.xml b/maps/OpenTopoMap.xml
new file mode 100644
index 0000000..86d826c
--- /dev/null
+++ b/maps/OpenTopoMap.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/PDOK-opentopo.xml b/maps/PDOK-opentopo.xml
new file mode 100644
index 0000000..68da004
--- /dev/null
+++ b/maps/PDOK-opentopo.xml
@@ -0,0 +1,10 @@
+
+
diff --git a/maps/PDOK-ortho25.xml b/maps/PDOK-ortho25.xml
new file mode 100644
index 0000000..cd7bbf0
--- /dev/null
+++ b/maps/PDOK-ortho25.xml
@@ -0,0 +1,10 @@
+
+
diff --git a/maps/Poloha.Net.xml b/maps/Poloha.Net.xml
new file mode 100644
index 0000000..53b182d
--- /dev/null
+++ b/maps/Poloha.Net.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/Rinnevarjostus.xml b/maps/Rinnevarjostus.xml
new file mode 100644
index 0000000..629148d
--- /dev/null
+++ b/maps/Rinnevarjostus.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Selkokartta.xml b/maps/Selkokartta.xml
new file mode 100644
index 0000000..69a5405
--- /dev/null
+++ b/maps/Selkokartta.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Slovenia-DPK750.xml b/maps/Slovenia-DPK750.xml
new file mode 100644
index 0000000..8cede0d
--- /dev/null
+++ b/maps/Slovenia-DPK750.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Slovenia-DTK50.xml b/maps/Slovenia-DTK50.xml
new file mode 100644
index 0000000..3432c17
--- /dev/null
+++ b/maps/Slovenia-DTK50.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Slovenia-ortofoto.xml b/maps/Slovenia-ortofoto.xml
new file mode 100644
index 0000000..a1472b8
--- /dev/null
+++ b/maps/Slovenia-ortofoto.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Svalbard_Basiskart.xml b/maps/Svalbard_Basiskart.xml
new file mode 100644
index 0000000..a0644d5
--- /dev/null
+++ b/maps/Svalbard_Basiskart.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/Svalbard_Ortofoto.xml b/maps/Svalbard_Ortofoto.xml
new file mode 100644
index 0000000..9405b23
--- /dev/null
+++ b/maps/Svalbard_Ortofoto.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/Svalbard_Satellitt.xml b/maps/Svalbard_Satellitt.xml
new file mode 100644
index 0000000..3841470
--- /dev/null
+++ b/maps/Svalbard_Satellitt.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/Swisstopo-Aerial.tpl b/maps/Swisstopo-Aerial.tpl
new file mode 100644
index 0000000..532035f
--- /dev/null
+++ b/maps/Swisstopo-Aerial.tpl
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/Swisstopo.tpl b/maps/Swisstopo.tpl
new file mode 100644
index 0000000..3f3c8af
--- /dev/null
+++ b/maps/Swisstopo.tpl
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/TWTOPO-happyman.xml b/maps/TWTOPO-happyman.xml
new file mode 100644
index 0000000..7ebf23d
--- /dev/null
+++ b/maps/TWTOPO-happyman.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/TWTOPO-rudy.xml b/maps/TWTOPO-rudy.xml
new file mode 100644
index 0000000..fba3650
--- /dev/null
+++ b/maps/TWTOPO-rudy.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/Thunderforest-Landscape.tpl b/maps/Thunderforest-Landscape.tpl
new file mode 100644
index 0000000..767037b
--- /dev/null
+++ b/maps/Thunderforest-Landscape.tpl
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/Thunderforest-OpenCycleMap.tpl b/maps/Thunderforest-OpenCycleMap.tpl
new file mode 100644
index 0000000..a708f27
--- /dev/null
+++ b/maps/Thunderforest-OpenCycleMap.tpl
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/Thunderforest-Outdoors.tpl b/maps/Thunderforest-Outdoors.tpl
new file mode 100644
index 0000000..942ef68
--- /dev/null
+++ b/maps/Thunderforest-Outdoors.tpl
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/Thunderforest-Transport.tpl b/maps/Thunderforest-Transport.tpl
new file mode 100644
index 0000000..0a7ed20
--- /dev/null
+++ b/maps/Thunderforest-Transport.tpl
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/TopPlusOpen.xml b/maps/TopPlusOpen.xml
new file mode 100644
index 0000000..00f90e9
--- /dev/null
+++ b/maps/TopPlusOpen.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/maps/UMP-pcPL.xml b/maps/UMP-pcPL.xml
new file mode 100644
index 0000000..5167886
--- /dev/null
+++ b/maps/UMP-pcPL.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/USGS-imagery.xml b/maps/USGS-imagery.xml
new file mode 100644
index 0000000..6c9e068
--- /dev/null
+++ b/maps/USGS-imagery.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/USGS-topo.xml b/maps/USGS-topo.xml
new file mode 100644
index 0000000..5e37c15
--- /dev/null
+++ b/maps/USGS-topo.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/heidelberg.tpl b/maps/heidelberg.tpl
new file mode 100644
index 0000000..4352430
--- /dev/null
+++ b/maps/heidelberg.tpl
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/map1.eu.xml b/maps/map1.eu.xml
new file mode 100644
index 0000000..1bc8499
--- /dev/null
+++ b/maps/map1.eu.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/marshruty.ru.xml b/maps/marshruty.ru.xml
new file mode 100644
index 0000000..fcccd4e
--- /dev/null
+++ b/maps/marshruty.ru.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-adraces.xml b/maps/nakarte-adraces.xml
new file mode 100644
index 0000000..2a9284d
--- /dev/null
+++ b/maps/nakarte-adraces.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/maps/nakarte-ggc1000.xml b/maps/nakarte-ggc1000.xml
new file mode 100644
index 0000000..f35eba9
--- /dev/null
+++ b/maps/nakarte-ggc1000.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-ggc2000.xml b/maps/nakarte-ggc2000.xml
new file mode 100644
index 0000000..dcc0139
--- /dev/null
+++ b/maps/nakarte-ggc2000.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-ggc250.xml b/maps/nakarte-ggc250.xml
new file mode 100644
index 0000000..860de44
--- /dev/null
+++ b/maps/nakarte-ggc250.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-ggc500.xml b/maps/nakarte-ggc500.xml
new file mode 100644
index 0000000..4f692a9
--- /dev/null
+++ b/maps/nakarte-ggc500.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-osport.xml b/maps/nakarte-osport.xml
new file mode 100644
index 0000000..0483174
--- /dev/null
+++ b/maps/nakarte-osport.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/maps/nakarte-slazav-mountains.xml b/maps/nakarte-slazav-mountains.xml
new file mode 100644
index 0000000..d79d00c
--- /dev/null
+++ b/maps/nakarte-slazav-mountains.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/nakarte-slazav.xml b/maps/nakarte-slazav.xml
new file mode 100644
index 0000000..13fb30e
--- /dev/null
+++ b/maps/nakarte-slazav.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/nakarte-topo1000.xml b/maps/nakarte-topo1000.xml
new file mode 100644
index 0000000..10b85c6
--- /dev/null
+++ b/maps/nakarte-topo1000.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-topo250.xml b/maps/nakarte-topo250.xml
new file mode 100644
index 0000000..082d495
--- /dev/null
+++ b/maps/nakarte-topo250.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/nakarte-topo500.xml b/maps/nakarte-topo500.xml
new file mode 100644
index 0000000..ad0587e
--- /dev/null
+++ b/maps/nakarte-topo500.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/maps/ngi.xml b/maps/ngi.xml
new file mode 100644
index 0000000..505aaac
--- /dev/null
+++ b/maps/ngi.xml
@@ -0,0 +1,8 @@
+
+
diff --git a/maps/prahounakole.xml b/maps/prahounakole.xml
new file mode 100644
index 0000000..37b1d5c
--- /dev/null
+++ b/maps/prahounakole.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/turistautak.xml b/maps/turistautak.xml
new file mode 100644
index 0000000..78ac2c2
--- /dev/null
+++ b/maps/turistautak.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/maps/unesco.xml b/maps/unesco.xml
new file mode 100644
index 0000000..40f14dc
--- /dev/null
+++ b/maps/unesco.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/scripts/mapgen.py b/scripts/mapgen.py
index 653e74c..f14f228 100755
--- a/scripts/mapgen.py
+++ b/scripts/mapgen.py
@@ -3,10 +3,9 @@
import os
import sys
import re
+import shutil
import xml.etree.ElementTree as ET
-REPOSITORY = "https://raw.githubusercontent.com/tumic0/GPXSee-maps/master"
-
COUNTRYCODES = {
'AD': 'Andorra',
'AE': 'United Arab Emirates',
@@ -281,7 +280,7 @@ def mapinfo(xmlfile):
if element.tag == "name":
info["name"] = element.text
- info["url"] = REPOSITORY + xmlfile[xmlfile.find('/World'):]
+ info["url"] = "maps/" + os.path.basename(xmlfile)
png = tile(xmlfile, ".png")
jpg = tile(xmlfile, ".jpg")
@@ -294,22 +293,25 @@ def mapinfo(xmlfile):
return info
-def processmaps(maps):
- print("")
+def processmaps(maps, htmlfile):
+ print("", file=htmlfile)
+ print("", file=htmlfile)
+
i = 0
- print("
")
for xmlfile in maps:
+ shutil.copyfile(xmlfile, "../maps/" + os.path.basename(xmlfile))
info = mapinfo(xmlfile)
if i and i % 4 == 0:
- print("
")
+ print("
", file=htmlfile)
print("" + " "
- + info["name"] + " | ")
+ + info["name"] + "", file=htmlfile)
i = i + 1
- print("
")
- print("
")
-def processdir(path, level, name):
+ print("", file=htmlfile)
+ print("
", file=htmlfile)
+
+def processdir(path, level, name, htmlfile):
maps = []
sections = []
@@ -322,17 +324,19 @@ def processdir(path, level, name):
maps.append(entrypath)
if maps:
- processmaps(maps)
+ processmaps(maps, htmlfile)
sections.sort()
for section in sections:
- print(header(section[0], level + 1))
- processdir(section[1], level + 1, section[0])
+ print(header(section[0], level + 1), file=htmlfile)
+ processdir(section[1], level + 1, section[0], htmlfile)
if len(sys.argv) < 2:
print("Usage: " + os.path.basename(sys.argv[0]) + " DIR", file=sys.stderr)
sys.exit(-1)
+htmlfile = open("../index.html", "w")
+
print("""
@@ -344,13 +348,15 @@ print("""
GPXSee Online Maps
-""")
+""", file = htmlfile)
-print(header("Worldwide", 2))
-processdir(sys.argv[1], 1, os.path.basename(sys.argv[1]))
+print(header("Worldwide", 2), file=htmlfile)
+processdir(sys.argv[1], 1, os.path.basename(sys.argv[1]), htmlfile)
print("""
-""")
+""", file=htmlfile)
+
+htmlfile.close()