arcgridwrite Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: arcgridwrite.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Andrew Stevens (View more)

arcgridwrite script description:




Publisher review:
arcgridwrite - Write gridded data set in Arc ASCII Grid Format Write gridded data set in Arc ASCII Grid Formatarcgridwrite(fileName,X,Y,Z)- converts data in a matlab grid (as produced by eg. meshgrid and griddata) into a text file in Arc ASCII Grid Format. The file can also be automatically converted to raster on PC's with ARCINFO installed.INPUTSfileName: output filename including extensionX: X coordinates (m x n) Y: Y coordinates (m x n) Z: gridded data (m x n) SYNTAX AND OPTIONSarcgridwrite('D: oolsathyGrid.txt',X,Y,Z)arcgridwrite('D: oolsathyGrid.txt',X,Y,Z,...'precision',5) - changes default floating point output from 3 to 5 decimal places.arcgridwrite('D: oolsathyGrid.txt',X,Y,Z,'convert') -attempts to convert the ASCII text file to raster using the ARCINFO command ASCIIGRID. This option currently only works on a pc with ARCINFO installed. If this fails, try using ARC directly. There are suggestions for how to do this below. EXAMPLE - create a raster grid of the peaks function[X,Y,Z]=peaks(100); arcgridwrite('peaksArc.txt',X,Y,Z,'precision',3,...'convert')NOTES 1) Because the Arc ASCII format has only one parameter for cell size, both X and Y must have the same, non-varying grid spacing. 2) Unfortunately, the .txt produced by this function cannot be read directly into Arc (at least for me). Rather, convert the ASCII format to raster. I provide an option to do this automatically. If the automatic conversion fails , you can convert the .txt file to raster using (in my version) the arctoolbox: ArcToolbox>Conversion>To Raster>ASCII to Raster or use the function ASCIIToRaster from the ArcMap command line. Requirements: ยท MATLAB Release: R2007a
arcgridwrite is a Matlab script for Scientific/Engineering scripts design by Andrew Stevens. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5