Generate planet country by country causing duplicities #1552
Replies: 2 comments 21 replies
-
|
Hello! This shouldn't be necessary, I've generated planet tiles on a machine as small as 2cpu/8gb ram in about 18 hours so you should be fine with 16gb. Just use storage=mmap and -Xmx8g. |
Beta Was this translation helpful? Give feedback.
-
|
I think it’s very difficult (or rather impossible) to generate a good planet from geofabrik country extracts, A while back, I generated a planet based on 8x8 Quadtiles and just had to merge the final result. It’s not that simple, but I didn’t have any problems with it. << Alternative solution : just download a full planet mbtiles >>OpenFreeMap.org has a "weekly full planet downloads both in Btrfs and MBTiles formats"
see: https://github.com/hyperknot/openfreemap#full-planet-downloads
example: download example: wget https://btrfs.openfreemap.com/areas/planet/20260429_001001_pt/SHA256SUMS
wget https://btrfs.openfreemap.com/areas/planet/20260429_001001_pt/tiles.mbtiles |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
as I don't have a machine with enough RAM (just 16GB) to generate the whole planet I had an idea, to generate it country by country and then use tile-join to merge it into one final planet.mbtiles, finally servered to browser by docker maptiler/tileserver-gl
I did an exercise for Europe. And it's almost perfectly working.
Just ocean areas are corrupted, my guess is, that it's included in multiple countries and as such duplicated, see:
Am I completely wrong? And if not, is there any way how to improve it? I've tried removing duplicated tiles via SQL, but it was without any difference.
Thanks
Regards
Martin
Beta Was this translation helpful? Give feedback.
All reactions