Thanks Alexandre, but it's too hot to have me doing some maths right now :-)
Actually, what I want to do is to apply some conditional formatting in the attribute table using the canvas extent values but for some reason, those variables you mentioned are not exposed in that expression builder dialog. There's also a @map_extent variable in master which returns the geometry (for composer map only? or canvas also?) but like others, it's not exposed. 2017-06-21 17:10 GMT+02:00 Alexandre Neto <[email protected]>: > How about using the map_extent_center, map_extent_height and > map_extent_width to create a geometry? > > > DelazJ <[email protected]> escreveu no dia quarta, 21/06/2017 às 14:53: > >> Hi, >> >> In the Expression dialog, is there a function or a variable that can >> return the current map canvas? >> I would like for example apply a value to all features that fall within >> the current map canvas but fail to find the right combination (if ever >> possible). >> >> Thanks for any hint, >> Harrissou >> _______________________________________________ >> Qgis-user mailing list >> [email protected] >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > -- > Alexandre Neto > --------------------- > @AlexNetoGeo > http://sigsemgrilhetas.wordpress.com > http://gisunchained.wordpress.com >
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
