<div dir="ltr">Hi Devs,<div><br></div><div>I'm trying to create a vector based map for the openstreetmap data in Mapserver by utilizing the mapnik styles provided by the <a href="https://github.com/openstreetmap-carto/openstreetmap-carto">openstreetmap-carto</a> project. So far, I could achieve a very good result and the map looks is very similar to the online OSM at all scales, however the only thing I cannot replicate is the concept of the <b>[way_pixels]</b> attribute conditions, where the feature’s area in pixels at the current map scale should be the part of the class expressions. I don't see such an option in Mapserver as it stands now, but supporting the already existing <b>[map_cellsize] </b>would be a very close solution I think, however that is only implemented for the GEOMTRANSFORM expressions actually.</div><div><br></div><div>For example the mapnik style expression </div><div><br></div><div>[way_pixels] > 750 </div><div><br></div>could be provided in a MapServer CLASS expression as somehing like: <br><br>[way_area] > 750 * [map_cellsize] * [map_cellsize]<br><br>Would that be reasonable to implement <b>[map_cellsize]</b> in the CLASS expressions?<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div></div>