Re: [gdal-dev] [SPAM?]: Re: Adding labels

2013-05-13 Thread Benoît Laurent
Le 13/05/2013 17:23, Tyler Mitchell a écrit : 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. Ok, thank you. Benoît ___ gdal-dev mailin

[gdal-dev] Adding labels

2013-05-13 Thread Benoît Laurent
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:

Re: [gdal-dev] Adding labels / specifying styles

2013-05-03 Thread Benoît Laurent
Le 03/05/2013 13:50, Newcomb, Doug a écrit : Benoit, You can also script plotting in GRASS , http://grasswiki.osgeo.org/wiki/Ps.map_scripts I must admit that I don't know anything about GRASS... I was proposed different solutions. For the moment, the Atlas plugin does not meet my needs (but

Re: [gdal-dev] Adding labels / specifying styles

2013-05-03 Thread Benoît Laurent
Hello, It is true, but not the whole truth. GDAL does understand certain kind of attributes as drawing styles, see http://www.gdal.org/ogr/ogr_feature_style.html However, I am not sure if QGIS can utilize them automatically. I tried to use OGR but failed until now :-(. I can specify a style in my

Re: [gdal-dev] Adding labels / specifying styles

2013-05-03 Thread Benoît Laurent
Le 02/05/2013 18:29, Jukka Rahkonen a écrit : Alexandre Gacon gmail.com> writes: Hi, The shapefile format is not a format who supports styles and labels. It is a data only format. So you can not associate labels to your points. You can at most add a column with a text. It is true, but not t

Re: [gdal-dev] [SPAM?]: Re: Adding labels / specifying styles

2013-05-02 Thread Benoît Laurent
Thank you for your answer. On 2013-05-02, at 8:45 AM, Benoît Laurent wrote: After that, I am importing my shapefiles in QGis. Maybe, I should create my labels using a Python script based on the added text column ? You shouldn't have to use Python to draw labels, there are capabiliti

Re: [gdal-dev] Adding labels / specifying styles

2013-05-02 Thread Benoît Laurent
Thank you for your quick answer. Hi, The shapefile format is not a format who supports styles and labels. It is a data only format. So you can not associate labels to your points. You can at most add a column with a text. That's what I have already done indeed. After that, I am importing my

[gdal-dev] Adding labels / specifying styles

2013-05-02 Thread Benoît Laurent
Hello, I am a newbie with GDAL and OGR. I managed to create a shapefile following the provided sample : http://www.gdal.org/ogr/ogr_apitut.html. The shapefile contains points. Now, I would like to associate labels to my points. I also wish to specify the size, the color of my points. Is it