[Qgis-developer] New labeling engine: problems

2011-12-15 Thread luca_manganelli

Hi,

I have encountered problems with the new labelling engine.

I have a cadastral layer and I set labels over centroid, but the new
labeling engine moves them very away from the centroid.

See this attachment:

http://hub.qgis.org/attachments/4116/label-bug.jpeg

If I use the old engine, it works perfectly.

I've reported on redmine with sample data to test:
http://hub.qgis.org/issues/4634

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


Re: [Qgis-developer] New Labeling

2011-09-14 Thread Andrew Chapman
Hi Andreas
Yes they way that you have described generally seems logical with the
exception that I don't understand why it should be necessary to specify
fields for distance, X  Y before rotation and position are enabled. 
I would have thought that all position options could be selected on a
case-by-case basis with the defaults used where options aren't specified -
that way there would be no need to create dummy fields. 
Is there a reason why this default solution is inappropriate?
Andrew

Date: Tue, 13 Sep 2011 21:39:20 +0200
From: Andreas Neumann a.neum...@carto.net
Subject: Re: [Qgis-developer] New Labeling:
To: qgis-developer@lists.osgeo.org
Message-ID: 4e6fb168.9060...@carto.net
Content-Type: text/plain; charset=ISO-8859-1

Hi Andrew,

The logic is that one often wants label positions separate from the
actual geometry. The new label tool allows x/y positions not only for
point geometries (where one can use the point geometry), but also for
line and area features. If x/y columns are empty, QGIS uses the featurue
geometry, if one manually moves the labels, x/y columns are used. This
way one can mix manual and automatic labeling.

If you want fully automatic labeling just create dummy x/y columns and
never manually move labels around.

Does it sound illogical to you?

Andreas

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


[Qgis-developer] New Labeling:

2011-09-13 Thread Andrew Chapman
I'm trying to find a way to use data defined positioning with the new
labelling to replicate what is possible in the old labelling, namely
aligning and rotating about the point specified for a layer.
With the new labelling, fields have to be selected for label distance X  Y
coordinates before the horizontal  vertical alignment plus rotation are
enabled. Is there a logical reason why alignment and rotation aren't
available by default?
I tried creating a dummy field (always NULL values) and selecting it for
distance, X  Y. This enables the other fields (to the extent that I can
select them), but they seem to have no effect.
Am I missing something or do I need to file a bug report?

Andrew

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


Re: [Qgis-developer] New Labeling:

2011-09-13 Thread Andreas Neumann
Hi Andrew,

The logic is that one often wants label positions separate from the
actual geometry. The new label tool allows x/y positions not only for
point geometries (where one can use the point geometry), but also for
line and area features. If x/y columns are empty, QGIS uses the featurue
geometry, if one manually moves the labels, x/y columns are used. This
way one can mix manual and automatic labeling.

If you want fully automatic labeling just create dummy x/y columns and
never manually move labels around.

Does it sound illogical to you?

Andreas

On 09/13/2011 04:58 PM, Andrew Chapman wrote:
 I'm trying to find a way to use data defined positioning with the new
 labelling to replicate what is possible in the old labelling, namely
 aligning and rotating about the point specified for a layer.
 With the new labelling, fields have to be selected for label distance X  Y
 coordinates before the horizontal  vertical alignment plus rotation are
 enabled. Is there a logical reason why alignment and rotation aren't
 available by default?
 I tried creating a dummy field (always NULL values) and selecting it for
 distance, X  Y. This enables the other fields (to the extent that I can
 select them), but they seem to have no effect.
 Am I missing something or do I need to file a bug report?
 
 Andrew
 
 ___
 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