Re: [gdal-dev] vector representation in netcdf 4

2019-01-15 Thread Bekaert, David (334H)
Hi GDAL developers, Even, Thanks for sharing the updated sample product with srs info included. I was able to mimic you polygon formatting in the attached TEST.nc file. Unfortunately I was not able to get the srs info captured in my shape file when applying ogr2ogr. I am using the same crs I use

Re: [gdal-dev] GDAL2 Python ds.GetDescription() is empty

2019-01-15 Thread Gong, Shawn
Hi Even, Yes, GDAL_ARRAY_OPEN_BY_FILENAME=YES as configuration option/env variable has made gdal.Open('NUMPY:::') working for me. I need this option as many codes were written to display imageData, while not saving imageData on disk. I am going to do: output_ds = gdal.Open(gdal_array.GetAr

Re: [gdal-dev] Make Issue

2019-01-15 Thread Even Rouault
On mardi 15 janvier 2019 17:17:43 CET Andrew Bell wrote: > I'm not terribly familiar with the GDAL build system and I'm having some > issues getting a proper rebuild to occur when a header file is changed in > OGR. Are dependencies automatically generated or might something manual be > missing? >

[gdal-dev] Make Issue

2019-01-15 Thread Andrew Bell
I'm not terribly familiar with the GDAL build system and I'm having some issues getting a proper rebuild to occur when a header file is changed in OGR. Are dependencies automatically generated or might something manual be missing? Thanks, -- Andrew Bell andrew.bell...@gmail.com

Re: [gdal-dev] GDAL2 Python ds.GetDescription() is empty

2019-01-15 Thread Even Rouault
Shawn, > > I am using Python 2.7 > In my work, results are displayed like this: > imageData = > output_ds = gdal_array.OpenArray(imageData) > output_ds.GetDescription() > RasterLayer(ds=output_ds) > > in GDAL1.9, output_ds.GetDescription() = 'NUMPY:::027D64D0' > I use that unique name to instant

[gdal-dev] GDAL2 Python ds.GetDescription() is empty

2019-01-15 Thread Gong, Shawn
Hi list, I am using Python 2.7 In my work, results are displayed like this: imageData = output_ds = gdal_array.OpenArray(imageData) output_ds.GetDescription() RasterLayer(ds=output_ds) in GDAL1.9, output_ds.GetDescription() = 'NUMPY:::027D64D0' I use that unique name to instantiate a raster layer

Re: [gdal-dev] Sentinel-1 mosaiced SLC

2019-01-15 Thread Gong, Shawn
The Interferometric Wide (IW) swath mode: https://sentinel.esa.int/web/sentinel/user-guides/sentinel-1-sar/acquisition-modes/interferometric-wide-swathhttps://sentinel.esa.int/web/sentinel/user-guides/sentinel-1-sar/acquisition-modes/interferometric-wide-swath Only one of three sub-swaths is shown

Re: [gdal-dev] osx compile failure

2019-01-15 Thread Alan Stewart
Disabling SIP makes no difference. Alan Stewart Senior Software Engineer TerraGo Technologies 3200 Windy Hill Road, Suite 1550W Atlanta, GA 30339 USA O. +1 678.391.9615   www.terragotech.com -Original Message- From: Even Rouault Sent: Monday, January 14, 2019 3:38 PM To: Alan Stewart

Re: [gdal-dev] OGRFormatDouble

2019-01-15 Thread Even Rouault
On mardi 15 janvier 2019 11:31:14 CET Andrew Bell wrote: > Hi, > > I'm looking at OGRFormatDouble and trying to understand why it exists, as > such. It seems to impose its own formatting for double-precision values > that is different from what is standardized in the C/C++ languages. Other > tha

Re: [gdal-dev] gdalwarp doesn't use the VSIL curl cache ?

2019-01-15 Thread Even Rouault
On mardi 15 janvier 2019 09:49:53 CET Maxime Riché wrote: > I am developing a tile server for COGTiff. > When I open a dataset, the COGTiff metadata are cached in the curl cache. > The beginning of the file is only downloaded when the first tile is served > (using the same tiff). This is as I was e

[gdal-dev] gdalwarp doesn't use the VSIL curl cache ?

2019-01-15 Thread Maxime Riché
I am developing a tile server for COGTiff. When I open a dataset, the COGTiff metadata are cached in the curl cache. The beginning of the file is only downloaded when the first tile is served (using the same tiff). This is as I was expecting. But when I serve several time the same tile (only this

[gdal-dev] OGRFormatDouble

2019-01-15 Thread Andrew Bell
Hi, I'm looking at OGRFormatDouble and trying to understand why it exists, as such. It seems to impose its own formatting for double-precision values that is different from what is standardized in the C/C++ languages. Other than imposing consistency where there is variability in the standards (s