- Support Home >
- Knowledge Base >
- Technical Articles >
- Article Detail
HowTo: Edit shapefile field names for use in ArcIMS
| Article ID: | 26467 |
|---|---|
| Software: | ArcGIS - ArcInfo 8.3, 9.0, 9.1, 9.2, 9.3 ArcIMS 4.0, 4.0.1, 9.0, 9.1, 9.2, 9.3 |
| Platforms: | N/A |
Summary
A. If field names are lower or mixed-case, ArcIMS Administrator generates a warning:
The ArcIMS Spatial Server can only query shapefiles that have uppercase field names.
One or more field names in 'shapefile_name' are not uppercase and cannot be queried.
Modify the shapefile before using it to perform queries.
B. ArcIMS only reads the first ten characters of the field name. Field names with greater than ten characters can be interpreted as non-unique.
To update the field names use the Export function in ArcGIS ArcCatalog. Follow the Steps below.
Procedure
- For ArcGIS 8.x, in ArcCatalog, right-click on the shapefile. Select Export 'Shapefile to Geodatabase Wizard ...'
In ArcGIS 9.x, follow the same procedure as follows, but select Export > To Geodatabase(single)... - The 'Input shapefile' is already specified. Click Next.
- For 'Output Geodatabase', navigate to either an existing personal Geodatabase or to an existing ArcSDE connection. The remaining parameters on this panel are set by default. Click Next.
-show me- - For the fourth panel 'Use defaults?' select 'Specify Remaining Parameters' then click Next.
-show me-
Click Next on the 'Spatial Index Grid' panel. - In the 'Item to field mapping' panel, update the field names in the 'Corrected Fields' column to be 10 characters or less and uppercase only; edit any that are not. Remove fields that are not needed.
Click Next.-show me- - On the 'Current Spatial Reference' panel, click Next.
- On the 'Summary' panel, click Finish.
- Navigate to the newly created feature class. Right-click on it and select Export, 'Geodatabase to Shapefile ...'.
- For the 'Output shapefile', navigate to an appropriate directory location and give it a name.
- The new shapefile inherits the field names from the feature class. However, if it is a line shapefile, it also inherits the Geodatabase feature class field 'Shape_Leng' field. If it is a polygon shapefile, it contains 'Shape_Leng' and 'Shape_Area'. Note that these new fields have mixed-case names and should be deleted. Therefore, right-click on the shapefile and select Properties. In the Fields tab, select the Shape_Leng field, if it exists, then press the Delete key. Likewise, delete the Shape_Area field if it exists. Click OK.
Related Information
Created: 3/23/2004
Last Modified: 9/2/2008