Very Basic Planet with Detailed Subregion #644
-
I'm looking to generate a .mbtiles of Britain and Ireland and would love to support very basic shapes/outlines of the rest of the world/ocean but I'm having a difficult time understanding how to achieve this. I've started testing with Luxembourg because its much smaller. I'm using the example resources from this repo - and I'm building v3 based on all the latest work being done in that branch.
I've considered the following - some of these I've tried but some of them I've killed because waiting hours for a minor change seemed like a wasted effort. So - its possible I've killed a process that is actually worthy of seeing all the way through.
Without going into too much detail - is there an approach you suggest I go research? I'm not expecting an in-depth explanation, just something for me to go look into further :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
I might have figured it out, just didn't give it enough time :) but I'd still love any best practices or insights. This is my first experience building map tiles. I simplified it to Europe and let it run for a bit - and it seems to be doing what I expected.
|
Beta Was this translation helpful? Give feedback.
-
Looks good! For the use-case of "world coastline, road data UK-only" I think I'd start by producing an .mbtiles with just the coastline/oceans; you could do this by editing everything else out of the JSON/Lua config. Then to add the UK to this, I'd use tilemaker's ( |
Beta Was this translation helpful? Give feedback.
-
This is quite a common request so I've added documentation and sample config in #648. |
Beta Was this translation helpful? Give feedback.
Looks good!
For the use-case of "world coastline, road data UK-only" I think I'd start by producing an .mbtiles with just the coastline/oceans; you could do this by editing everything else out of the JSON/Lua config.
Then to add the UK to this, I'd use tilemaker's
--merge
option, basically superimposing the UK roads/rivers/etc. onto the coastline .mbtiles you've already produced.(
--merge
modifies the .mbtiles in place, so you probably want to keep an unaltered copy somewhere which you can reuse. The coastline doesn't change very often ;) )