Re: [gdal-dev] styles .ofs and OGR_STBL_GetNextStyle()

2014-08-01 Thread Chaitanya kumar CH
Nik, This is a good idea. The doc you specified needs a correction. The version string and style field lines are supposed to be commented out with a #. The OGRStyleTable class has methods to save and load style tables. They assume neither empty lines nor comments. There is one method to Print tha

[gdal-dev] styles .ofs and OGR_STBL_GetNextStyle()

2014-07-29 Thread Nik Sands
Hi Devs, I'm just planning to convert my own 'in-house' drawing styles management to using the styles management built into OGR. The documentation at http://www.gdal.org/ogr_feature_style.html suggests that styles can be in a '.ofs' file to be automatically associated with a data source of the