8.14.2013

Removing string character from Field for FIELD CALCULATOR in ArcGIS

Documenting:

I want to remove String character "m" from the ELEVATION contour shapefile and convert String field to numerical Int or Double to get value of contour for geoprocessing.

In ArcGIS 10.1,

> create a new field containing length of string  : "LEN" 
     > calculate using Feild Calculator String Function len( )
         > len ( ELEVATION)

> Double field ELEV can be calculated

     > Left( [ELEVATION], [len]-1 )

No comments:

Post a Comment