[Gdal-dev] Changes in OGRStyleTool class

Andrey Kiselev dron at ak4719.spb.edu
Mon Oct 9 09:11:53 EDT 2006


I have made several changes in OGRStyleTool class. In first of all I
have changed the OGRStyleTool:Parse() function, because it was broken
when parsing boolean statements, such as "it", "bo" etc. If such a
statement arrives in the style string the parsing function either fails
or produces completely wrong results. It was vquite surprizing that this
problem wasn't noticed until now. Also I have introduced OGRSTypeBoolean
type which should be used for such style options in the future. Also I
started to check the return value of the Parse() function, so the same
should be done in the user's code.


Andrey V. Kiselev
ICQ# 26871517

More information about the Gdal-dev mailing list