-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to MML #4
Comments
I'm going to move on this by updating TileMill
|
@yhahn - sounds good, this is certainly a good way to move forward as we get squared away on all the props needed. One more coming down the pipe will be a render time 'resolution' (https://github.com/mapbox/tilemill/issues/403). The implications of this for tiles are not clear (because you'd have > 256 px tiles) but the idea its used not just for high res single prints but for better looking mobile tiles like on iphones with the retina display. |
We also have some keys capitalized. This is because the JSON originated from XML where the keys were uppercase. We can't translate the JSON to XML directly anyway, so we might just as well switch to lowercase keys for the sake of consistency. As for localization, I see the natural place for this in tilelive-mapnik. It's currently happening in carto which makes no sense at all. Ideally, we'd translate the carto styles without localizing anything, then write a generic localizer that processes mapnik XML stylesheets. |
Update on the localization: this is now handled in the millstone module, which is called by tilelive-mapnik |
I'm looking at standardizing the name of the My question here is this; as this is an older ticket, is anything still in motion here? |
nothing still in motion here as far as I know. We added further keys to mml (rather than inventing a new format) and that's been working just fine. |
closing. |
Let's coordinate on revamping MML to make
tilelive-mapnik
breath a little easier. Discussing with @springmeyer and @tmcw it looks like we have two optionsmml
format to allow for additional information (with sensible defaults).mml
thattilelive-mapnik
can use.My thought is to expand MML to contain the following
tilejson
keys:We also need to figure out what to do with two key pieces of information
I think
format
is basically atilelive-mapnik
specific key.interactivity
on the other hand I think should make its way back into Mapnik XML -- maybe as a property/flag of the<Layer>
structure or so.The text was updated successfully, but these errors were encountered: