Re: [gdal-dev] Adding labels

2013-05-13 Thread Tyler Mitchell
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 a

[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 Newcomb, Doug
Benoit, You can also script plotting in GRASS , http://grasswiki.osgeo.org/wiki/Ps.map_scripts Doug On Fri, May 3, 2013 at 3:24 AM, Benoît Laurent wrote: > Le 02/05/2013 18:29, Jukka Rahkonen a écrit : > > Alexandre Gacon gmail.com> writes: >> >> >>> Hi, >>> The shapefile format is not a fo

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] Adding labels / specifying styles

2013-05-02 Thread Jukka Rahkonen
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 the whole truth. GDAL does understand cert

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

2013-05-02 Thread Tyler Mitchell
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 capabilities in the properties for each laye

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

2013-05-02 Thread Tyler Mitchell
Once you've got the data stored in the table, you can then use desktop mapping products like QGIS (http://qgis.org) to use those columns to fuel labelling on your maps. I highly recommend you checkout QGIS for your next steps. Tyler On 2013-05-02, at 8:38 AM, Alexandre Gacon wrote: > Hi, >

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

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

2013-05-02 Thread Alexandre Gacon
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. Regards Alexandre 2013/5/2 Benoît Laurent > Hello, > > I am a newbie with GDAL and OGR. > > I managed to

[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