[gdal-dev] OGR style feature

Luca Delucchi lucadeluge at gmail.com
Fri Apr 17 01:24:17 PDT 2015


Hi devs,

I'm working on a QGIS plugin to export GeospatialPDF.

I have problems to use the "Symbol Name" according to OGR style feature page [0]
The "Symbol Name or ID" of SYMBOL Tool are working really well but the
"Symbol Name or ID" of PEN and BRUSH are not working for me.

these are the style applied to my features (they seems correct)

polygon BRUSH(fc:#4fbb87ff,id:"ogr-brush-7");PEN(c:#000000ff,w:0.26mm,j:b)
point SYMBOL(id:"ogr-sym-7",c:#ffff00ff,o:#000000ff,w:3mm)
lines PEN(c:#919ce5ff,w:2mm,j:r,cap:p,id:"ogr-pen-5")

and this is the result [1], the polygon should be diagcross hatch and
the line should be dot line.

Any idea to solve the problems?

The gdal version is GDAL 1.11.2

[0] http://www.gdal.org/ogr_feature_style.html
[1] http://geodati.fmach.it/tmp/prova.pdf

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the gdal-dev mailing list