Please add better support for XYZ elevation data.
Sample files can be found here: Digitales Geländemodell
It is not possible to drag-and-drop the files in ArcGIS Pro:
It is necessary to create a folder connection to where the XYZ file is located and add the data from within ArcGIS Pro.
Now it is possible to drag and drop the data from the catalog or add it to the map:
Please add support for XYZ data to be used directly as Elevation Data in ArcGIS Pro.
Currently we have to export it to Raster before we can use it as elevation source.
It is already correctly rendered in the Map View, so why can´t we use it as elevation?
(I tried it and it did not work)
(ArcGIS Pro 3.5)
If they are proper XYZ files I run them through this batch script.
Getting easy native support will earn a dev a cookie.
set gdal_translate="C:\anotherdesktopgiswithgdal\gdal_translate.exe"
set "src_dir=C:\XYZ"
set "dst_dir=C:\XYZ_tif"
for %%f in ("%src_dir%\*.xyz") do (
set "src_file=%%~nxf"
set "dst_file=!src_file:.xyz=.tif!"
%gdal_translate% -if XYZ -of GTiff "%src_dir%\!src_file!" "%dst_dir%\!dst_file!"
)
gdal_translate -if INPUTTYPE -of GTiff Source Destination
I'm sure with GDAL you can make it much more advanced but this takes seconds for the large-ish files I get and then I run them through a batch clip GP and assign coordsys etc in Pro so I get what I want in the final FGDB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.