Re: [gdal-dev] gdalWarp generates a black image when I use the outputBounds option

2020-02-17 Thread gustavorsantos
Hello, I think i found the erro, my conversion is not giving the ' - ' signal on the longitude. Thanks for the help! -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://

Re: [gdal-dev] gdalWarp generates a black image when I use the outputBounds option

2020-02-17 Thread jratike80
Hi, Well, based on the errors I tend to do I am pretty sure that the bounds are not OK. Test data can be what ever raster, or you can use gdal_edit and paint your original image into totally red or what ever color you want. But I am sure that you can resolve your problem also by your own with some

Re: [gdal-dev] gdalWarp generates a black image when I use the outputBounds option

2020-02-17 Thread gustavorsantos
I am converting the Tiles Map Service coordinates to the ESPG:3857 projection. I have pretty sure that the tiles coordinates are between the master image's bounds. I use the command line gdalwarp using the -te flag but I have the same output. Sorry, but I am working with private data and I don't

Re: [gdal-dev] gdalWarp generates a black image when I use the outputBounds option

2020-02-17 Thread jratike80
Hi, What I think first is that your output bounds do not hit your source data but with the information that you provide it is impossible to know. Have you considered to use the gdalwarp executable for testing? If you can't make it to work please send a link to some test data. -Jukka Rahkonen-

[gdal-dev] gdalWarp generates a black image when I use the outputBounds option

2020-02-17 Thread gustavorsantos
Hi, I am trying to crop a .tiff image. However, when I use the outputBounds option the output file is not what I was expecting. Here is my fuction code: def warp(t): bounds = t.getMercatorCorners() #calculates the minX, minY, maxX and maxY list(bounds) raster = gdal.Open("img/pre/104

Re: [gdal-dev] Help with CPL_DEBUG

2020-02-17 Thread Mateusz Loskot
On Mon, 17 Feb 2020 at 18:34, Joaquim Manuel Freire Luís wrote: > On Mon, 17 Feb 2020 at 18:05, Joaquim Manuel Freire Luís > wrote: > >> > >> Hi Even, > > > FYI, you have e-mailed the public gdal-dev mailing list. > > Yes, I know but since Even responds all the times ... I took the liberty I ho

Re: [gdal-dev] Help with CPL_DEBUG

2020-02-17 Thread Joaquim Manuel Freire Luís
On Mon, 17 Feb 2020 at 18:05, Joaquim Manuel Freire Luís wrote: >> >> Hi Even, > FYI, you have e-mailed the public gdal-dev mailing list. Yes, I know but since Even responds all the times ... I took the liberty I also read that page, and used "CPL_DEBUG=ON" in my command, but no message was

Re: [gdal-dev] Help with CPL_DEBUG

2020-02-17 Thread Mateusz Loskot
On Mon, 17 Feb 2020 at 18:05, Joaquim Manuel Freire Luís wrote: > > Hi Even, FYI, you have e-mailed the public gdal-dev mailing list. > I have no idea why that might happen and tried to run it with CPL_DEBUG as in > gmt grdgdal lixo.csv -R0/10/0/10 -Gjunk.nc -I0.05 -F"-a nearest -co > CPL_DEBUG

[gdal-dev] Help with CPL_DEBUG

2020-02-17 Thread Joaquim Manuel Freire Luís
Hi Even, We are having a strange failure in one CI test of GMT that calls GDAL. The thing happens at this line https://github.com/GenericMappingTools/gmt/blob/master/src/gmt_gdal_librarified.c#L355 and since bUsageError comes != 0 the error message at https://github.com/GenericMappingTools/gmt/b

Re: [gdal-dev] Docker images

2020-02-17 Thread Stéphane Brunner
Hello, Le ven. 14 févr. 2020 à 21:50, Even Rouault a écrit : > Stéphane, > > > - How is the security is managed in those Docker images? > > Basically those images are built by a nightly cron job on my machine, and > I > don't think I've docker pull'ed the base Ubuntu image in recent times, so >