[Qgis-developer] Atlas: labels are cut

2013-11-18 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
When printing with Atlas, the labels for polygons outside the one in
focus are often cut. Using various options (a bit hackish, not very
easy to understand for the average user) the problem can be reduced,
but apparently not avoided altogether. I know in master we can use
conditional labelling (with an even more hacking method), but: is
there a simpler solution for qgis stable?
Thanks.
- -- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlKKHJ8ACgkQ/NedwLUzIr5EcACfXDf+Qi0MuiubOOt4sGtfJSsw
yqAAnjPutoxKOl7Ra2S/ZwIHuy/YLKcS
=8p54
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Atlas: labels are cut

2013-11-18 Thread Régis Haubourg
Hi Paolo, 
Do you somehow mask the area outside the polygon ? If yes i'm really
interested.
 If not, we are also wondering how to limit labeling only to objects within
the Atlas object. A way is to use expression generator to filter labels only
when the layer's object intersects Atlas current feature. We have to add
some global variables as Atlas output for this. 
Prototypes using user functions do work, but we have to check what happens
with big polygons. And that doesn't solve the labelling issue, where labels
can fall outside the Atlas polygon. 
IMO, we should end up with a global Area of intersect variable, and we
should have labeling options to tell if label must be drawn only for object
part inside AOI or not.. 
We'll produce probabaly a prototype of what could be a good behaviour and go
further with the community. 
Cheers
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Atlas-labels-are-cut-tp5089645p5089648.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Atlas: labels are cut

2013-11-18 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 18/11/2013 15:05, Régis Haubourg ha scritto:
 Hi Paolo, 
 Do you somehow mask the area outside the polygon ? If yes i'm really
 interested.
  If not, we are also wondering how to limit labeling only to objects within

In this case, it is OK to label polygons outside the current one; what is bad 
is to
truncate labels. I assume this means Atlas generates the whole map, the moves 
the
frame around, so lables are not placed according to the frame: is this 
interpretation
correct?
In any case, truncated labels should never occur.
All the best.

- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlKKNcAACgkQ/NedwLUzIr68RwCZAfI+svLZvj4UB6hszK14u5A5
GrIAoKwvoUMe9aiw1XWRaS2cs5/y92Ez
=lKy+
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Atlas: labels are cut

2013-11-18 Thread Régis Haubourg
Paolo Cavallini wrote
 In any case, truncated labels should never occur.
 All the best.

Agreed, and confirmed. 
could you open a issue so that I can refer to it?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Atlas-labels-are-cut-tp5089645p5089673.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Atlas: labels are cut

2013-11-18 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 18/11/2013 17:01, Régis Haubourg ha scritto:
 Paolo Cavallini wrote
 In any case, truncated labels should never occur.
 All the best.
 
 Agreed, and confirmed. 
 could you open a issue so that I can refer to it?

done:
http://hub.qgis.org/issues/9078
thanks.
- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlKKQbgACgkQ/NedwLUzIr5O0wCgjmltn6Zj13R+Kon43X6XdFqZ
RJQAoLJDdzvo0VPkwdJ162opUU0TnIDT
=tNSj
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer