[gdal-dev] ogr2ogr PDF
paul.malm at lfv.se
paul.malm at lfv.se
Wed Nov 13 23:18:11 PST 2019
Thanks for responding Jukka!
I'm getting real irritated of myself for not getting such a simple thing to work with such grate tools.
I have now tried with:
PEN(c:#FF00FF,w:3px,p:"3px 3px")
PEN(c:#FF00FF,w:3px,p:3px 3px)
PEN(p:"3px 3px",c:#FF00FF,w:3px)
PEN(p:3px 3px,c:#FF00FF,w:3px)
PEN(c:#FF00FF, p:"3px 3px",w:3px)
PEN(c:#FF00FF, p:3px 3px,w:3px)
But I'm getting the same solid line. Width and color are ok.
/Paul
-----Ursprungligt meddelande-----
Från: gdal-dev [mailto:gdal-dev-bounces at lists.osgeo.org] För jratike80
Skickat: den 13 november 2019 16:35
Till: gdal-dev at lists.osgeo.org
Ämne: Re: [gdal-dev] ogr2ogr PDF
Hi,
What is supported is documented in a table in
https://gdal.org/drivers/raster/pdf.html. For PEN only these options are
supported: color (c); width (w); dash pattern (p).
So why, you know, nobody has implemented it yet. Meanwhile you can do
something with dash pattern, or edit the PDF with some PDF editor.
-Jukka Rahkonen-
paul.malm wrote
> Hi,
> I’m now setting attribute OGR_STYLE in my postGis db for a testlayer
> (line)
> I’m now setting attribute OGR_STYLE in my postgis db for a test layer
> (LineString):
> … SET \"OGR_STYLE\"= 'PEN(c:#FF3333,id:ogr-pen-4,w:1px)'
> Does anyone know why the pen symbol (id) is ignored when exporting the
> PDF, it’s always a solid line?
> Color and width is ok.
> I’ve tried to draw a ogr-symbol together with a point layer and it worked
> like a charm.
> Kind regards,
> Paul
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list