[gdal-dev] warp srs: xyz format point cloud

Idan Miara idan at miara.com
Thu Nov 26 08:49:31 PST 2020


Hi all,

I have a UTM raster that I want to warp translate to xyz format and
transform the coordinates to EPSG:4326, I could use:
`gdalwarp -of xyz -t_srs EPSG:4326 utm.tif 4326.xyz`

But surely I get a 4326 grid, so my data points were altered to fit the new
grid.
I could write a function that iterates over the pixels and translates each
point, but is there a more elegant way to transform coordinates without
forcing the target srs grid?

Kind regards,
Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201126/8914c326/attachment.html>


More information about the gdal-dev mailing list