Re: [gdal-dev] JP2 Segfault

2016-07-21 Thread Jukka Rahkonen
Yves Jacolin free.fr> writes: > > Hello, > > I am working on some JP2 data (total 262 Go) . I started creating a vrt file > and then "gdal_translate" them. > > I always have a segfault. I tried to use a GDAL_SKIP config to use another > driver but it seems that I can successfully do this: >

Re: [gdal-dev] JP2 Segfault

2016-07-21 Thread Even Rouault
Salut Yves, > Using --config GDAL_SKIP ECW doesn't change anything. The name of the driver in that instance is JP2ECW . ECW is for .ecw files > > I can't understand two things: > > * first: why libNCSEcw is used instead of openjpeg200 lib? Answered above > * second: what kind of problem cou

[gdal-dev] JP2 Segfault

2016-07-21 Thread Yves Jacolin
Hello, I am working on some JP2 data (total 262 Go) . I started creating a vrt file and then "gdal_translate" them. I always have a segfault. I tried to use a GDAL_SKIP config to use another driver but it seems that I can successfully do this: >> Stack trace in bt << Starting program: /usr/lo

Re: [gdal-dev] C++ API for WCS: GetCapabilities and GDALOpen()

2016-07-21 Thread Even Rouault
Odd-Ragnar, > Does GDAL fetch this for me in > some way, or do I have to parse the result from GetFeatureInfo in a > separate routine? --> you meant GetCapabilities, not GetFeatureInfo right ? > > Shouldn't the first call to GDALOpen() get the capabilitis for a given WCS, > like it does for WFS?

[gdal-dev] C++ API for WCS: GetCapabilities and GDALOpen()

2016-07-21 Thread Odd Ragnar Lydersen
This is probably a stupid question, but I'm wondering if the WCS driver is missing something. 1) I have used the WFS driver, and the description xml file, which caches the GetCapabilitis result, so that I can get info from that file later. 2) The corresponding description xml file for the WCS d

Re: [gdal-dev] Get Metadata from VRT file, store 4D Dataset into VRT

2016-07-21 Thread hannesd
Hi Even, thanks for your quick answer! I have done the second suggestion you made: First made mosaik vrt files and then performed gdalbuiltvrt -separate to merge them into a multi band raster. Again two issues: 1. Is there a way to retrieve the metadata from the mosaik vrt files without actual