Re: [gdal-dev] help with (docker) build workflow

2023-02-19 Thread Michael Sumner
Ah, awesome - thanks Even and Daniel, both very helpful. Cheers, Mike On Mon, Feb 20, 2023 at 5:36 AM Even Rouault wrote: > Michael, > > for your use case, you are only interested in the "builder" image, not the > "runner" one. > > So just build it with something like: docker build . --target

Re: [gdal-dev] help with (docker) build workflow

2023-02-19 Thread Even Rouault
Michael, for your use case, you are only interested in the "builder" image, not the "runner" one. So just build it with something like: docker build . --target builder -t whatever_tag_name_you_want Even Le 19/02/2023 à 19:08, Michael Sumner a écrit : I would like to build GDAL in an image

Re: [gdal-dev] help with (docker) build workflow

2023-02-19 Thread Daniel Evans
Hi Michael, The idea of a two-image build like this is explicitly to create a Runner without all the compile dependencies, reducing the amount of baggage that users of the Docker image end up having. That's why it doesn't copy over all the dependencies for compilation, as you note! One of the down

[gdal-dev] help with (docker) build workflow

2023-02-19 Thread Michael Sumner
I would like to build GDAL in an image on the basis of a dockerfile used for CI, I'm confused by the layer process that copies the build outputs for the final steps https://github.com/OSGeo/gdal/blob/master/docker/ubuntu-small/Dockerfile#L231 I want to be able to run that image and then do my own

Re: [gdal-dev] how to export all the definitions of the relationships present in a FileGDB?

2023-02-19 Thread Totò Fiandaca
Great, thanks! Il giorno dom 19 feb 2023 alle ore 14:47 Even Rouault < even.roua...@spatialys.com> ha scritto: > Hi, > > I've just added support for them in ogrinfo: > https://github.com/OSGeo/gdal/pull/7271 > > Even > Le 19/02/2023 à 13:05, Totò Fiandaca a écrit : > > Is it possible to export al

Re: [gdal-dev] how to export all the definitions of the relationships present in a FileGDB?

2023-02-19 Thread Even Rouault
Hi, I've just added support for them in ogrinfo: https://github.com/OSGeo/gdal/pull/7271 Even Le 19/02/2023 à 13:05, Totò Fiandaca a écrit : Is it possible to export all the relationship definitions present in a FileGDB or a GPKG? with $ ogrinfo -json autotest/ogr/data/filegdb/Domains.gdb

Re: [gdal-dev] how to export all the definitions of the relationships present in a FileGDB?

2023-02-19 Thread Jan Heckman
I seem to remember that the n:m relationships can be retrieved as a table. Look in the TOC. 1:n relationships are not stored in GDB as a table, but as a simple foreign key relationship as far as I remember. If you were import an n:m relationship(table) into say postgresql, you would then have to ad

[gdal-dev] how to export all the definitions of the relationships present in a FileGDB?

2023-02-19 Thread Totò Fiandaca
Is it possible to export all the relationship definitions present in a FileGDB or a GPKG? with $ ogrinfo -json autotest/ogr/data/filegdb/Domains.gdb I can extract all the domains, but for the relationships? A thousand thanks -- *Ing. Salvatore Fiandaca* *mobile*.:+39 327.493.8955 *m*: *pigrecoi