Re: [gdal-dev] Feature Style

2009-03-18 Thread Geo Aspects Development
. Can you suggest a replacement for us? What do others use? Thanks, Andy. On Tue, 17 Mar 2009 21:04 +0100, "Geo Aspects Development" wrote: hi, The only format I have found which supports feature styles is MapInfo tab files The spec is hardly supported at all, infact even the dataSo

Re: [gdal-dev] Feature Style

2009-03-17 Thread Geo Aspects Development
hi, The only format I have found which supports feature styles is MapInfo tab files The spec is hardly supported at all, infact even the dataSource/layer/ feature hierarchy is not supported - everything is at feature level I would guess they are not widely used (for example, you cannot even

Re: [gdal-dev] Accessing OGRStyleTable

2008-09-13 Thread Geo Aspects Development
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

Re: [gdal-dev] Accessing OGRStyleTable

2008-09-11 Thread Geo Aspects Development
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