Re: [gdal-dev] scripts/setdevenv.sh

2018-04-05 Thread Ben Elliston
This is handy, thanks, Even!

Ben
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] the '--config' switch is not in synopsis and description of gdaladdo, gdalwarp and gdal_translate manual pages

2018-04-05 Thread bradh
Things with two dashes are general options, which apply to all tools, and are 
described in http://www.gdal.org/gdal_utilities.html

 

Brad

 

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] the '--config' switch is not in synopsis and description of gdaladdo, gdalwarp and gdal_translate manual pages

2018-04-05 Thread Rodrigo Souto
The manual pages of gdaladdo, gdalwarp and gdal_translate have Synopsis and
Description sections, but for some reason the '--config' switch is not
described there. I think since it is part of the command it should be
there, like the other switches.

This happens for online manual pages and from terminal (Linux command man):
http://www.gdal.org/gdalwarp.html
http://www.gdal.org/gdal_translate.html
http://www.gdal.org/gdaladdo.html

It appears in the Examples section only. Is the documentation incomplete or
am I missing something here?

-- 
Att, Rodrigo Souto Maior
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Cloud optimized geotiff (COG) discussions

2018-04-05 Thread Even Rouault
Hi,

For those interested in COG related discussions, a number of actors have 
agreed that a potential forum to discuss that could be:

 https://lists.osgeo.org/pipermail/landsat-pds/

So subscribe if you're interested

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Just want to do simple batch compression...

2018-04-05 Thread jratike80
srygonic wrote
> The issue is that the image turns out to be completely black for me... not
> too sure what I'm doing wrong here. 
> 
> I understand that it might be better to cut up the files but that would
> take
> too long (as there are too many files) and I'm wondering if there is a
> faster solution here to reduce the size before taking that route. 
> 
> Will look into this gdalbuildrvt as well once I'm back at the computer
> tomorrow... any good tutorials for me to start off with?
> 
> Thanks for the assistance and the help Jukka!

Hi,

I had another look at the GAPS_2017-02-23.tif file and I would recommend
that do not waste your time for improving it as one image. It is a 3-band
image of sixe 128478 by 133220 pixels and thus as uncompressed it would make
about 50 gigabytes. The current file size 450 GB is not bad especially
because the image includes a good set of overviews. Image also opens and
works fine with QGIS.

I have no ready made recipe for automatic selection and extracting of areas
which contain data. I guess that I would have a try by vectorizing the
raster files with http://www.gdal.org/gdal_polygonize.html first and build
windows for gdal_translate and -projwin based on the vector data. It could
be interesting as an exercise but probably there should be hundreds of
images before it really saves enough resources for being a good investment.

-Jukka Rahkonen-





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] scripts/setdevenv.sh

2018-04-05 Thread Even Rouault
Hi,

This is something most people doing GDAL development, and not wanting to 
install each time they
build, have probably reinvented by themselves, so now master has a 
scripts/setdevenv.sh that
you can source to define PATH, LD_LIBRARY_PATH, GDAL_DATA and PYTHONPATH to 
point to the
non-installed directories.

Referenced in https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md

Only tested on Linux

$ . scripts/setdevenv.sh 
Setting 
PATH=/home/even/gdal/git/gdal/gdal/apps:/home/even/gdal/git/gdal/gdal/apps/.libs:/home/even/bin:/home/even/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Setting 
LD_LIBRARY_PATH=/home/even/gdal/git/gdal/gdal:/home/even/gdal/git/gdal/gdal/.libs:
Setting GDAL_DATA=/home/even/gdal/git/gdal/gdal/data
Setting 
PYTHONPATH=/home/even/gdal/git/gdal/gdal/swig/python/build/lib.linux-x86_64-2.7:


Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Just want to do simple batch compression...

2018-04-05 Thread srygonic
The issue is that the image turns out to be completely black for me... not
too sure what I'm doing wrong here. 

I understand that it might be better to cut up the files but that would take
too long (as there are too many files) and I'm wondering if there is a
faster solution here to reduce the size before taking that route. 

Will look into this gdalbuildrvt as well once I'm back at the computer
tomorrow... any good tutorials for me to start off with?

Thanks for the assistance and the help Jukka!



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev