Hi, If I write some vector data from OGR_DATASOURCE into geospatial PDF and I would like to style symbols with OGR_STYLE, then ORG_STYLE string will also be written ínto the model tree of the resulting PDF file as an attribute. I consider that it would be better not to transfer OGR_STYLE at all as an attribute. If somebody really wants to send style definitions into PDF as attributes it could still be done by selecting styles another time with SQL with some other attribute name.
My select in the .vrt file is as follows <SrcSQL>SELECT *,ref as ID, 'SYMBOL(id:ogr-sym-3,c:#FF0000,s:10px)' as OGR_STYLE from points where highway='bus_stop'</SrcSQL> I wonder also why the the example about using png images as symbols in the document http://www.gdal.org/ogr/drv_pdf.html includes settings for the symbol color. OGR_STYLE in the example is SYMBOL(c:#000000,id:"a_symbol.png"). Does some of the supported image formats really support changing colors on-the-fly? -Jukka Rahkonen- _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
