1

I use GDAL v.3.9.2 and poppler v.24.04 to read GeoPDF files.

But when I try to read GeoPDF with vector objects, style strings for the most vector objects are not correct. This style string I get using GetStyleString method for OGRFeature.

These style strings like "PEN(c:#895546);BRUSH(fc:#746EDC)", https://gdal.org/en/stable/user/ogr_feature_style.html.

But these strings do not contain any opacity bytes(7th and 8th digits for BRUSH) or width fields(for ex. w:7px), but it musts.

How can I read opacity and width properties for each GeoPDF vector object, using gdal?

For example, pdf with 2 rects with different boundary width and opacity.
enter image description here

But GDAL reads it without opacity with the same boundary width.

enter image description here

File to upload: https://limewire.com/d/l3ajz#LhO7IXt1Vy

3
  • 2
    Please share some test data. Commented Aug 12 at 14:26
  • Update data link. Commented Aug 14 at 11:52
  • I can reproduce with latest GDAL 3.11.3. I don't have a solution, perhaps submit an issue to the developers. Commented Aug 15 at 6:16

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.