Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Laurențiu Nicola via gdal-dev
Hi, On Sat, Jun 3, 2023, at 19:03, Even Rouault wrote: > Yes the multidim API is probably currently hardly usable outside C, C++ and > Python due to the lack of a few critical typemaps for the other languages. > These are unofficial and much less mature, but the Rust bindings have some basic m

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Even Rouault
Le 03/06/2023 à 18:16, Barry DeZonia a écrit : Ok, thanks. I will consider this for some of my future weekend-playtime-programming days. Yes, I'm a masochist. great, we'd definitely welcome a few ones :-) Are there other typemaps needed that would further strengthen the Java api support? B

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Barry DeZonia
Ok, thanks. I will consider this for some of my future weekend-playtime-programming days. Yes, I'm a masochist. Are there other typemaps needed that would further strengthen the Java api support? On Sat, Jun 3, 2023 at 11:03 AM Even Rouault wrote: > > Le 03/06/2023 à 17:45, Barry DeZonia a écri

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Even Rouault
Le 03/06/2023 à 17:45, Barry DeZonia a écrit : Thanks Even. I might be able to find some time to do the SWIG work depending upon the amount of development time needed. I am a long time developer with experience in Java, C, and C++ (but have not used SWIG before). Is it just a few signatures

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Barry DeZonia
Thanks Even. I might be able to find some time to do the SWIG work depending upon the amount of development time needed. I am a long time developer with experience in Java, C, and C++ (but have not used SWIG before). Is it just a few signatures I need to write or do I need to write full support fo

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Even Rouault
Barry, This method is indeed not available currently in the Java bindings. It is only available currently in the Python bindings (see https://github.com/OSGeo/gdal/blob/master/swig/include/MultiDimensional.i#L159 ) , since it requires writing a specific SWIG typemap for each binding language

Re: [gdal-dev] Java API: how to find dimensions of MDArray

2023-06-03 Thread Barry DeZonia
On a related note is the Java api code in a public repo somewhere? It would be helpful to look at that code sometimes. (Like is GetDimensions() present in the Java code but not exposed as a public method?) On Sat, Jun 3, 2023 at 12:18 AM Barry DeZonia wrote: > Hi all, > > I have access to an MDA