I am using the GDAL Java bindings to load vector data sets into a Java based GIS application.

The GDAL Java bindings seem to contain no classes or methods to parse the Feature#getStyleString into something I can easily work with. Looking at the native GDAL code, there exist classes like OGRStyleTool and enumerations like ogr_style_tool_class_id which do the parsing for you.

What are my Java options if I want to extract the styling information from the style string ? Do I have to write my own parser for this, or am I overlooking another option ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.