ArcGIS ASCII Raster Converter

This addon is for LandSerf 2.0 only. It has been incorporated into later versions so you should not need download it. It is retained here for users who need to use version 2.0 but would like the extra functionality.

For the latest release please visit www.landserf.org

Utility to convert large ArcGIS ASCII rasters into LandSerf format.

DEM imported from 4000x4000 ArcGIS ASCII file

Background

LandSerf will import ArcGIS format ASCII rasters. However for files with more than 4096 characters in one line (typically corresponding to rasters greater than 800 cells wide), the import process fails. This utility can be used instead to convert large rasters into LandSerf format.

Installation Instructions

To install the ArcGIS ASCII converter download the appropriate file below and uncompress into your LandSerf installation folder (e.g. c:\landserf200). This should create a sub-folder called addons with several files including ArcTextRasterConvert.bat and arcTextRasterConvert.sh.

Running ArcTextRasterConvert

To run ArcTextRasterConvert, open a command prompt in Windows (Start menu->Run...->cmd) and then change to the directory in which the converter is installed (e.g. cd \landserf200\addons) and type ArcTextRasterConvert arcFileName where arcFileName is the ArcGIS ASCII raster file to convert.

Examples

ArcTextRasterConvert c:\data\surface.ascii (Windows)
or
arcTextRasterConvert.sh ~/data/surface.ascii (Unix)

Running the converter will create a new file called surface.srf in the same directory as the original ASCII file.