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

2021-02-05 Thread Pteroglossus via gdal-dev
Regarding the compilation of GRASS: pointing to my existing install of GDAL prior the compiling process did not work. So I followed Richard's advice and restarted the whole process of compiling GDAL, without the --prefix, then configured and compiled GRASS, and it worked! I mean I was able to

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

2021-02-05 Thread Pteroglossus via gdal-dev
Hi Lars, thanks you for the link. I was able to reduce the file's size to 1.2 GB. I should have reread Richard's early messages, he did mention JPEG compression and YCBCR colors. I used: k@k-GS60-6QE:~$ gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES

Re: [gdal-dev] gdalbuildvrt files not recognized

2021-02-05 Thread Jean-Roc Morreale (ml)
Yep, it is easier to build your process with a listing step that you'll feed to gdalbuildvrt. For example, on our win10 env it works with tamas' gisinternal build with cmd but not with the conda build and cmd :) Le vendredi 05 février 2021 à 08:58 -0700, Richard Greenwood a écrit : > I think that

Re: [gdal-dev] gdalbuildvrt files not recognized

2021-02-05 Thread Richard Greenwood
I think that wildcard expansion has been an on and off problem with some of the GDAL utilities on Windows. If you Google "gdalbuildvrt wildcard expansion" you'll find at least three tickets, the most recent of which is: https://github.com/OSGeo/gdal/issues/1749 I think the safest and easiest is to

Re: [gdal-dev] Problems with ArcGIS image server and WMS minidriver

2021-02-05 Thread Rahkonen Jukka (MML)
Hi, Got it by having a look at https://github.com/OSGeo/gdal/blob/master/gdal/frmts/wms/minidriver_arcgis_server.cpp // Assume map service if exportImage is not explicitly requested. I just had to edit the server url in my XML file into this

[gdal-dev] Problems with ArcGIS image server and WMS minidriver

2021-02-05 Thread Rahkonen Jukka (MML)
Hi, I almost managed to read data from this URL but not quite https://image.discomap.eea.europa.eu/arcgis/rest/services/GioLand/HRIM_HR_TrueColour_2018/ImageServer/exportImage?f=image=-3493783.68885884%2C3191895.64564654%2C5001886.25692533%2C11496874.31511627=512%2C512=3857=3857=png8==false= The

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

2021-02-05 Thread Karsten Tebling
Hello, i'm struggling with how to use the -ct option in ogr2ogr and could need some help. i copied a NTv2.gsb to osgeo4w64/share/proj and edited the proj.db by inserting a new row in the grid_transformation-table. using this transformation in qgis works. however when i try to use it in

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Rahkonen Jukka (MML)
Hi, I think I would rename the columns and drop tables with other tools then, or create the database right from the beginning. If you write fgb you probably has some ESRI programs available. I guess you have already considered to switch to GeoPackage but you have some reason for not doing so.

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Jan Heckman
However, ogrinfo does no better. It refuses to rename a table (filegdb) and crashes on drop table. Jan On Fri, Feb 5, 2021 at 11:43 AM jratike80 < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. > An example: > > ogrinfo

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Jan Heckman
Hi Jukka, Shame on me. Had just found out. thanks, Jan On Fri, Feb 5, 2021 at 11:43 AM jratike80 < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. > An example: > > ogrinfo -sql "alter table point_p rename column test to

Re: [gdal-dev] gdalbuildvrt files not recognized

2021-02-05 Thread Mateusz Loskot
On Thu, 4 Feb 2021 at 23:22, Simon Shak wrote: > > However, your suggestion to check the filelist.txt file has found the error. > Somehow a trailing space was before the CRLF and caused it to not recognize > the file. There also could be an issue if there are spaces in file names. I don't

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread jratike80
Hi, SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. An example: ogrinfo -sql "alter table point_p rename column test to foo" point.gpkg -dialect sqlite -Jukka Rahkonen- janhec wrote > Dear list, > > About the filegdb driver > Attempting: > ogr2ogr -f FILEGDB test.gdb