Re: [gdal-dev] Help with band pixel functions

2019-06-24 Thread Stephen Woodbridge
Hi Adriana, Here are a few ideas: import numpy as np ima = gdal.Open(filea, 0) banda = ima.GetRasterBand(1) dataa = banda.ReadAsArray() print type(dataa), dataa.shape, isinstance(dataa, np.ma.MaskedArray) imb = gdal.Open(fileb, 0) bandb = imb.GetRasterBand(1) datab = bandb.ReadAsArray() prin

[gdal-dev] Help with band pixel functions

2019-06-24 Thread Adriana Parra
Hello, I have been trying to mosaic two images that partially overlap using band pixel functions in Python. My images contain unsigned integers (uint8) and the no data value is 255. I considered using the nanmean function so that I would get average values in overlapping areas of the two images an

Re: [gdal-dev] [EXTERNAL] Static/Dynamic datum problems

2019-06-24 Thread Cameron Shorter
I'm switching this email thread to p...@lists.osgeo.org (which is where the conversation has moved) On 24/6/19 11:30 pm, Newcomb, Doug wrote: Cameron,  I just emailed  someone working on this .  He sent me the links below. https://www.gps.gov/governance/advisory/ https://www.gps.gov/governanc

[gdal-dev] Problem building GDAL 3.0.0 on VS2015 x64

2019-06-24 Thread Nikita Petrov
Dear all, I have a strange error while building GDAL 3.0.0: C:\OSG\test_osg\build\gdal>if exist *.ilk del *.ilk link /nologo /dll /INCLUDE:OSRValidate /INCLUDE:OGR_G_GetPointCount /INCLUDE:OGRRegisterAll /INCLUDE:GDALSimpleImageWarp /INCLUDE:GDALReprojectImage /INCLUDE:GDALComputeMedianCutPC

Re: [gdal-dev] [EXTERNAL] Static/Dynamic datum problems

2019-06-24 Thread Newcomb, Doug
Cameron, I just emailed someone working on this . He sent me the links below. https://www.gps.gov/governance/advisory/ https://www.gps.gov/governance/advisory/members/higgins/ Doug On Thu, Jun 20, 2019 at 5:15 PM Cameron Shorter wrote: > Hi folks, > > Our Australian spatial data users are

Re: [gdal-dev] backport and conda

2019-06-24 Thread Christoph Paulik
Hi, Basically anybody can open a Pull request against https://github.com/conda-forge/gdal-feedstock for a re-build. But I'm not sure how 3.0.0 and 2.4.x releases at the same time are handled. This is of course for the conda-forge version of gdal. Christoph On Mon, 24 Jun 2019 at 09:20, Even Ro

Re: [gdal-dev] Vagrant build environment

2019-06-24 Thread Even Rouault
Hi Craig, > I sat down to finish off a pull request I started months ago, and realised > that GDAL's vagrant build no longer works. It fails quite early in > provisioning. > > I think this is probably because Ubuntu 14.04 is no longer in upstream Ah, I guess this is a matter of using the followi

Re: [gdal-dev] backport and conda

2019-06-24 Thread Even Rouault
Norman, this is a good question. I've no idea who is in charge of doing GDAL Conda updates... But I guess Conda only packages official releases, and not git HEAD. Even > Hi, > > with the backport bot how often does the GDAL conda release get updated? Is > this something that can be triggered t

[gdal-dev] Vagrant build environment

2019-06-24 Thread Craig de Stigter
Hi folks I sat down to finish off a pull request I started months ago, and realised that GDAL's vagrant build no longer works. It fails quite early in provisioning. I think this is probably because Ubuntu 14.04 is no longer in upstream support, and the ubuntugis PPA has stopped supplying packages