Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)

To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
This commit is contained in:
Konstantin Pastbin
2025-04-13 16:37:30 +07:00
commit e3e4a1985a
12931 changed files with 13195100 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
These regions are removed from countries-to-generate.json, because they are too large even for extra_small profile:
```
257829111 Aug 3 15:55 'Russia_Sakha Republic.isolines'
164222539 Aug 3 15:45 'Russia_Krasnoyarsk Krai_North.isolines'
```
Other USA and Russia regions are promoted: poor -> extra_small. "poor" profile is completely useless, IMO.

View File

@@ -0,0 +1,31 @@
import json
from os import listdir
data = object()
with open('countries-to-generate.json') as f1:
countries = set()
data = json.load(f1)
tree = data['countryParams']
for e in tree:
countries.add(e['key'])
for f2 in listdir('../../borders/'):
c = f2[:-5]
if c not in countries:
print(c)
entry = {
"key": c,
"value": {
"profileName": "normal",
"tileCoordsSubset": list(),
"tilesAreBanned": False
}
}
tree.append(entry)
with open('countries-to-generate.json', "w") as f3:
json.dump(data, f3, indent=4)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,88 @@
{
"profiles": [
{
"key": "high",
"value": {
"alitudesStep": 20,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 1,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 17
}
},
{
"key": "high_f2",
"value": {
"alitudesStep": 20,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 2,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 17
}
},
{
"key": "normal",
"value": {
"alitudesStep": 50,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 1,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 15
}
},
{
"key": "small",
"value": {
"alitudesStep": 50,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 1,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 14
}
},
{
"key": "extra_small",
"value": {
"alitudesStep": 100,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 1,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 14
}
},
{
"key": "poor",
"value": {
"alitudesStep": 500,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 2,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 14
}
},
{
"key": "extra_poor",
"value": {
"alitudesStep": 1000,
"gaussianFilterRFactor": 1.0,
"gaussianFilterStDev": 2.0,
"latLonStepFactor": 2,
"maxIsolinesLength": 500,
"medianFilterR": 1,
"simplificationZoom": 14
}
}
]
}