Re: Fwd: Re: [Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-19 Thread Robert Rehammar
Hi Andreas,

Nice to hear about the SQL in labeling, that would be a great thing.

Regarding the grouping. The feature now implemented is not quite what I
meant. Now you can group by filter or by scale, I meant that you should
be able to apply two filters in a row. I understand that this might be a
bit tricky to program, but it would be quite nice. I know that one can
achieve the same with the SQL AND today, but this way you get very many
filters (# categories in filter 1 times # categories in filter 2) which
is inconvenient for the user.

Cheers,
Robert


On Wed, 2011-01-19 at 08:16 +0100, Andreas Neumann wrote:
 sending this also to the list, since my answer only went to Robert.
 
  Andreas
 
   Original Message 
  Subject: Re: [Qgis-developer] Wiki page: switching from old to new 
  symbology, missing bits
  Date: Wed, 19 Jan 2011 07:58:38 +0100
  From: Andreas Neumann a.neum...@carto.net
  To: Robert Rehammar rob...@rehammar.se
 
  Hi Robert,
 
  I think what you propose would be very nice to have. Currently I am 
  doing this in a Postgis view.
 
  Given that we already have the field calculator one could re-use this 
  functionality for this purpose.
 
  Rule-based renderer and hierarchies: I believe this is already possible 
  with the filter grouping. There is group by scale or group by filter. 
  Does this satisfy your needs?
 
  Please go ahead and modify the wiki, but also don't forget to open a 
  feature request. If you do a feature request in the bug tracker you can 
  add the corresponding link to the wiki.
 
  Andreas
 
  On Tue, 18 Jan 2011 20:15:38 +, Robert Rehammar wrote:
  Hi,
 
  I'm not sure if this is out of scope for the new label engine, but it
  would anyway be a nice feature:
 
  Make the label text an answer to a SQL question instead of a single
  field. In particular, make it possible to form strings from several
  fields and fixed strings, e.g.
  label = my_first_column +   + my_second_column.
  It should also be possible to add control characters, e.g. \n.
 
  For the rule-based symbology, make it hierarchical, so that it could
  look e.g. like
  if my_fist_column = 1
if my_second_column = 1
if my_second_column = 2
  if my_fist_column = 2
if my_second_column = 1
if my_second_column = 2
 
  Controlling e.g. the second rule should make it change in all
  appropriate places, e.g. changing the if my_second_column = 1 to
  if my_second_column = 3 should change this on all places.
 
  Cheers,
  Robert
 
  On Tue, 2011-01-18 at 15:58 +0100, Andreas Neumann wrote:
  Hi,
 
   As Paolo suggested, I started a wiki page for problems/missing bits 
  in
   the new symbology. Please add your issues, so we can get a rather
   complete view of what is still missing.
 
   
  http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling
 
   This is just a start. I will add more issues in the next couple 
  days.
 
   Thanks for your help!
 
   Andreas
 
 
 -- 
  --
  Andreas Neumann
  Böschacherstrasse 10A
  8624 Grüt (Gossau ZH)
  Switzerland
 

-- 
Robert Rehammar
rehammar.se/robert
0738-32 88 34

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


[Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-18 Thread Andreas Neumann

Hi,

As Paolo suggested, I started a wiki page for problems/missing bits in 
the new symbology. Please add your issues, so we can get a rather 
complete view of what is still missing.


http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling

This is just a start. I will add more issues in the next couple days.

Thanks for your help!

Andreas

--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-18 Thread mayeul . kauffmann
Hi Andreas,
I proposed significant additions to the Rule based Renderer in a patch here:

http://trac.osgeo.org/qgis/ticket/3222

http://trac.osgeo.org/qgis/attachment/ticket/3222/rule_renderer_patch_on_r15004-symbols_not_merged.diff

Applying this patch would solve several issues, including one you mentioned: 
Needs alias columns for the legend.

I just tried to write this on http://www.qgis.org/wiki/ but when I try to 
create an account, I receive the answer:

You do not have permission to create this user account, for the following 
reason:
The action you have requested is limited to users in the group: Administrators.

I also have several comments and ideas for the Rule based Renderer, based on 
tests to create multiscale world map with OSM data.

All the best,
Mayeul

- Mail Original -
De: Andreas Neumann a.neum...@carto.net
À: qgis-developer@lists.osgeo.org
Envoyé: Mardi 18 Janvier 2011 15h58:51 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [Qgis-developer] Wiki page: switching from old to new symbology, missing 
bits

 Hi,

 As Paolo suggested, I started a wiki page for problems/missing bits in 
 the new symbology. Please add your issues, so we can get a rather 
 complete view of what is still missing.

 http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling

 This is just a start. I will add more issues in the next couple days.

 Thanks for your help!

 Andreas

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-18 Thread Robert Rehammar
Hi,

I'm not sure if this is out of scope for the new label engine, but it
would anyway be a nice feature:

Make the label text an answer to a SQL question instead of a single
field. In particular, make it possible to form strings from several
fields and fixed strings, e.g.
label = my_first_column +   + my_second_column.
It should also be possible to add control characters, e.g. \n.

For the rule-based symbology, make it hierarchical, so that it could
look e.g. like
if my_fist_column = 1
  if my_second_column = 1
  if my_second_column = 2
if my_fist_column = 2
  if my_second_column = 1
  if my_second_column = 2

Controlling e.g. the second rule should make it change in all
appropriate places, e.g. changing the if my_second_column = 1 to 
if my_second_column = 3 should change this on all places.

Cheers,
Robert

On Tue, 2011-01-18 at 15:58 +0100, Andreas Neumann wrote:
 Hi,
 
  As Paolo suggested, I started a wiki page for problems/missing bits in 
  the new symbology. Please add your issues, so we can get a rather 
  complete view of what is still missing.
 
  http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling
 
  This is just a start. I will add more issues in the next couple days.
 
  Thanks for your help!
 
  Andreas
 

-- 
Robert Rehammar
rehammar.se/robert
0738-32 88 34

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


Re: [Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-18 Thread Andreas Neumann

Hi Mayeul,

I added your ticket to 
http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling#Rule_based_Renderer


Regarding the wiki access: please ask Otto Dassau, the community 
advisor, for wiki access.


Andreas

On Tue, 18 Jan 2011 18:19:44 +0100 (CET),  wrote:

Hi Andreas,
I proposed significant additions to the Rule based Renderer in a 
patch here:


http://trac.osgeo.org/qgis/ticket/3222


http://trac.osgeo.org/qgis/attachment/ticket/3222/rule_renderer_patch_on_r15004-symbols_not_merged.diff

Applying this patch would solve several issues, including one you
mentioned: Needs alias columns for the legend.

I just tried to write this on http://www.qgis.org/wiki/ but when I
try to create an account, I receive the answer:

You do not have permission to create this user account, for the
following reason:
The action you have requested is limited to users in the group:
Administrators.

I also have several comments and ideas for the Rule based Renderer,
based on tests to create multiscale world map with OSM data.

All the best,
Mayeul

- Mail Original -
De: Andreas Neumann a.neum...@carto.net
À: qgis-developer@lists.osgeo.org
Envoyé: Mardi 18 Janvier 2011 15h58:51 GMT +01:00 Amsterdam / Berlin
/ Berne / Rome / Stockholm / Vienne
Objet: [Qgis-developer] Wiki page: switching from old to new
symbology, missing bits

 Hi,

 As Paolo suggested, I started a wiki page for problems/missing bits 
in

 the new symbology. Please add your issues, so we can get a rather
 complete view of what is still missing.

 
http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling


 This is just a start. I will add more issues in the next couple 
days.


 Thanks for your help!

 Andreas


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Fwd: Re: [Qgis-developer] Wiki page: switching from old to new symbology, missing bits

2011-01-18 Thread Andreas Neumann

sending this also to the list, since my answer only went to Robert.

Andreas

 Original Message 
Subject: Re: [Qgis-developer] Wiki page: switching from old to new 
symbology, missing bits

Date: Wed, 19 Jan 2011 07:58:38 +0100
From: Andreas Neumann a.neum...@carto.net
To: Robert Rehammar rob...@rehammar.se

Hi Robert,

I think what you propose would be very nice to have. Currently I am 
doing this in a Postgis view.


Given that we already have the field calculator one could re-use this 
functionality for this purpose.


Rule-based renderer and hierarchies: I believe this is already possible 
with the filter grouping. There is group by scale or group by filter. 
Does this satisfy your needs?


Please go ahead and modify the wiki, but also don't forget to open a 
feature request. If you do a feature request in the bug tracker you can 
add the corresponding link to the wiki.


Andreas

On Tue, 18 Jan 2011 20:15:38 +, Robert Rehammar wrote:

Hi,

I'm not sure if this is out of scope for the new label engine, but it
would anyway be a nice feature:

Make the label text an answer to a SQL question instead of a single
field. In particular, make it possible to form strings from several
fields and fixed strings, e.g.
label = my_first_column +   + my_second_column.
It should also be possible to add control characters, e.g. \n.

For the rule-based symbology, make it hierarchical, so that it could
look e.g. like
if my_fist_column = 1
  if my_second_column = 1
  if my_second_column = 2
if my_fist_column = 2
  if my_second_column = 1
  if my_second_column = 2

Controlling e.g. the second rule should make it change in all
appropriate places, e.g. changing the if my_second_column = 1 to
if my_second_column = 3 should change this on all places.

Cheers,
Robert

On Tue, 2011-01-18 at 15:58 +0100, Andreas Neumann wrote:

Hi,

 As Paolo suggested, I started a wiki page for problems/missing bits 
in

 the new symbology. Please add your issues, so we can get a rather
 complete view of what is still missing.

 
http://www.qgis.org/wiki/Switching_from_Old_to_New_Symbology_and_Labeling


 This is just a start. I will add more issues in the next couple 
days.


 Thanks for your help!

 Andreas



--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland

--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer