Re: [gdal-dev] OGR drivers written in Python

2018-11-12 Thread deduikertjes
Even, I think your 'toy' is a real gem which deserves to live (if only as something flagged 'experimental'). AFAIK this would be the only option for GDAL users to extend GDAL on run time. Confining this technique to run time only extensions IMHO addresses the main concerns in the discussion. Ma

Re: [gdal-dev] OGR drivers written in Python

2018-11-12 Thread Even Rouault
On lundi 12 novembre 2018 01:48:03 CET deduikertjes wrote: > I'd love to have the possibility to add drivers to GDAl using Python. > > Use case for me is all those services/ datasets containing useful geo > data but adhere to no standard. Being able to create a driver quickly to get > it in QGIS o

Re: [gdal-dev] OGR drivers written in Python

2018-11-12 Thread deduikertjes
I'd love to have the possibility to add drivers to GDAl using Python. Use case for me is all those services/ datasets containing useful geo data but adhere to no standard. Being able to create a driver quickly to get it in QGIS or an ETL proces is really useful. Did this proposal ever make it to

Re: [gdal-dev] OGR drivers written in Python

2017-04-27 Thread Stefan Keller
Hi Even and Sean Allowing OGR drivers written in Python looks IMHO very promising! I actually can't follow Seans concerns (except for one, see below): Is it the fear that Python programmers step in who are less skilled? There is quite some experience with QGIS plugins and yes, there are many disf

Re: [gdal-dev] OGR drivers written in Python

2017-04-27 Thread Even Rouault
Sean, > > The sketch of the Python interface for drivers looks fine to me. Some of > the function signatures could be more Pythonic, but these are not going to > be called from Python code (correct?), Yes, this is driver code that is mostly dedicated to be called from GDAL core itself. That co

Re: [gdal-dev] OGR drivers written in Python

2017-04-27 Thread Sean Gillies
Hi Even, On Wed, Apr 26, 2017 at 8:32 PM, Even Rouault wrote: > Hi, > > > > I've experimented lately with an infrastructure to write drivers in Python > : > > https://github.com/rouault/gdal2/tree/pythondrivers > > > > This is a further step to the GDAL 2.2 new capability of writing pixel > > fu

[gdal-dev] OGR drivers written in Python

2017-04-26 Thread Even Rouault
Hi, I've experimented lately with an infrastructure to write drivers in Python : https://github.com/rouault/gdal2/tree/pythondrivers This is a further step to the GDAL 2.2 new capability of writing pixel functions in Python in VRT files. For now, only read-only vector capabilities are supported.