-
Notifications
You must be signed in to change notification settings - Fork 819
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
remove "text-min-distance" in placenames.mss #2189
Comments
@matkoniecz when you write carto you probably mean Mapnik?! |
Hopefully I am not mistaken: As I understand every Carto version matches Mapnik version (with the same version number). I guess that in this case changes in Carto are caused by and reflect changes in Mapnik. But given that I was checking documentation for carto (https://github.com/mapbox/carto) without checking whatever matching changes happened in Mapnik I was writing about Carto changes. |
The most recent carto version is 0.16.3, which I published just minutes ago. But there is https://github.com/mapnik/mapnik-reference, which matches Mapnik version numbers and is used by carto to get the parsing right. This is also referenced in the documentation. So you are talking about API versions of Mapnik/carto but not necessarily about carto release versions. I agree that this can be a bit confusing. |
Thanks for explaining! So I was confused. So https://github.com/mapbox/carto/tree/master/docs is not about capabilitoes of different carto versions, but what can be done with latest carto version with given mapnik version? So for example https://github.com/mapbox/carto/blob/master/docs/2.0.0.md is what latest carto can do with mapnik 2.0.0 and https://github.com/mapbox/carto/blob/master/docs/latest.md is documentation of what can be done with latest carto in latest mapnik. |
Yes, that is correct. Currently latest.md is identical with 3.0.9.md. |
To add to my confusion I see no related changes in https://github.com/mapnik/mapnik/wiki/Api-changes-between-v2.3-and-v3.0 and it is not mentioned on https://web.archive.org/web/20160527235459/http://mapnik.org/news/3.0-cartographer So the same carto version interprets the same definition differently, depending on Mapnik version despite that Mapnik API is the same? Or is this API changes page incompleted? Or is it caused by change in https://github.com/mapnik/mapnik-reference, unrelated to change in Mapnik? |
carto does not interpret much. It uses mapnik-reference to get to know about which attributes are valid and which aren't. You would have to compare the generated Mapnik XML to be sure, but I'm quite confident that the change in rendering can be attributed to internal Mapnik changes. So I guess the API page is incomplete. Maybe mapnik/mapnik#2362 is a starting point to find out more (I did only superficially check if it is related). |
as documented on https://github.com/mapbox/carto/blob/master/docs/latest.md it sets
The text was updated successfully, but these errors were encountered: