Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
Hi Larissou, Thanks! Do you think map_crs, map_crs_definition and map_units could be backported ? René-Luc Le 12/11/2018 à 13:10, DelazJ a écrit : Hi, map_crs is a 3.0 feature afaics https://github.com/qgis/QGIS/pull/3968 Regards, Harrissou Le lun. 12 nov. 2018 à 13:06, René-Luc Dhont

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread DelazJ
Hi, map_crs is a 3.0 feature afaics https://github.com/qgis/QGIS/pull/3968 Regards, Harrissou Le lun. 12 nov. 2018 à 13:06, René-Luc Dhont a écrit : > I'd like to use it in QGIS 2.18 ? > > In which version do you have map_crs ? > > René-Luc > > > Le 12/11/2018 à 13:03, Tom Chadwin a écrit : > >

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
I'd like to use it in QGIS 2.18 ? In which version do you have map_crs ? René-Luc Le 12/11/2018 à 13:03, Tom Chadwin a écrit : I can see map_crs under Variables in the Expression editor. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread Tom Chadwin
I can see map_crs under Variables in the Expression editor. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Deve

[QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
Hi Dev, I need to get the canvas CRS in an expression. It's possible to get the layer CRS with the method layer_property It's possible to get some data of the map like map_center, map_extent_height, map_scale but I didn't find how to get the map_crs. It will be useful for exemple to only dis