FWIW, here are the code fragments I added (to my copy of GDAL 1.4.0),
though I have subsequently changed my strategy and don't use it any
longer. This makes it possible to use the styles in a GUI, where you
can list available styles and have the user select one.
The DataSource/Layer/Feature
Daniel Morissette pisze:
Mateusz Łoskot wrote:
Now I've got what's the problem.
Yes, looks like this part of API is missing or for some reasons not
planned. Perhaps Daniel or Frank will explain.
Style tables were part of the initial design, but were never implemented
for any driver as far
Mateusz Łoskot wrote:
Now I've got what's the problem.
Yes, looks like this part of API is missing or for some reasons not
planned. Perhaps Daniel or Frank will explain.
Style tables were part of the initial design, but were never implemented
for any driver as far as I know. That's why the
Mateusz,
Thanks for your answer. As Tim said, I need to access all members of the
OGRStyleTable for listing them in a GUI.
I think maybe it should exist an interface for getting a list of all style
names and definitions (a char**, for example).
Best regards,
Alberto
2008/9/11 Mateusz Łoskot <[EM
Geo Aspects Development pisze:
Sorry, but I have to agree with Alberto - there is actually no way (that
I have found) of listing the currently loaded styles (for a UI dropdown
for example), either with the OGRStyleTable or with the OGRStyleMgr.
You have to maintain this list yourself.
Tim,
N
Sorry, but I have to agree with Alberto - there is actually no way
(that I have found) of listing the currently loaded styles (for a UI
dropdown for example), either with the OGRStyleTable or with the
OGRStyleMgr.
You have to maintain this list yourself.
Plus the OGRStyleTable is not at all
Alberto Pérez Cassinelli pisze:
Hi, I'm getting an OGRStyleTable from an OGRDataSource.
My problem is that I need to access all members of this OGRStyleTable (that
is all style definitions and names) to store them in a data structure of
type string vector,
Alberto,
Why you need to access priva
Hi, I'm getting an OGRStyleTable from an OGRDataSource.
My problem is that I need to access all members of this OGRStyleTable (that
is all style definitions and names) to store them in a data structure of
type string vector, but I don't find any method to do it sequentially (I
can't read one by one