000439: The schema of the overlay does not match that of the input.

Description

The Update tool requires that the input and update datasets have matching schemas. The schema properties that are relevant and must match in this case are as follows:

  • Fields must be the same (in both name and properties).
  • Geometry must be of the same type (both point, or both polyline, and so forth)
  • Both datasets must have m-values or neither can have m-values.
  • Both datasets must have z-values or neither can have z-values.

Solution

Copy the inputs, modify the copied versions to have matching schemas, and run the Update tool on the copied versions of the inputs.

Follow the steps below to create feature classes with matching schemas. In this example, the two feature classes are named fc1 and fc2.

  1. Choose the feature class with the correct schema. (In this example, it's fc1.)
  2. Run the Create Feature Class tool with the following settings:
    • The output location is the same location as fc1, if possible. If that's not possible, use a file geodatabase as the output location if fc1 is in a geodatabase, or a folder if fc1 is a shapefile.
    • Name it something easy to remember, such as fc2_matching_schemaStep.
    • For the Template Feature Class parameter value, use fc1.
    • For the Coordinate System parameter value, import the spatial reference from fc1.
  3. Run the append tool with fc2 as the input and fc2_matching_schema as the target.

    Evaluate fc2_matching_schema to ensure that all the data (feature geometry and feature attributes) is there. If it is, run the Update tool using fc1 and fc2_matching_schema.