Re: [gdal-dev] Instructions for a new writing driver?

2023-07-19 Thread Abel Pau
Thanks Andrew, it worked! Now it compiles and org2org project also compiles. Thanks a lot! -Mensaje original- De: Andrew C Aitchison Enviado el: dimecres, 19 de juliol de 2023 16:48 Para: Abel Pau CC: gdal-dev@lists.osgeo.org Asunto: Re: [gdal-dev] Instructions for a new writing driver

Re: [gdal-dev] GDAL driver plugins on github ?

2023-07-19 Thread Andrew C Aitchison
On Wed, 19 Jul 2023, Even Rouault wrote: Le 19/07/2023 à 16:32, Andrew C Aitchison a écrit : * I have offered another driver as a pull request, but Evan found reviewing my code to be overwhelming. Ah ah, apparently those were my own words, seeing https://github.com/OSGeo/gdal/pull/4092 . We

[gdal-dev] Fwd: [Qgis-psc] European CRA and its implications

2023-07-19 Thread Even Rouault
Hi, FYI: relaying the following exchanges about the topic of the Cyber Resilience Act which is in development in the EU and has strong and worrying implications for all open source software distributed in Europe and/or with European contributors. Cf https://en.wikipedia.org/wiki/Cyber_Resilie

Re: [gdal-dev] gdalinfo on large vrt takes a long time

2023-07-19 Thread Even Rouault
Le 19/07/2023 à 15:47, William Kyngesburye a écrit : macos has lldb, once I figured that out, I got: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x7ff81eefdeb2 libsystem_kernel.dylib`stat$INODE64 + 10 frame #1: 0x00010140c669 GDAL`VSISt

Re: [gdal-dev] reading rat values from GDB raster

2023-07-19 Thread Even Rouault
Le 19/07/2023 à 16:26, William Kyngesburye a écrit : Ah, that works to get the xml rat. I had converted to tif with Arc before I remembered that GDAL can read gdb rasters now, and got a dbf rat. I can trim the xml rat down, but I need to leave the value field so it has some way to lookup a c

Re: [gdal-dev] GDAL driver plugins on github ?

2023-07-19 Thread Even Rouault
Le 19/07/2023 à 16:32, Andrew C Aitchison a écrit : I would like to put a gdal driver on github *as a plugin*. Are there any existing gdal drivers, or other projects that depend upon gdal, already separately in github that I could use as a starting point ? Any other suggestions as how to do th

Re: [gdal-dev] GDAL driver plugins on github ?

2023-07-19 Thread Andrew C Aitchison
On Wed, 19 Jul 2023, Markus Neteler wrote: Andrew, On Wed, Jul 19, 2023 at 4:33 PM Andrew C Aitchison wrote: I would like to put a gdal driver on github *as a plugin*. Are there any existing gdal drivers, or other projects that depend upon gdal, already separately in github that I could use a

Re: [gdal-dev] GDAL driver plugins on github ?

2023-07-19 Thread Markus Neteler
Andrew, On Wed, Jul 19, 2023 at 4:33 PM Andrew C Aitchison wrote: > I would like to put a gdal driver on github *as a plugin*. > Are there any existing gdal drivers, or other projects that > depend upon gdal, already separately in github that I could > use as a starting point ? You may take a lo

Re: [gdal-dev] Instructions for a new writing driver?

2023-07-19 Thread Andrew C Aitchison
On Wed, 19 Jul 2023, Abel Pau wrote: Hi, finally I’ve discovered that the file mmwrlayr.c have to be included as cpp (internally is a C) but the extension is a cpp file. I don’t understand why so the questions remains open. In shape driver I see .c and all works but I don’t understand the diff

[gdal-dev] GDAL driver plugins on github ?

2023-07-19 Thread Andrew C Aitchison
I would like to put a gdal driver on github *as a plugin*. Are there any existing gdal drivers, or other projects that depend upon gdal, already separately in github that I could use as a starting point ? Any other suggestions as how to do this would be welcomed, bearing in mind that if mine is

Re: [gdal-dev] reading rat values from GDB raster

2023-07-19 Thread William Kyngesburye
Ah, that works to get the xml rat. I had converted to tif with Arc before I remembered that GDAL can read gdb rasters now, and got a dbf rat. I can trim the xml rat down, but I need to leave the value field so it has some way to lookup a cell value in the rat, but identifying a cell (QGIS or g

Re: [gdal-dev] Instructions for a new writing driver?

2023-07-19 Thread Abel Pau
Hi, finally I’ve discovered that the file mmwrlayr.c have to be included as cpp (internally is a C) but the extension is a cpp file. I don’t understand why so the questions remains open. In shape driver I see .c and all works but I don’t understand the difference. Thanks! De: Abel Pau Enviado

Re: [gdal-dev] gdalinfo on large vrt takes a long time

2023-07-19 Thread William Kyngesburye
macos has lldb, once I figured that out, I got: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x7ff81eefdeb2 libsystem_kernel.dylib`stat$INODE64 + 10 frame #1: 0x00010140c669 GDAL`VSIStatExL + 96 frame #2: 0x00010164 GDAL`VRTSimple

[gdal-dev] Multiple processing options related to Cloud Masking in one VRT

2023-07-19 Thread Marcin Niemyjski via gdal-dev
Hello, What I am trying to do is to generate a VRT file suitable for composing an RGB satellite image along with a cloud mask for that composition. I would like to include the following information in one VRT file : 1. Information about the path to the RGB image file 2. Information about

Re: [gdal-dev] Instructions for a new writing driver?

2023-07-19 Thread Abel Pau
Hi again, I have a .c file in the makefile added as follow: # depends from frmts/aigrid, avc add_gdal_driver( TARGET ogr_MiraMon SOURCES ogrmiramondatasource.cpp ogrmiramondriver.cpp ogrmiramonlayer.cpp mmwrlayr.c BUILTIN) gdal_standard_includes(ogr_MiraMon) target_include_directories(ogr_M