[gdal-dev] Adding labels

Tyler Mitchell tyler.mitchell at actian.com
Mon May 13 08:23:14 PDT 2013


Hi Benoit, you'll probably have more luck if you ask on the QGIS mailing list, as GDAL helps with data access but not with the visualisation you are aiming for.

Best wishes,
Tyler

On 2013-05-13, at 6:34 AM, Benoît Laurent wrote:

> Hello,
> 
> In a previous post, I was trying to automatically add labels to a vector layer, the text of each label being contained in one field of the layer.
> 
> I was proposed different solutions. I eventually chose to write a Python script that I run with the script runner from Gary Sherman : http://spatialgalaxy.net/2012/01/29/script-runner-a-plugin-to-run-python-scripts-in-qgis/. I can load all my shapefiles properly.
> 
> However, I am struggling with the labelling process. I had a try relying on an old post : http://svn.osgeo.org/qgis/trunk/code_examples/3_basic_labelling/tutorial3.t2t. For the moment, I was unsuccessfull. Furthermore, it seems that there is a new labelling engine...
> 
> Is there a sample of use somewhere ? Any help would be appreciated.
> 
> Benoît
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



Tyler Mitchell
Engineering Director 
Actian Corporation
tyler.mitchell at actian.com

MOBILE 250-303-1831
SKYPE spatialguru
www.actian.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130513/8954bc7a/attachment-0001.html>


More information about the gdal-dev mailing list