Raster to XYZ
Version 1.0.0.0 (1.46 KB) by
Joseph Wheaton
Converts an Arc ASCII Raster to a vector point file.
2.1K Downloads
Updated
25 Feb 2008
No License
This script simple reads in an ASCII raster file (in Arc ASCII Format) and then outputs a CSV file in XYZ format with a point (row) for each grid cell.
This is handy for converting gridded DEMs to raw point data.
It is slow because most of the IO part of the code can not be vectorized, but it does the trick.
Cite As
Joseph Wheaton (2024). Raster to XYZ (https://www.mathworks.com/matlabcentral/fileexchange/18894-raster-to-xyz), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Industries > Automotive >
- Aerospace and Defense > Aerospace Blockset > Guidance, Navigation, and Control (GNC) >
- Robotics and Autonomous Systems > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
- Automotive > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
Find more on Automotive in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: ascii2xyz
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |