You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the left you have mapnik-2.0.x, on the right you have mapnik-2.1.x
Uncommenting the marker-clip:false line in CartoCSS turns the rendering on the right completely blank. The input is a regular hexagonal grid.
The text was updated successfully, but these errors were encountered:
The reason you get nothing rendered when clipping is off is that the marker size does not fit within the length of the line it is being placed upon. This may seem like a regression but it is actually an intentional bugfix and landed in 5bc9f73#include/mapnik/markers_placement.hpp. Now that marker size can be manipulated on the fly, you can use that functionality to test that it is the size preventing rendering. Try setting transform="scale(.5,.5)" (or in css: marker-transform:scale(.5,.5)).
So, for complete backwards compatibility an option would need to be added to ask for rendering of markers even when they do not fit within a given line segment. I'm not sure that is worth it.
I'm not sure what's going on here:
http://strk.keybit.net/tmp/line-marker-placement-convergence.png
On the left you have mapnik-2.0.x, on the right you have mapnik-2.1.x
Uncommenting the
marker-clip:false
line in CartoCSS turns the rendering on the right completely blank. The input is a regular hexagonal grid.The text was updated successfully, but these errors were encountered: