Re: [Qgis-developer] PyDev Debugging Protocol changes; remote debug plug-in issues

2014-09-12 Thread Luca Manganelli
On Thu, Sep 11, 2014 at 6:37 PM, Bill Bishop qgis-de...@wrbishop.com wrote:
Is anyone successfully using the remote debug plug-in with PyDev 
 Eclipse?

For me, it has never worked.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Support for field aliases in expressions

2014-09-12 Thread kimaidou
Hi Matthias,

Ok for keeping support for both field name and field alias. This sounds
right to me.

For the attribute table, I would prefer a context menu button (hamburger
style) for the horizontal header instead of tooltip, as the latter are
often not well known by users (or they discover tooltips randomly)

Thanks for your work !

Michael

2014-09-11 9:28 GMT+02:00 Matthias Kuhn matthias.k...@gmx.ch:

 Hi Michael and Martin,

 On Wed 10 Sep 2014 07:38:15 PM CEST, kimaidou wrote:

 Hi all,

 I am not sure using alias would be easier for the users. Some thoughts :

 * sometimes aliases are quite complicated, like Contexte de
 l'édition for a field named context. We would need to escape
 properly aliases in expressions. And in this example, the real field
 name is much easier and shorter thant the alias

 * aliases can vary between projects or even between duplicate layers
 in the same project, whereas field names are stable. If I cannot reuse
 some expression for the same source table because I use different
 aliases, I would spend more time to rewrite the expressions ( except
 if we allow to use both in expression, but the user must then do the
 right choice)



 Disabling support for field names is not an option. Support would be for
 both in parallel.
 Field names can can be written in double quotes already, so the only thing
 that will need to be escaped are double quotes (which are probably rarely
 used in alias names).

 The one thing that needs a decision is what the expression builder inserts
 into the expression when the user chooses a field there. I would not mind
 making the usage of aliases there optional.

  * I think the problem is more that as soon as you use alias for some
 field, it is then very difficult to find back what is the real name
 of the column in the source table : aliases are displayed instead of
 the column in every part of the Gui, which is fine but sometimes not
 wanted. For example, I would love to have a button in the attribute
 table which let me toggle between the aliases and the real field names
 as the table header.


 They would be listed both in the expression builder: Alias (field_name),
 so you would have one more place where you have the combination.
 In the attribute table, I would prefer to have it either in a context menu
 of the horizontal header. Another approach would be a tooltip (where I
 wanted to add the field comment anyway).


 2014-09-10 19:00 GMT+02:00 Martin Dobias wonder...@gmail.com
 mailto:wonder...@gmail.com:


  I am just wondering... how the aliases would be made accessible to
 QgsExpression? Would be a map of aliases from vector layer set to each
 QgsExpression instace? Or extend QgsFields to support also aliases? Or
 something completely different? :-)


 I did not put any thoughts into the implementation yet. But I was thinking
 about the second idea (saving aliases in QgsField) before. I think it would
 be better suited there than keeping it separately. Are you sceptical
 concerning this approach?

 Best
 Matthias

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Relative paths in qgs not honoured for cifs mounted dirs?

2014-09-12 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
Apparently paths are always saved as absolute, even when Relative is
chosen, if the data are saved in a cifs mounted dir and the qgs is in
a non cifs dir. Looks like a bug. Anyone confirms?
All the best.
- -- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlQSsIcACgkQ/NedwLUzIr6S0wCaApflYHtmzsdDF4lQuqCksThR
IqMAnR7OtyJAnDQVTHmRtYaoYvv2+MJ7
=Zz7d
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Relative paths in qgs not honoured for cifs mounted dirs?

2014-09-12 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 12/09/2014 10:36, Paolo Cavallini ha scritto:
 Hi all. Apparently paths are always saved as absolute, even when
 Relative is chosen, if the data are saved in a cifs mounted dir and
 the qgs is in a non cifs dir. Looks like a bug. Anyone confirms?

Since the two paths have nothing in common, having relative paths is
actually pointless. Sorry for the noise.
Thanks Juergen for clarifying.
All the best.
- -- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlQTBJIACgkQ/NedwLUzIr7TaACeOz7UuAj2oV8jFTn0HhcZFOvk
PXIAn2XFFNRMOYUa6NtzQ+gXzCCvlUnY
=59RU
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer