Geospatial Modelling Environment

field.rename (Rename Field)

Renames a field in a table


This tool renames fields in a table. It does this by creating a new field with the desired name, copying values from the old field into the new field, and then deleting the old field. The position of the field therefore changes. The field type of the new field is based on the input field.

This tool will only work with the simple field data types: short and long integers, double precision numbers, strings, etc. If you specify a field that is an object ID field or a geometry field then the tool will return an error message and no renaming will occur.


field.rename(in, field, out);

inthe input table or feature data source
fieldthe name of the field to rename
outthe new field name


field.rename(in=”C:dataplots.shp”, field=”LCOV1999″, out=”LANDCOV99″);


Please consider making a purchase to support the continued development of these tools  Read more...

Tips on how to use this interface efficiently 


Open Source GIS

Copyright © 2001-2014 Hawthorne L. Beyer, Ph.D., Spatial Ecology LLC    Connect on LinkedIn