Re: [gdal-dev] Compiling GDAL with HDF4 support

2021-02-08 Thread Hernán De Angelis
On 2021-02-08 20:22, Markus Metz wrote: Is /usr/local/lib64 known to your system as a path to libraries? Check the env var LD_LIBRARY_PATH or add "/usr/local/lib64" to some file in /etc/ld.so.conf.d/ followed by "ldconfig" as root. You can also set the var LDFLAGS for configure if you have lib

[gdal-dev] Converting KML data with styles to GeoJSON output

2021-02-08 Thread MRRAJESH
Hey, I am trying to convert a kml-file with styles to a GeoJSON. Observed that only data is converted but styles information is missing. How to get the Geojson data along with styles? I have tried with org2ogr. Below is the KML file - http://www.opengis.net/kml/2.2";>Building 41#transBluePoly1re

[gdal-dev] Geometry validation

2021-02-08 Thread Илья Нецветаев
Hello. I have to downgrade my application from gdal 3.1.2 to 2.1.2 built on libGeos 3.5.1. For some reason. So I have to work around the absence of some methods introduced only in later releases. The first thing i met was MakeValid and IsValid. In my application it is used for Polygons. There is tw

[gdal-dev] Alpine Docker build with ODBC support

2021-02-08 Thread andrew.murdoch....@gmail.com
I just want to be sure that I'm on the right track to getting ODBC support into a GDAL docker alpine build. Starting from the Dockerfiles found here: https://github.com/OSGeo/gdal/tree/master/gdal/docker I've attempted to modify the alpine-normal linux Dockerfile to build with ODBC support, but I'

Re: [gdal-dev] Fw: Building GDAL with ECW support

2021-02-08 Thread Pteroglossus via gdal-dev
Hi Markus, Richard, and everyone who helped, You'll be relieved to read that: 1. I finally managed to display my maps both in .ecw and .tif (I figured out the color "problem"...) 2. This is my final message on this thread! :D I realise now that most of my questions pertained more to compiling a

Re: [gdal-dev] how to use the -ct option in ogr2ogr

2021-02-08 Thread Markus Metz
On Mon, Feb 8, 2021 at 10:23 AM Karsten Tebling wrote: > > gdalinfo for NTv2LSBB_LSA.gsb gave the following information: > > Size is 256, 264 > Coordinate System is: EPSG 4326 > Origin: 10.5, 53.1 > SYSTEM_F: S4283 > SYSTEM_T: ETRS89 > Upper Left 10.5, 53.1 > Lower Left 10.5, 50.9 > Upper Right 13

Re: [gdal-dev] Compiling GDAL with HDF4 support

2021-02-08 Thread Markus Metz
Is /usr/local/lib64 known to your system as a path to libraries? Check the env var LD_LIBRARY_PATH or add "/usr/local/lib64" to some file in /etc/ld.so.conf.d/ followed by "ldconfig" as root. You can also set the var LDFLAGS for configure if you have libraries in a nonstandard directory, such as L

Re: [gdal-dev] Fw: Building GDAL with ECW support

2021-02-08 Thread Markus Neteler
On Mon, Feb 8, 2021 at 12:47 PM Pteroglossus via gdal-dev wrote: > > Thank you Markus for the explanation, you were right, I had conflicting > libraries. I "located" every "gdal" files, deleted them all, started over > from scratch and... > > "(Sun Feb 7 22:51:56 2021) > r.in.gdal -f > > ECW (rw

Re: [gdal-dev] Fw: Building GDAL with ECW support

2021-02-08 Thread Pteroglossus via gdal-dev
Thank you Markus for the explanation, you were right, I had conflicting libraries. I "located" every "gdal" files, deleted them all, started over from scratch and... "(Sun Feb 7 22:51:56 2021) r.in.gdal -f ECW (rw+): ERDAS Compressed Wavelets (SDK 5.5) JP2ECW (rw+): ERDAS JPEG2000 (SDK 5.5)" H

Re: [gdal-dev] how to use the -ct option in ogr2ogr

2021-02-08 Thread Karsten Tebling
gdalinfo for NTv2LSBB_LSA.gsb gave the following information: Size is 256, 264 Coordinate System is: EPSG 4326 Origin: 10.5, 53.1 SYSTEM_F: S4283 SYSTEM_T: ETRS89 Upper Left 10.5, 53.1 Lower Left 10.5, 50.9 Upper Right 13.3, 53.1 Lower Right 13.3, 50.9 ogrinfo for punkte_31468.dxf gave the follo

Re: [gdal-dev] Compiling GDAL with HDF4 support

2021-02-08 Thread Hernán De Angelis
On 2021-02-08 10:09, Andrew C Aitchison wrote: On Mon, 8 Feb 2021, Hernán De Angelis wrote: Hi everyone I am trying to compile GDAL 3.2.1 with HDF4 4.2.15. HDF4 is in /usr/local and subdirectories, but GDAL configure (--with-hdf4) complains: checking for SDreaddata in -lmfhdfalt... no che

Re: [gdal-dev] Compiling GDAL with HDF4 support

2021-02-08 Thread Andrew C Aitchison
On Mon, 8 Feb 2021, Hernán De Angelis wrote: Hi everyone I am trying to compile GDAL 3.2.1 with HDF4 4.2.15. HDF4 is in /usr/local and subdirectories, but GDAL configure (--with-hdf4) complains: checking for SDreaddata in -lmfhdfalt... no checking for SDreaddata in -lmfhdf... no checking for

Re: [gdal-dev] Gdal install from source error : undefined reference to `opj_encoder_set_extra_options'

2021-02-08 Thread Sylvain Maffren
I answer to myself (I just realized that my email topic wasn't good). Sylvain-- Le lundi 08 février 2021 à 08:53 +0300, Sylvain Maffren a écrit : > Hello, > I am trying to insatll GDAL manually by compiling from src. Here is > the different versions of the librairies used : > GDAL_VERSION=3.2.1GEOS

[gdal-dev] Compiling GDAL with HDF4 support

2021-02-08 Thread Hernán De Angelis
Hi everyone I am trying to compile GDAL 3.2.1 with HDF4 4.2.15. HDF4 is in /usr/local and subdirectories, but GDAL configure (--with-hdf4) complains: checking for SDreaddata in -lmfhdfalt... no checking for SDreaddata in -lmfhdf... no checking for SDreaddata in -lhdf4... no checking for SDread