[gdal-dev] OSGeo.OGR.Geometry: Union the mutiple geometries at a time

2021-03-17 Thread MRRAJESH
Developers, We came to know that OSGeo.OGR.Geometry is having the *Union *method which allows to the union of the two geometries (code snippet below). But this allows us one by one. How to union the multiple geometries (say 1000 geometries) at a time? Any methods or libraries in GDAL?

Re: [gdal-dev] What is lost when converting 12 bit imagery to 8 bit?

2021-03-17 Thread Frank Warmerdam
Patrick, FWIW, Rob's post is on the process he uses in Photoshop to prepare images for various venues. For imagery published through the platform we (Planet) do not use per-image white-point and black-point (or we would not have day to day, and scene to scene consistency). We do apply color

Re: [gdal-dev] What is lost when converting 12 bit imagery to 8 bit?

2021-03-17 Thread Patrick Young
I would guess you usually see 8bit RGB images because that is what your monitor can display. What is lost is a deeper question, per channel you have to squeeze the original [0 - 4095] pixel value range per channel down to [0 -255], and there are lots of ways to do it. The problem is sometimes

[gdal-dev] What is lost when converting 12 bit imagery to 8 bit?

2021-03-17 Thread Matt.Wilkie
SPOT 6/7 satellite imagery is captured with a dynamic range of 12 bits per pixel per channel (ref). However almost all of the SPOT imagery I have seen in use has been 8 bits per channel, and split into RGB natural colour (Bands-321) and Near-infrared-RG false