[gdal-dev] Geospatial PDF with OGR_DATASOURCE

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Jun 6 00:16:56 PDT 2012


Even Rouault  wrote:

> > However, I could not make SYMBOL settings to work with my
>> points. They appear as grey circles even if I attached some
> > OGR_STYLE strings to them, like
>> SYMBOL(c:#00FF00,id:"ogr-sym-7")
>>
> > I was able to set the colours of the points by using PEN but
> > altering the w: parameter did not change the size of the
 >> points.
> Yes, SYMBOL tool was not yet implemented up to now. There's now a limited implementation of it :
> r24543 /trunk/ (3 files in 3 dirs): OGR PDF: use SYMBOL styling on point geometries,
> limited to taking into account the id (ogr-sym-0 to ogr-sym-9), c and s parametersNote
> that   the PEN, BRUSH and LABEL tool are also limited in the support of their parameters :
> * color, width and dash pattern for PEN* color for BRUSH* text, color, size and angle for
> TEXT (the text being limited to ASCII characters)



I installed GDAL dev from gisinternals.com<http://www.gisinternals.com> and it claims to contain r24544.  However,

I can still see only grey circles.

My styled test points are available at http://latuviitta.org/documents/styled_pdf_points.gml



The command I used for testing is

ogr2ogr -f PDF pdf_point_test.pdf styled_pdf_points.gml



-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120606/aeb56bf0/attachment.html>


More information about the gdal-dev mailing list