[gdal-dev] Adding labels / specifying styles

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Thu May 2 09:29:09 PDT 2013


Alexandre Gacon <alexandre.gacon+gdal <at> 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 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. This document
contains some examples which should prove that it is possible to associate
labels to points and even more
http://latuviitta.org/documents/Geospatial_PDF_maps_from_OSM_with_GDAL.pdf.

-Jukka Rahkonen-



More information about the gdal-dev mailing list