[gdal-dev] JPEG in GeoTIFF + Masks

2014-08-24 Thread Robert Coup
Hi folks, After a bit of advice... JPEG compression is fast and pretty space-efficient for raster imagery. But it's RGB-only. JPEG2000 supports RGBA, has built-in overviews, but it can be slow & CPU-hungry. TIFF with deflate/lzw supports RGBA but is big for imagery. For simple RGB originals wher

Re: [gdal-dev] getting the Layer id or index from a Feature object

2014-08-24 Thread Even Rouault
Le dimanche 24 août 2014 15:24:55, mccorb a écrit : > Is there anything in the Feature object which contains the layer id/index > which it is in? > > I was thinking I could carry around the Feature and then when I wanted to > update any of the geometry or FielfDefn items I could just call > setFie

[gdal-dev] getting the Layer id or index from a Feature object

2014-08-24 Thread mccorb
Is there anything in the Feature object which contains the layer id/index which it is in? I was thinking I could carry around the Feature and then when I wanted to update any of the geometry or FielfDefn items I could just call setField/unsetField but it appears I need to also call Layer.setFeatu