Re: [gdal-dev] adding a new method to OGRFieldDefn & gdalautotest

2018-11-07 Thread Even Rouault
On mercredi 7 novembre 2018 19:56:10 CET Alan Stewart wrote: > Thanks, Even, I certainly didn't read the file header. After making all your > suggested changes the compiler is erroring on > swig/python/extensions/gdal_wrap.cpp, which I have not touched. > > I notice it is using " Visual C++ for Py

Re: [gdal-dev] adding a new method to OGRFieldDefn & gdalautotest

2018-11-06 Thread Even Rouault
On mardi 6 novembre 2018 21:16:04 CET Alan Stewart wrote: > I'm working in Windows 7 with VS 2017 and Python 2.7.15. > > I've added a new method to this class, and wish to add tests for it to > gdalautotest. I found and added the new method to swig/python/osgeo/ogr.py. > Is there anything else I

[gdal-dev] adding a new method to OGRFieldDefn & gdalautotest

2018-11-06 Thread Alan Stewart
I'm working in Windows 7 with VS 2017 and Python 2.7.15. I've added a new method to this class, and wish to add tests for it to gdalautotest. I found and added the new method to swig/python/osgeo/ogr.py. Is there anything else I need to do to add python support for my new class method? The cur