Le vendredi 17 avril 2015 10:24:17, Luca Delucchi a écrit : > 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")
Luca, it is documented in http://gdal.org/frmt_pdf.html that id is only supported on SYMBOL for PDF export, but not on PEN and BRUSH. For dashed line, you can use the p/pattern attribute instead. For non-solid polygon fill, this would have to be implemented. Best regards, Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
