[gdal-dev] gdalwarp to XYZ grid

Even Rouault even.rouault at mines-paris.org
Wed Jul 3 07:53:37 PDT 2013


Le mercredi 03 juillet 2013 16:17:14, Frank Broniewski a écrit :
> Hi all,
> 
> I'm trying to warp a XYZ Grid to another CRS. My GDAL complains while
> running:
> gdalwarp -t_srs EPSG:3035 -of XYZ /tmp/tmpU7lQR2/in.xyz
> /tmp/tmpU7lQR2/out.xyz
> 
> > Output driver `XYZ' not recognised or does not support
> > direct output file creation.

Yes, XYZ format doesn't support random write access. You need to use an 
intermediary format such as GTiff or HFA for example

gdalwarp -t_srs EPSG:3035  /tmp/tmpU7lQR2/in.xyz temp.tif
gdal_translate  -of XYZ temp.tif /tmp/tmpU7lQR2/out.xyz


-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list