Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Kurt Schwehr
A ping to bring the topic of C++11 back to the front post holidays. Thoughts? On Fri, Dec 23, 2016 at 10:05 AM, Kurt Schwehr wrote: > Hi all, > > I would like to continue the C++11 discussion over the next couple weeks > while many people are on slower development cycles

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Howard Butler
> On Jan 5, 2017, at 9:08 AM, Kurt Schwehr wrote: > > A ping to bring the topic of C++11 back to the front post holidays. > > Thoughts? > > On Fri, Dec 23, 2016 at 10:05 AM, Kurt Schwehr wrote: > Hi all, > > I would like to continue the C++11 discussion

[gdal-dev] Question on block size in the kakadu driver

2017-01-05 Thread Kurt Schwehr
Frank, Even or anyone with experience with jp2k block sizes, Any chance you could comment on the change I proposed here? https://trac.osgeo.org/gdal/ticket/6764 Is it reasonable to change this: if( nRasterXSize >= 2048 ) nBlockXSize = 2048; else nBlockXSize =

Re: [gdal-dev] Question on block size in the kakadu driver

2017-01-05 Thread Even Rouault
On jeudi 5 janvier 2017 07:18:45 CET Kurt Schwehr wrote: > Frank, Even or anyone with experience with jp2k block sizes, > > Any chance you could comment on the change I proposed here? > > https://trac.osgeo.org/gdal/ticket/6764 > > Is it reasonable to change this: > > if( nRasterXSize >=

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Even Rouault
> > What is the list of compilers that GDAL actively and accidentally supports? Currently, at least: GCC >= 4.4 (actually must be 4.1 since this is what ancient mingw uses) clang >= 3.something (3.0 probably) VS >= 2008 ICC 15 probably One aspect is to also consider the various analyzers used.

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Andrew Bell
Why is there a desire to support old compilers for new code? Those that don't want to upgrade compilers can always use existing distributions. On Thu, Jan 5, 2017 at 11:32 AM, Kurt Schwehr wrote: > Even responded while I was trying to write up something, so I'm going to >

Re: [gdal-dev] Question on block size in the kakadu driver

2017-01-05 Thread Kurt Schwehr
Even, Thanks! I'm working on a change that will do: nBlockXSize = std::min(nRasterXSize, 2048); nBlockYSize = std::min(nRasterYSize, 128); Getting a performance monitoring system setup is definitely on my todo list, but sadly still down a ways. On Thu, Jan 5, 2017 at 7:40 AM, Even Rouault

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Kurt Schwehr
Even responded while I was trying to write up something, so I'm going to stop writing and send :) Howard, Thanks for the thoughts. I believe we are thinking along the same lines. All, After time for comments, I plan to write up an RFC for the initial strategy that is explicit about

Re: [gdal-dev] configure: WARNING: unrecognized options: --with-macosx-framework

2017-01-05 Thread Ivan Lucena
Hi Even, Your change fix the warning. Thanks. The other issue I was having is that because on: /frmts/pdf/GNUmakefile LDFLAGS and CPPFLAGS defines libstdc++ while the result setting from ./configure is libc++. I simply change the PDF driver makefile to use libc++ instead of libstdc++

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Jeff McKenna
MS4W builds are moving to VS2015, because PHP 7's requirement for that compiler, but stable releases are done now with VS2012. (I've officially moved away from the old VS2008) -jeff -- Jeff McKenna President Emeritus, OSGeo Foundation http://wiki.osgeo.org/wiki/Jeff_McKenna On 2017-01-05

[gdal-dev] How does OGRFeature::GetFieldAsDouble handle NULL values

2017-01-05 Thread Paul Meems
We're using GDAL v2.1.2 on Windows. We use the GDAL library with MapWinGIS to connect to a PostGIS database. When the PostGIS table has NULL values in integer, numeric or double fields and that data is read the returned values are 0 (zero), which is unexpected by us. We use

Re: [gdal-dev] How does OGRFeature::GetFieldAsDouble handle NULL values

2017-01-05 Thread Paul Meems
Thanks Nyall, Looking at the documentation it seems to be what I'm looking for. Thanks, Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Dutch speaking users. www.mapwindow.nl *The MapWindow