Re: [gdal-dev] writing XYZ file

2013-11-09 Thread denis cohen
Morning, Sorry about this. You are right. It works. My mistake. Thanks a lot for your help. Denis On Sat, Nov 9, 2013 at 11:01 PM, Even Rouault wrote: > Le samedi 09 novembre 2013 21:17:07, denis cohen a écrit : > > Hi, > > > > May be I wasn't clear. The x,y coordi

Re: [gdal-dev] writing XYZ file

2013-11-09 Thread denis cohen
Hi, May be I wasn't clear. The x,y coordinates start from the lower left but not the elevation (z coord). Denis On Sat, Nov 9, 2013 at 9:12 PM, Even Rouault wrote: > Le samedi 09 novembre 2013 20:59:11, denis cohen a écrit : > > Salut, > > > > Almost there, it

Re: [gdal-dev] writing XYZ file

2013-11-09 Thread denis cohen
Salut, Almost there, it looks like the data is not inverted, it still starts from the upper left corner instead of lower left. Thanks Denis On Sat, Nov 9, 2013 at 8:46 PM, Even Rouault wrote: > Le samedi 09 novembre 2013 20:39:50, denis cohen a écrit : > > Hi, > > > >

Re: [gdal-dev] writing XYZ file

2013-11-09 Thread denis cohen
Hi, Thanks for the script. It works fine except for the actual data (elevation in my case, this is a DEM). It does not write the correct values. Merci Denis On Sat, Nov 9, 2013 at 8:02 PM, Even Rouault wrote: > Le samedi 09 novembre 2013 10:46:20, denis cohen a écrit : > > Hello,

[gdal-dev] writing XYZ file

2013-11-09 Thread denis cohen
Hello, I am a new user of gdal. I used gdal_translate to convert a netcdf file to xyz: gdal_translate -of XYZ file.nc file.xyz However, the xyz file starts with the upperleft coordinate. Is it possible to have it write the xyz file starting with the lower left coordinate? Thank you for your help