Re: [gdal-dev] strange error

2013-01-28 Thread Jukka Rahkonen
Terry Rankine csiro.au> writes: > > Hi Guys > > I miss-spelt an arguement (-dstnodat - its missing the a off the end) and > the command line arg processing was not informative about the error, kept > telling me I had the wrong type of resampling. What you see is just a general help screen and

[gdal-dev] strange error

2013-01-28 Thread Terry Rankine
Hi Guys I miss-spelt an arguement (-dstnodat - its missing the a off the end) and the command line arg processing was not informative about the error, kept telling me I had the wrong type of resampling. -bash-3.2$ gdalwarp --version GDAL 1.9.2, released 2012/10/08 -bash-3.2$ gdalwarp -of ERS -s

[gdal-dev] onestep vs twostep reproject and change format

2013-01-28 Thread Terry Rankine
Hi Guys I have an ERS (ermapper) dataset I want to reproject into wsg84 and then change the file format to netcdf4. I am using GDAL 1.9.2 linked against netcdf 4.1.3 I get different results using the following. One step: * gdalwarp /projects/r17/GA/GSQ_P1247tmig.ers -s_srs "+proj=latlong +datum=

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Did you define POPPLER_0_20_OR_LATER=YES and POPPLER_BASE_STREAM_HAS_TWO_ARGS = YES and POPPLER_HAS_OPTCONTENT = YES ? I admit that the config process is a bit painfull and stupid. Hm, I thought the POPPLER_0_23_OR_LATER=YES would deprecate the POPPLER_0_20_OR_LATER=YES so had this last one

Re: [gdal-dev] char **papszOptions NULL terminated?

2013-01-28 Thread Frank Warmerdam
Simon, You are correct - it must be null terminated as with the many other uses of lists of strings in GDAL/OGR. Best regards, Frank On Mon, Jan 28, 2013 at 7:01 AM, Simon Lyngby Kokkendorff wrote: > Hi List, > > I guess that a list of creation options (key=value pairs as a char** ) is > supp

Re: [gdal-dev] out-db postgis raster issue

2013-01-28 Thread AndyT
Hi, Just wondering if anyone had any thoughts on my issue loading out-db / filesystem stored rasters from PostGIS. I began to wonder if the data had loaded correctly but came across the following psql method to get a basic image out and it is fine: postgis20test=# SELECT oid, lowrite(lo_open(oid

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
On 28-01-2013 16:22, Even Rouault wrote: Selon Joaquim Luis: Thanks Even I have a fresh gdal but since I use a nmake.local file, I hadn't noticed the new POPPLER_0_23_OR_LATER=YES Unfortunately, with it declared I still get one error: pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::star

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Even Rouault
Selon Joaquim Luis : > Thanks Even > > I have a fresh gdal but since I use a nmake.local file, I hadn't noticed > the new POPPLER_0_23_OR_LATER=YES > Unfortunately, with it declared I still get one error: > > pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::startDoc' : cannot > convert parame

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Thanks Even I have a fresh gdal but since I use a nmake.local file, I hadn't noticed the new POPPLER_0_23_OR_LATER=YES Unfortunately, with it declared I still get one error: pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::startDoc' : cannot convert parameter 1 from 'XRef *' to 'PDFDoc *

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Jeff McKenna
On 13-01-28 11:47 AM, Even Rouault wrote: > > As documented in nmake.opt, adding POPPLER_0_23_OR_LATER=YES in nmake.local > should fix it. Upgrade both your GDAL trunk and poppler git to the latest > versions. Support for the latest poppler git is in the very last revisions of > GDAL trunk. > >

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Even Rouault
Selon Joaquim Luis : > Hi, > > FYI > I tried to build (on Windows) with poppler trunk but got the errors > below, so had to go back to my working 0.20.0 version. > > If wished, I can open a ticket on this issue. As documented in nmake.opt, adding POPPLER_0_23_OR_LATER=YES in nmake.local should fi

[gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Hi, FYI I tried to build (on Windows) with poppler trunk but got the errors below, so had to go back to my working 0.20.0 version. If wished, I can open a ticket on this issue. Joaquim c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getPos': overriding v