Re: [gdal-dev] Fast Pixel Access

2014-02-10 Thread Even Rouault
Le mardi 11 février 2014 00:10:20, David Baker (Geoscience) a écrit : > Evan. I am on Windows and only have the binaries installed. Well, I let Windows developers lurking here answer if they have some good advice. I imagine you would need binaries with debugging symbols to be able to get a usef

Re: [gdal-dev] Fast Pixel Access

2014-02-10 Thread David Baker (Geoscience)
Evan. I am on Windows and only have the binaries installed. David -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Monday, February 10, 2014 8:54 AM To: David Baker (Geoscience) Cc: 'Even Rouault'; 'Brian Case'; 'gdal-dev@lists.osgeo.org' Subject: RE: [gd

Re: [gdal-dev] how to create just the msk file from a rgba vrt file

2014-02-10 Thread Duarte Carreira
Hi Even, and many thanks! Your pointers have solved my question. As for the problem building overviews it seems that it occurs when you enter a tag pointing to a "regular" image, that doesn't have the INTERNAL_MASK_FLAGS_# set. On the other hand these flags allowed me to create a mask file eve

Re: [gdal-dev] Problems compressing tiff files

2014-02-10 Thread Even Rouault
Selon Rafael Krucker : > Hello all > > I'm currently trying to do the following, using gdal: > > 1) Combining some tifs into one using gdal_merge, COMPRESS=LZW > 2) Using gdalwarp with cutline to cut out a certain piece of the result > 3) Compressing again using gdalwarp, COMPRESS=LZW The way gda

Re: [gdal-dev] TOC sub-dataset retrieving when frame with same coverage share the same boundary rectangle.

2014-02-10 Thread Nicolas G
Hi Even, Thank you, in fact it seems clear according to your RPF Spec analysis that the A.TOC file is not corrcetly formatted. The TOC file has been provided by Data producer... As you say the solution is to define another boundary rectangle with the same coordinate, and it will be ok. Thank

[gdal-dev] Problems compressing tiff files

2014-02-10 Thread Rafael Krucker
Hello all I'm currently trying to do the following, using gdal: 1) Combining some tifs into one using gdal_merge, COMPRESS=LZW 2) Using gdalwarp with cutline to cut out a certain piece of the result 3) Compressing again using gdalwarp, COMPRESS=LZW 4) Generating pyramids with gdaladdo However,

Re: [gdal-dev] Fast Pixel Access

2014-02-10 Thread Even Rouault
Selon "David Baker (Geoscience)" : > Even, > > No not an i386... A Dell Precision T3500 w/Intel W3680 @ 3.33GHhz 6x2 cores > with 12.0GB. Thought the data is on the network, not local, with 1Gbps > access. The GDAL_DISABLE_READDIR_ON_OPEN = TRUE did significantly increase > the speed. Does the

Re: [gdal-dev] Fast Pixel Access

2014-02-10 Thread David Baker (Geoscience)
Even, No not an i386... A Dell Precision T3500 w/Intel W3680 @ 3.33GHhz 6x2 cores with 12.0GB. Thought the data is on the network, not local, with 1Gbps access. The GDAL_DISABLE_READDIR_ON_OPEN = TRUE did significantly increase the speed. Does the BIL driver read the whole file into memory

Re: [gdal-dev] WMS Issues Two Requests

2014-02-10 Thread Even Rouault
Selon Martin Lewis : > Unfortunately. Even, 'that's life' in my customers world was too slow. I didn't imply that you had to bear poor performance. For higher performance, other protocols, tile-oriented and cache friendly, are more appropriate such as WMTS, TMS. > > Now I understand what the WMS

Re: [gdal-dev] TOC sub-dataset retrieving when frame with same coverage share the same boundary rectangle.

2014-02-10 Thread Even Rouault
Selon Nicolas G : > Hi Andreas, > > The fact is that I can't use the GDAL API to get the different sub-datasets > in this particular case, so can't make any combination of frames without > going directly to all NITF frames as suggested by Even. > > Regarding your answer, maybe the meaning of Zone

Re: [gdal-dev] TOC sub-dataset retrieving when frame with same coverage share the same boundary rectangle.

2014-02-10 Thread Nicolas G
Hi Andreas, The fact is that I can't use the GDAL API to get the different sub-datasets in this particular case, so can't make any combination of frames without going directly to all NITF frames as suggested by Even. Regarding your answer, maybe the meaning of Zone and Scale is not clear for me

Re: [gdal-dev] WMS Issues Two Requests

2014-02-10 Thread Martin Lewis
Unfortunately. Even, 'that's life' in my customers world was too slow. Now I understand what the WMS driver is doing in terms of BlockSize and DataWindow, I can work round the issue for the time being by requesting a data window sized block in a single request rather than lots of smaller blocks in

Re: [gdal-dev] gdalwarp EPSG:32662 problem

2014-02-10 Thread Antti Castrén
2014-02-09 8:40 GMT+02:00 Andre Joost : > Am 09.02.2014 00:42, schrieb Even Rouault: >> >> But Antti guess seems right. Instead of +ellps=WGS84 (or +datum=WGS84), if >> you >> play with the a (semi-major axis) and b (semi-minor axis) parameters, you >> can >> see that only +a has an influence, so l

Re: [gdal-dev] TOC sub-dataset retrieving when frame with same coverage share the same boundary rectangle.

2014-02-10 Thread Andreas Oxenstierna
Hi A RPF structure (CADRG, CIB, ECRG etc) may include any combination of scalelevels and/or geographic zones as referenced in the A.TOC file. So there may be both scale-overlaps and zone-overlaps. There is also a frame-based update concept but this is seldom used. An example from a CADRG datas