Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-09 Thread Markus Neteler
Hi, Mateusz Loskot schrieb am Mi., 9. Dez. 2020, 19:38: > On Wed, 9 Dec 2020 at 17:19, Sean Gillies via gdal-dev > wrote: > > > > Hi Mateusz, > > > > The OSGeo sysadmins found something to correct in mailman configuration, > I'm giving that a test here. > > Sean, > > From my perspective, that

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-09 Thread Mateusz Loskot
On Wed, 9 Dec 2020 at 17:19, Sean Gillies via gdal-dev wrote: > > Hi Mateusz, > > The OSGeo sysadmins found something to correct in mailman configuration, I'm > giving that a test here. Sean, >From my perspective, that 'something' does the job and despams your message. Best regards, --

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-09 Thread Sean Gillies via gdal-dev
Hi Mateusz, The OSGeo sysadmins found something to correct in mailman configuration, I'm giving that a test here. On Wed, Dec 9, 2020 at 1:32 AM Mateusz Loskot wrote: > On Tue, 8 Dec 2020 at 23:16, Sean Gillies wrote: > > > > The state of the art for very thin Python bindings for a C++

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-09 Thread Mateusz Loskot
On Tue, 8 Dec 2020 at 23:16, Sean Gillies wrote: > > The state of the art for very thin Python bindings for a C++ project seems to > be pybind11. It's used for numpy's FFT module, based on pocketfft. My observations are similar to that and pybind11 is the currently popular solution. I

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Sean Gillies
Gillies wrote: > > > -- Forwarded message - > From: Brendan Ward > Date: Tue, Dec 8, 2020 at 11:25 AM > Subject: Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python > library? > To: Alex HighViz > Cc: gdal-dev@lists.osgeo.org > >

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Sean Gillies
Hi Alex, I observe more people using pybind11 these days. https://github.com/pybind/pybind11. Yours, On Tue, Dec 8, 2020 at 5:37 AM Alex HighViz wrote: > Hello, > > Could somebody please put me on the right track with the following > problem? > > I have a C++ library that makes use of GDAL

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Brendan Ward
? > > Thanks, Alex > > Get Outlook for Android <https://aka.ms/ghei36> > > -- > *From:* Paul Harwood > *Sent:* Tuesday, December 8, 2020 4:46:07 PM > *To:* Alex HighViz > *Cc:* gdal-dev@lists.osgeo.org > *Subject:* Re: [gdal-dev] H

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Alex HighViz
December 8, 2020 4:46:07 PM To: Alex HighViz Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library? I may have misunderstood but I think you are asking the wrong community. You can take your own C++ library and make it available to a Pytho

Re: [gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Paul Harwood
I may have misunderstood but I think you are asking the wrong community. You can take your own C++ library and make it available to a Python library - see https://docs.python.org/3/extending/extending.html etc - but this is not the community to ask for advice about that. You can, of course,

[gdal-dev] How to wrap a C++ library using GDAL in a Python library?

2020-12-08 Thread Alex HighViz
Hello, Could somebody please put me on the right track with the following problem? I have a C++ library that makes use of GDAL for processing raster maps and I would like to wrap some of its features into a Python library to make it accessible to a wider community. I would like my library to