Re: [gdal-dev] Sentinel-1 IW Single Look Complex (SLC)

2022-02-03 Thread ni hao
ds=gdal.Open('manifest.safe') ds.GetRasterBand(1).ReadAsArray(5000, 6000, 10, 6)= array([[ 8. +7.j, 6.+10.j, -3. +5.j, -3. -1.j, -6. -1.j, -2. -1.j, 3. +0.j, -2. +0.j, -5. -3.j, -1. -1.j], [ 7. +0.j, 4. +0.j, -1. +1.j, -4. +2.j, -1. +0.j, -5. +0.j, -1. +2.j, 1. +0.j, -4.

Re: [gdal-dev] GDAL/OGR 3.4.1 not reading S57 correctly

2022-02-03 Thread dthorne
Hi, Was just wanting to follow up to see if you or anyone else has had a chance to look into my problem? Or might be able to help get the issue figured out. I still feel like it's something with the setup up, but not having any luck. TIA, Daniel -Original Message- From: dtho...@piv

Re: [gdal-dev] Sentinel-1 IW Single Look Complex (SLC)

2022-02-03 Thread ni hao
Hi List, I downloaded the 3.4.1 and python binding (python 3.6) Tested on an IW SLC product contains one image per sub-swath, for a total of 3 tiff for HH. It still only shows one raster band: the first TIFF, rather than three. Although ds.GetSubDatasets() shows three: IW1, IW2, IW3 ds=gdal.Ope

Re: [gdal-dev] Any way to get an autocompletion for ogr/gdal utilities?

2022-02-03 Thread Markus Neteler
Hi Thomas, On Wed, Feb 2, 2022 at 11:59 PM Thomas Gratier wrote: > > Hello, > > On Linux, when I type `ogr` in a command line, and on the keyboard type on > "tab" key, I get all binaries starting with `ogr` e.g > > > ogr2ogr ogrinfo ogrlineref ogrmerge.py ogrtindex > > When using co