gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Bug with method GetStyleString()

Open neophammdc opened this issue 1 year ago • 2 comments

What is the bug?

Bug with method GetStyleString()

Steps to reproduce the issue

I use GDAL 3.9.2 with JAVA to read DGN v7 data, but get error when calling org.gdal.ogr.Feature.GetStyleString() function due to CHARSET WINDOW-1252 encoding. I think maybe need to add function like org.gdal.ogr.Feature.GetStyleAsBinary() Is this possible? Thanks a lot

Versions and provenance

Build on Ubuntu 22.04 with GDAL 3.9.2

Additional context

Java Android

neophammdc avatar Aug 24 '24 15:08 neophammdc

@neophammdc Please attach such DGN file (in a .zip)

rouault avatar Aug 25 '24 14:08 rouault

Hi @rouault, please attach DGN v7 sample file.

Note: I got the above error when reading with Android Java environment

DGN_v7_Sample.zip

neophammdc avatar Aug 26 '24 03:08 neophammdc