Re: [gdal-dev] VRT creation from Python, adding existing geotiff as bands

2015-02-16 Thread Even Rouault
Le lundi 16 février 2015 17:23:49, Rémi Cura a écrit : > Thank for the fast answers ! > > @EvenRouault : thanks for the snippet, I wasn't aware of this mechanism to > transmit option trough python dictionary. > It should most likely be sufficient for my needs, even if I don't > understand it full

[gdal-dev] Streamable GeoTIFF

2015-02-16 Thread Even Rouault
Hi, Following a recent discussion on IRC, I've committed changes in the GeoTIFF driver (GDAL trunk) to allow streaming in/out TIFF files. This is rather advanced and requires care in its use but can probably be usefull sometimes. More details in this new paragraph of the GeoTIFF driver doc : ""

Re: [gdal-dev] VRT creation from Python, adding existing geotiff as bands

2015-02-16 Thread Rémi Cura
Thank for the fast answers ! @EvenRouault : thanks for the snippet, I wasn't aware of this mechanism to transmit option trough python dictionary. It should most likely be sufficient for my needs, even if I don't understand it fully yet. I had read the tutorial but failed to translate it from C++

Re: [gdal-dev] HDF support under Gentoo/Funtoo

2015-02-16 Thread Sebastian Walter
Hi Nikos, The gentoo ebuild is somehow limited in terms of driver choices in my opinion (especially if you have additional commercial licenses to include as, e.g. Kakadu or ECW). What I do is to compile a custom gdal build and install it to /usr/local. For the current stable 1.11, you would emerge

Re: [gdal-dev] VRT creation from Python, adding existing geotiff as bands

2015-02-16 Thread Anton Korosov
Dear Rémi, you may want to look at our Python package NANSAT (https://github.com/nansencenter/nansat) which we build around the GDAL and especially VRT. We even have a separate class VRT() for creating, changing and using VRT files. More specific regarding your question, you can try to use the

Re: [gdal-dev] VRT creation from Python, adding existing geotiff as bands

2015-02-16 Thread Even Rouault
Rémi, > Hey dear list, > this is my first post here, > so sorry if I'm asking something obvious. > > (I noticed the 2 previous mail thread regarding python and VRT). > > I wrote python functions to convert a numpy structured array to several > gdal rasters. > > A numpy structured array is a 2D

[gdal-dev] VRT creation from Python, adding existing geotiff as bands

2015-02-16 Thread Rémi Cura
Hey dear list, this is my first post here, so sorry if I'm asking something obvious. (I noticed the 2 previous mail thread regarding python and VRT). I wrote python functions to convert a numpy structured array to several gdal rasters. A numpy structured array is a 2D pixel array, but each pixel

Re: [gdal-dev] Delete Feature

2015-02-16 Thread Hema Yeedunuri
all, If i want to update every time the layer every time how can it be done? I want to do undo redo operations on adding and deleting features . thanks, hema On Mon, Feb 16, 2015 at 2:47 PM, Even Rouault wrote: > Le lundi 16 février 2015 10:07:35, Hema Yeedunuri a écrit : > > hi all, > > > > I

[gdal-dev] HDF support under Gentoo/Funtoo

2015-02-16 Thread Nikos Alexandris
Greetings to the list. I am trying to emerge gdal under Funtoo with support for HDF4 (see for the ebuild). I am not sure how to get this done. There is no USE flag for hdf (only for hdf5). Since the system is quite similar with Gentoo, is there anyone o

Re: [gdal-dev] Delete Feature

2015-02-16 Thread Even Rouault
Le lundi 16 février 2015 10:07:35, Hema Yeedunuri a écrit : > hi all, > > I am trying to delete feature from shape layer using feature id.the feature > id is deleted when deleted in order descending order.When trying to delete > randomly it is giving error message Hema, REPACK will remove destro

[gdal-dev] Delete Feature

2015-02-16 Thread Hema Yeedunuri
hi all, I am trying to delete feature from shape layer using feature id.the feature id is deleted when deleted in order descending order.When trying to delete randomly it is giving error message if i delete fid = 1, the below error is shown. ERROR 1: Attempt to read shape with feature id (2) out