Re: [Qgis-developer] Snapping tolerance

2014-12-13 Thread Alexander Bruy
+1 for map units, as this removes confusion 2014-12-13 9:35 GMT+02:00 Matthias Kuhn matthias.k...@gmx.ch: +1 for map units. Makes much more sense to me and should confuse less. On 12/13/2014 07:04 AM, Nathan Woodrow wrote: I think using the projects units makes more sense, Using the layer

Re: [Qgis-developer] Snapping tolerance

2014-12-13 Thread Andrea Peri
Hi, perhaps I dont understand well what this mean. Infact we usually editing always in native reference system, never editing in reprojected SRS. But I guess that using the project reference system instead of the layer srs for snap operations could cause the snap will affect from an error due to

Re: [Qgis-developer] Snapping tolerance

2014-12-13 Thread Zoltan Szecsei
Hi, +1 for renaming current snapping behaviour to Layer Units AND adding a global snapping-unit option, _perhaps_ as default option. You very often want to snap in linear units regardless of layer CRS, so a possibility for doing that globally would be good. Maybe if this option is chosen,

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Sandro Santilli
On Sat, Dec 13, 2014 at 08:42:40PM +0700, Martin Dobias wrote: On Sat, Dec 13, 2014 at 8:17 PM, Sandro Santilli s...@keybit.net wrote: I see how it is modified when map rendering has finished [ by QgsMapCanvas::rendererJobFinished() ] but what modifies it for the temporary result seems to

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Martin Dobias
On Sat, Dec 13, 2014 at 9:15 PM, Sandro Santilli s...@keybit.net wrote: On Sat, Dec 13, 2014 at 08:42:40PM +0700, Martin Dobias wrote: The extent of canvas items (in map units) stays the same, just the position and bounding rect (both in screen coordinates) change accordingly when

Re: [Qgis-developer] Snapping tolerance

2014-12-13 Thread Marco Hugentobler
Hi Martin I would like to change the behavior so that the map units in snapping config dialog would mean units in project's CRS The renaming is fine, however I think it needs all 3 modes. Sometimes people digitise against a background TMS, but have a feature model in layer units in mind

Re: [Qgis-developer] EPSG codes

2014-12-13 Thread Trevor Wiens
I did check the code for crssync and it appears that only the gdal csv and wkt files are what is checked. This makes the situation on my machines confusing as the reference to ESPG:6148 is absent from the gdal 1.9 and yet it is present in the srs.db on the same machine. How it got there is

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Sandro Santilli
On Sat, Dec 13, 2014 at 10:40:44PM +0700, Martin Dobias wrote: The Qt framework uses pos() and boundingRect() to understand where the items are located in the scene (QGraphicsScene). These are all screen coordinates - one can tell from the use of QPointF instead of QgsPoint (always used for

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Sandro Santilli
On Sat, Dec 13, 2014 at 05:40:10PM +0100, Sandro Santilli wrote: On Sat, Dec 13, 2014 at 10:40:44PM +0700, Martin Dobias wrote: The rect() and setRect() is just our added convenience functionality in QgsMapCanvasItem. The idea was that you just use setRect() to specify the item's

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Sandro Santilli
On Sat, Dec 13, 2014 at 06:01:13PM +0100, Sandro Santilli wrote: On Sat, Dec 13, 2014 at 05:40:10PM +0100, Sandro Santilli wrote: On Sat, Dec 13, 2014 at 10:40:44PM +0700, Martin Dobias wrote: The rect() and setRect() is just our added convenience functionality in QgsMapCanvasItem. The

[Qgis-developer] map-filtered legend and possible memory error in composer

2014-12-13 Thread Sandro Santilli
I'm taking a code tour in preparation to a QEP about adding map-dependent legends support in QGIS (see http://hub.qgis.org/issues/11859). While looking around I found that the composer code contains something that looks like aiming at the same thing, that is:

Re: [Qgis-developer] map-filtered legend and possible memory error in composer

2014-12-13 Thread Sandro Santilli
On Sat, Dec 13, 2014 at 09:20:05PM +0100, Sandro Santilli wrote: Legend filterByMap type=booltrue/filterByMap /Legend but I haven't found a way to set that graphically, does anyone know where I set it ? I've looked in Project Properties and in Settings-Options

Re: [Qgis-developer] Snapping tolerance

2014-12-13 Thread Ramon AndiƱach
On 13/12/2014, at 14:02 , Martin Dobias wrote: Hi Recently I have been working on some snapping improvements (more about that later) and I have found one slightly surprising thing about the configuration of tolerances: if the tolerance unit is set to map units, it actually means layer

[Qgis-developer] should legends be shown for invisible layers ?

2014-12-13 Thread Sandro Santilli
Does it make sense to show a layer's legend while the layer visibility is off, or should the legend nodes in the layertree really be removed ? I'm wondering as I move steps toward optimization of WMS legend construction for cases in which it is not needed: http://hub.qgis.org/issues/11860 You

Re: [Qgis-developer] should legends be shown for invisible layers ?

2014-12-13 Thread Martin Dobias
Hi Sandro On Sun, Dec 14, 2014 at 6:40 AM, Sandro Santilli s...@keybit.net wrote: Does it make sense to show a layer's legend while the layer visibility is off, or should the legend nodes in the layertree really be removed ? When map-based filtering is enabled, the legend nodes for

Re: [Qgis-developer] qgis pre-refresh rendering ?

2014-12-13 Thread Alexander Bruy
2014-12-13 16:15 GMT+02:00 Sandro Santilli s...@keybit.net: The map rotation functionality in the end is probably more complex than it seemed to be. QEP explaining all the implications would be quite useful. Indeed, I greatly understimated it. I'll try to draft a QEP. Maybe it is better