Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-25 Thread Simon Richard Proud
_ Fra: Even Rouault [even.roua...@mines-paris.org] Sendt: 24. januar 2014 16:17 Til: gdal-dev@lists.osgeo.org Cc: Simon Richard Proud; Sean Gillies Emne: Re: [gdal-dev] Problem calling gdalwarp from within python script Le vendredi 24 janvier 2014 21:46:50, Simon Richard Proud a écrit : > Does any

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-24 Thread Even Rouault
inal and from Python ? > > Thanks, > Simon > > > Fra: gdal-dev-boun...@lists.osgeo.org [gdal-dev-boun...@lists.osgeo.org] > på vegne af Sean Gillies [s...@mapbox.com] Sendt: 20. januar 2014 > 11:56 > Til: gdal-dev@lists.osgeo.org >

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-24 Thread Simon Richard Proud
Emne: Re: [gdal-dev] Problem calling gdalwarp from within python script On 1/20/14, 1:57 AM, Even Rouault wrote: > Selon Simon Richard Proud : > >> Hi, >> Unfortunately that produces a file not found error with filename "65535". If >> I remove both arguments "-s

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-20 Thread Pietro Zambelli
On Sunday 19 Jan 2014 14:27:49 Simon Proud wrote: > Hi, > I wish to call gdalwarp from within a python script but I cannot get > it to work. > > The command I wish to run is: > > gdalwarp -q -multi -r cubicspline -t_srs '+proj=geos +lon_0=0.0 > +h=35785831' -te -5568748.2758 -5568748.4774 5568748

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-20 Thread Sean Gillies
On 1/20/14, 1:57 AM, Even Rouault wrote: Selon Simon Richard Proud : Hi, Unfortunately that produces a file not found error with filename "65535". If I remove both arguments "-srcnodata" and "65535" then I go back to getting the usage guidelines. You need to separate also the numerical values

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-20 Thread Even Rouault
.2758','-tr', '3000.40316582', '3000.40316582', '-srcnodata', '65535','TEST.tiff', 'TEST2.tiff'] > > /Simon > ____ > Fra: Kurt Schwehr [schw...@gmail.com] > Sendt: 19. ja

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Simon Richard Proud
] Sendt: 19. januar 2014 19:00 Til: Simon Richard Proud Cc: gdal-dev@lists.osgeo.org dev Emne: Re: [gdal-dev] Problem calling gdalwarp from within python script have not tested this, but I would guess something like this... ['gdalwarp','-q','-multi','-r

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Kurt Schwehr
ck with that either. > > /Simon > ________________ > Fra: Kurt Schwehr [schw...@gmail.com] > Sendt: 19. januar 2014 18:05 > Til: Simon Richard Proud > Cc: gdal-dev@lists.osgeo.org dev > Emne: Re: [gdal-dev] Problem calling gdalwarp from within python script > &

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Simon Richard Proud
along with the proj details - no luck with that either. /Simon Fra: Kurt Schwehr [schw...@gmail.com] Sendt: 19. januar 2014 18:05 Til: Simon Richard Proud Cc: gdal-dev@lists.osgeo.org dev Emne: Re: [gdal-dev] Problem calling gdalwarp from within p

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Kurt Schwehr
ST2.tiff"]) > > But still receive just the usage instructions, I can't see any other > arguments that can be divided into an element. Setting the "shell=True" > option also has no effect. > > /Simon > > ________________ >

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Simon Richard Proud
ect. /Simon Fra: Kurt Schwehr [schw...@gmail.com] Sendt: 19. januar 2014 17:47 Til: Simon Richard Proud Cc: gdal-dev@lists.osgeo.org dev Emne: Re: [gdal-dev] Problem calling gdalwarp from within python script try > subprocess.call(["gdalwarp&

Re: [gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Kurt Schwehr
try > subprocess.call(["gdalwarp", "-q", "-multi", ... "TEST2.tiff"]) Each arg must be an element in the list. -kurt On Jan 19, 2014, at 2:27 PM, Simon Proud wrote: > Hi, > I wish to call gdalwarp from within a python script but I cannot get it to > work. > > The command I wish to run

[gdal-dev] Problem calling gdalwarp from within python script

2014-01-19 Thread Simon Proud
Hi, I wish to call gdalwarp from within a python script but I cannot get it to work. The command I wish to run is: gdalwarp -q -multi -r cubicspline -t_srs '+proj=geos +lon_0=0.0 +h=35785831' -te -5568748.2758 -5568748.4774 5568748.2758 5568748.2758 -tr 3000.40316582 3000.40316582 -srcnodata 6553