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

2021-03-18 Thread MRRAJESH
Thanks Even. Whether this algorithm internally use Convex Hull or Concave Hull? How to get Concave Hull-based union geometry using GDAL? Are these functionalities (ogr.CreateGeometryFromWkt..) available with C# bindings? Regards, Rajesh -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Paul Harwood
I think the official source for all platform is Conda - and that certainly work and gets gdal 3.2.2 on ubuntu for me. conda install -c conda-forge gdal if you don't have conda - you can install miniconda from here https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html On Th

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Adzorv1
Hey, Yup, tried both sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update and sudo -E add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update Hi, Did you try the following? sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Thomas Gratier
Hi, Did you try the following? sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update Not sure what you tried Regards Thomas Le jeu. 18 mars 2021 à 17:05, Adzorv1 a écrit : > Thanks for the reply, > > Unfortunately when i try to add ubutugis, i always get the same me

Re: [gdal-dev] Converting DEM height values from feet to meter

2021-03-18 Thread Even Rouault
Le 18/03/2021 à 17:06, Evert Etienne (SITEMARK) a écrit : Does one of the 2 options keep more settings of the input file? Such as NoData value, BIGTIFF creation option…? gdal_calc modify the nodata value settings AFAIR. You have to consult its doc. gdal_translate should be fine. But when res

Re: [gdal-dev] Converting DEM height values from feet to meter

2021-03-18 Thread Evert Etienne (SITEMARK)
Does one of the 2 options keep more settings of the input file? Such as NoData value, BIGTIFF creation option…? But indeed, the possibility to use VRT does seem better since then it can be done during tiling. This probably only saves space and not time, correct (due to lack of understanding of

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Adzorv1
Thanks for the reply, Unfortunately when i try to add ubutugis, i always get the same message: Cannot add PPA: 'ppa:~ubuntugis/ubuntu/ubuntugis-unstable'. ERROR: '~ubuntugis' user or team does not exist. i've searched online for solutions such as adding '-E' to the command line, but it hasn't w

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

2021-03-18 Thread Matt.Wilkie
Thank you all. This is good information and helps solidify my thinking: we ask for both. We want to keep getting the processed to 8bit visual imagery as we don’t have the capacity to that in-house for the amount of data we get. However we also want to have 12 bit for those occasions when analys

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Angelos Tzotsos
Hi, Recent GDAL release is available in UbuntuGIS unstable ppa: https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable On 3/18/21 2:48 PM, Adzorv1 wrote: For some time i have been trying to install the latest version of GDAL or anything above 3.1.0 on my ubuntu 20.04 system, unfort

[gdal-dev] SQLite3 Compile Issue With Visual Studio Community 2019

2021-03-18 Thread pwillis
Hello, When compiling gdal-3.2.2 I get an error due to a missing SQLLite3 link library. Downloads from the SQLLite site do not appear to provide, or compile to, a 'sqlite3.lib' file at all. Is there any way to disable the sqlite3 feature in the gdal build? Alternately, where is the 'sqlite2.li

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Thomas Gratier
Hi, First, be sure to "pip3 install -U pip" to get latest pip as got some issues with wheels build because was using outdated pip. In https://pypi.org/project/GDAL/, there is a mention that gdal python bindings have dependencies e.g * libgdal (3.2.2 or greater) and header files (gdal-devel) * nu

[gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Adzorv1
For some time i have been trying to install the latest version of GDAL or anything above 3.1.0 on my ubuntu 20.04 system, unfortunately the version that keeps being installed is 3.0.4 which is outdated for the uses we need. I have followed several online guides but keep hitting the same issue. if

Re: [gdal-dev] Converting DEM height values from feet to meter

2021-03-18 Thread Even Rouault
"gdal_translate -scale 0 1 0 factor in out" could also be used. As a bonus point, this works with VRT as an output if you don't want to materialize the intermediate file. Even Le 18/03/2021 à 12:20, Evert Etienne (SITEMARK) a écrit : For reference, I decided to go for a simple gdal_calc with

Re: [gdal-dev] Converting DEM height values from feet to meter

2021-03-18 Thread Evert Etienne (SITEMARK)
For reference, I decided to go for a simple gdal_calc with `f"--calc=A*{factor}”` > On 12 Mar 2021, at 20:43, Evert Etienne (SITEMARK) > wrote: > > Hello all, > > I was wondering what the best or recommended way was to convert the vertical > unit of a DEM/DSM. I am able to use gdal_translate

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

2021-03-18 Thread Even Rouault
Rajesh, Use geom_collection.UnionCascaded() where geom_collection is a GeometryCollection / MultiPolygon of your many polygons. See https://github.com/OSGeo/gdal/blob/5fcc5dd5995af063065c253387bd9c767aeb8130/autotest/ogr/ogr_geos.py#L336 Even Le 18/03/2021 à 06:01, MRRAJESH a écrit : Develo