Replies: 8 comments 11 replies
-
One potential drawback is that planetiler should be able to generate a default schema out-of-the-box. To address this, we would make openmaptiles schema repo a submodule dependency of planetiler so we could ensure it works in CI on planetiler changes, and build planetiler releases against it? |
Beta Was this translation helpful? Give feedback.
-
Another concern is that it will be slower to iterate on planetiler API/capabilities then use those in the openmaptiles schema when they aren't together in a mono-repo. For example make improvements to line merging in planetiler, and generate openmaptiles schema to see the result. One solution to this would be to wait until the API has solidified more before the move, but openmaptiles team seems OK to do the move sooner then deal with potential upgrades later. |
Beta Was this translation helpful? Give feedback.
-
What would the new workflow look like to customize openmaptiles schema? Some people have planetiler forks with custom behavior, and we've added some custom stuff that differs from openmaptiles schema to the basemap profile that you can opt into with a command-line flag. Would we continue letting people add custom behavior with command-line flags to openmaptiles-planetiler schema? or would the only option be to fork that project? |
Beta Was this translation helpful? Give feedback.
-
Would it be worth waiting for #160 to mature, and then deprecate |
Beta Was this translation helpful? Give feedback.
-
Sounds like a good idea to me to separate planetiler from openmaptiles. |
Beta Was this translation helpful? Give feedback.
-
I don't have a position on where the parts of planetiler should live, as @msbarry poured heart and soul into making it a reality and I think he is the one that has to be comfortable with where it ends up and where it's governed. So whatever the community decides I'll support. I do agree that the What I think we would all like to get to is something like this: This would be a huge boon for OpenMapTiles, as it would significantly simplify the process of schema development and schema extension. The OpenMapTiles project could focus building out schemas that make beautiful maps, and the infrastructure around it that ensures that tiles sizes are appropriate and so forth. The current setup of SQL and python is certainly daunting for new contributors and this would allow us to better focus on the core mission of schema development and alleviate the current contention that we have with forked variants of OpenMapTiles. Planetiler is 100% configurable today, IF you're a Java programmer. It has a rich API that can be used to generate arbitrary schema outputs. If we are successful in this movement to configuring planetiler via config files rather than Java code, we might be able to fully deprecate the current It still remains to be seen whether OpenMapTiles can be generated purely by configuration or if there are some things that are so complex that code is absolutely required, or if we need to move off of a declarative schema as I've started, and move to a more programmatic model such as using lua. I don't have any of those answers and we're going to discover them as we work through supporting the demands of the current OpenMapTiles schema, one core feature at a time. Should |
Beta Was this translation helpful? Give feedback.
-
For hot-air ballooning, powerlines are important to have on the map. I customized openmaptiles to have an extra layer for powerlines, see https://gist.github.com/wipfli/036aceb4a8008a10253b34ac1ded728f it felt strange to do it this way and it would be great if a repo split made customization easier. |
Beta Was this translation helpful? Give feedback.
-
I agree that planetiler should be a generic tilegen tool, not a OMT-specific generator. That said, I agree with @msbarry that it would significantly hamper progress if it is split up right now, as it would require a stable interface between the core and the OMT-specific java code. I don't believe planetiler is mature enough to know exactly what that API would need to look like. Thus, I second @shermp opinions that it might make far more sense to implement @ZeLonewolf 's #160 and similar configuration first - reducing the need/scope of the plugin API, and once that config schema is stable, move the OMT-specific stuff elsewhere. |
Beta Was this translation helpful? Give feedback.
-
Talking with some folks from OpenMapTiles, they are interested in moving the
planetler-basemap
module from planetiler into a separate repo under https://github.com/openmaptiles so that planetiler ends up being the tool schemas can be built on, and openmaptiles schema depends on that.Some benefits of this move:
I'd like to gauge the feeling from the community on potential drawbacks to make sure those concerns are addressed?
Beta Was this translation helpful? Give feedback.
All reactions