83 lines
2.8 KiB
JSON
83 lines
2.8 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"Accounts": "Host=127.0.0.1;Port=5433;Database=tile_server;Username=tiles;Password=tiles"
|
|
},
|
|
"TileServer": {
|
|
"DataDirectory": "../../data",
|
|
"JavaPath": "java",
|
|
"JvmMaxHeap": "4g",
|
|
"PlanetilerThreads": 8,
|
|
"PlanetilerMmapTemp": false,
|
|
"PlanetilerJarUrl": "https://github.com/openmaptiles/planetiler-openmaptiles/releases/download/v3.16/planetiler-openmaptiles.jar",
|
|
"PlanetilerHttpTimeout": "15m",
|
|
"DownloadStallTimeoutSeconds": 45,
|
|
"NaturalEarthUrls": [
|
|
"https://naciscdn.org/naturalearth/packages/natural_earth_vector.sqlite.zip",
|
|
"https://naturalearth.s3.amazonaws.com/packages/natural_earth_vector.sqlite.zip"
|
|
],
|
|
"LakeCenterlinesUrls": [
|
|
"https://github.com/acalcutt/osm-lakelines/releases/download/latest/lake_centerline.shp.zip",
|
|
"https://acalcutt.github.io/osm-lakelines/lake_centerline.shp.zip"
|
|
],
|
|
"WaterPolygonsUrls": ["https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip"],
|
|
"DefaultMinZoom": 0,
|
|
"DefaultMaxZoom": 15,
|
|
"OverzoomMaxZoom": 18,
|
|
"GlyphsUrl": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
|
"Yandex": {
|
|
"RedirectUri": "https://tile-server.ru"
|
|
},
|
|
"Sync": {
|
|
"Cron": "0 3 * * *",
|
|
"TimeZone": "UTC",
|
|
"RunOnStartup": true,
|
|
"RebuildIfTilesMissing": true
|
|
},
|
|
"Extracts": [
|
|
{
|
|
"Id": "central-fed-district",
|
|
"Name": "Центральный федеральный округ",
|
|
"Url": "https://download.geofabrik.de/russia/central-fed-district-latest.osm.pbf",
|
|
"Center": [37.6173, 55.7558],
|
|
"MinZoom": 0,
|
|
"MaxZoom": 15,
|
|
"Enabled": true
|
|
},
|
|
{
|
|
"Id": "volga-fed-district",
|
|
"Name": "Волго-Вятский федеральный округ",
|
|
"Url": "https://download.geofabrik.de/russia/volga-fed-district-latest.osm.pbf",
|
|
"Center": [45.0, 57.0],
|
|
"MinZoom": 0,
|
|
"MaxZoom": 15,
|
|
"Enabled": true
|
|
},
|
|
{
|
|
"Id": "northwestern-fed-district",
|
|
"Name": "Северо-Западный федеральный округ",
|
|
"Url": "https://download.geofabrik.de/russia/northwestern-fed-district-latest.osm.pbf",
|
|
"Center": [30.0, 60.0],
|
|
"MinZoom": 0,
|
|
"MaxZoom": 15,
|
|
"Enabled": true
|
|
},
|
|
{
|
|
"Id": "ural-fed-district",
|
|
"Name": "Уральский федеральный округ",
|
|
"Url": "https://download.geofabrik.de/russia/ural-fed-district-latest.osm.pbf",
|
|
"Center": [60.0, 55.0],
|
|
"MinZoom": 0,
|
|
"MaxZoom": 15,
|
|
"Enabled": true
|
|
}
|
|
]
|
|
}
|
|
}
|