Re: [gdal-dev] Accessing ArcGIS Rest service troubles

2013-08-27 Thread Pavel Iacovlev
Thank you, and sorry for not reading the docs more carefully. On Tue, Aug 27, 2013 at 9:43 PM, Even Rouault wrote: > Le mardi 27 août 2013 11:19:57, Pavel Iacovlev a écrit : >> Hello, >> >> I get a segmentation fault when I try to access data from an ArcGIS >> Rest service: >> OS: Ubuntu 12.04 >>

Re: [gdal-dev] Accessing ArcGIS Rest service troubles

2013-08-27 Thread Even Rouault
Le mardi 27 août 2013 11:19:57, Pavel Iacovlev a écrit : > Hello, > > I get a segmentation fault when I try to access data from an ArcGIS > Rest service: > OS: Ubuntu 12.04 > GDAL: GDAL 1.9.2, released 2012/10/08 > GDB: > Starting program: /usr/bin/gdalinfo > "http://geoportal.ancpi.ro/cachegis/re

Re: [gdal-dev] problems with compilation in vs2012

2013-08-27 Thread Darrel Maddy
OK I solved it. I added ws2_32.lib to the libs in the linker. Sorry I should have been able to find this earlier, albeit I do not know why I suddenly have to start adding these – I guess something that VS2012 does differently. Anyhow thanks for your help. Darrel From: gdal-dev-boun...@lists.o

[gdal-dev] how to aggregate an image to a lower resolution using gdal (gdalwarp?)

2013-08-27 Thread Verbesselt, Jan
Hi all, I have been testing gdalwarp to aggregate (using -r average) an image. In order to better understand what is happening I have created a reproducible example within an R environment and compared it with the aggregate function of the R raster package (see below). There are some differences b

Re: [gdal-dev] problems with compilation in vs2012

2013-08-27 Thread Darrel Maddy
Hi Tamas, Thanks that helped ( although I have never had to add that before?) but I am still left with 1> All outputs are up-to-date. 1>Link: 1> Creating library E:\vs2012 projects\iwaveVS\x64\Release\iwaveVS.lib and object E:\vs2012 projects\iwaveVS\x64\Release\iwaveVS.exp 1>gdal.lib(gdal

Re: [gdal-dev] problems with compilation in vs2012

2013-08-27 Thread Tamas Szekeres
Darrel, Looks like the winsock library should also be included as an input for the linker of your app. (ie. wsock32.lib). Best regards, Tamas 2013/8/27 Darrel Maddy > Hi all, > > ** ** > > I’m not entirely sure what I can do next. > > ** ** > > We use gdal to input and output grid

[gdal-dev] problems with compilation in vs2012

2013-08-27 Thread Darrel Maddy
Hi all, I'm not entirely sure what I can do next. We use gdal to input and output grids from our Landscape Evolution Model. Everything is working fine under linux but we are trying to develop cross-platform. I downloaded the gdal-1.10.0 zip and altered the #win64 element of the options file a

[gdal-dev] Accessing ArcGIS Rest service troubles

2013-08-27 Thread Pavel Iacovlev
Hello, I get a segmentation fault when I try to access data from an ArcGIS Rest service: OS: Ubuntu 12.04 GDAL: GDAL 1.9.2, released 2012/10/08 GDB: Starting program: /usr/bin/gdalinfo "http://geoportal.ancpi.ro/cachegis/rest/services/ImobileStereoPublic/MapServer?f=json&pretty=true"; [Thread debu

Re: [gdal-dev] Geotransform - rotation and translation

2013-08-27 Thread Jan Hartmann
The only way would be then to concatenate the transformations: first rotate and then translate half a pixel width. The computation can be simplified by matrix multiplication: http://www.mathplanet.com/education/geometry/transformations/transformation-using-matrices Jan That won't work, since i

Re: [gdal-dev] Geotransform - rotation and translation

2013-08-27 Thread Oyvind Idland
That won't work, since it will move the corner point half a cell, and then rotate around the new corner. - Øyvind On Mon, Aug 26, 2013 at 7:02 PM, Norman Vine wrote: > > On Aug 26, 2013, at 12:50 PM, Oyvind Idland > wrote: > > I am currently working on a driver for a proprietary format, which