Skip to content
This repository

Per-Project Shared Datasources #1269

tmcw opened this Issue · 3 comments

3 participants

Tom MacWright Young Hahn Dane Springmeyer
Tom MacWright

From #1214, it might make sense for larger projects, and possibly TileMill as a whole, to have datasource settings that can be shared across layer configuration, whether verbatim or with changes like query contents.

Young Hahn

Yep, I see one task here being how we want MML to work moving forward -- it has previously been a (more or less) direct mapping to Mapnik XML, and as Dane points out we'll need to come up with some stronger concepts to frame the format going forward if we want to handle these kinds of abstractions.

Dane Springmeyer

A good first step could be to looking into parsing layers separately from styles. All the necessary bindings are in place in node Mapnik to skip XML as far as layers go. Then it would be easier to set up event callbacks so individual layers could be updated without reloading the style sheet.

Dane Springmeyer

good discussion and further ideas at gravitystorm/openstreetmap-carto#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.