Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Administrative levels in boundary polygon shapefileRequired calculations
Administrative level 0
Administrative levels 0 and 1

polyline shapefile LEFT_A0 = polygon shapefile Adm0code

polyline shapefile LEFT_A1 = polygon shapefile Adm1code

Administrative levels 0, 1, and 2

polyline shapefile LEFT_A0 = polygon shapefile Adm0code

polyline shapefile LEFT_A1 = polygon shapefile Adm1code

polyline shapefile LEFT_A2 = polygon shapefile Adm2code

Administrative levels 0, 1, 2, and 3

polyline shapefile LEFT_A0 = polygon shapefile Adm0code

polyline shapefile LEFT_A1 = polygon shapefile Adm1code

polyline shapefile LEFT_A2 = polygon shapefile Adm2code

polyline shapefile LEFT_A3 = polygon shapefile Adm3code


  • Close the attribute table, remove the join, and establish a new join basing on RIGHT_FID.  Anticipate all records matching.
  • This time there should be no need to make a definition query, as there should be no null values.
  • Open the output polyline shapefile attribute table.
  • Use the Field Calculator to calculate all the RIGHT_Ax values (for the RIGHT_Ax fileds recently added to the polyline shapefile ) equal to the coresponding administrative levels of the polygon shapefile.
  • Create a definition query to select the line segments with different LEFT_A0 and RIGHT_A0 attributes.

  • Administrative levels in boundary polygon shapefile

    Required calculations

    Administrative level 0
    Administrative levels 0 and 1

    polyline shapefile RIGHT_A0 = polygon shapefile Adm0codepolyline shapefile RIGHT_A1 = polygon shapefile Adm1code

    Administrative levels 0, 1, and 2

    polyline shapefile RIGHT_A0 = polygon shapefile Adm0code

    polyline shapefile RIGHT_A1 = polygon shapefile Adm1code

    polyline shapefile RIGHT_A2 = polygon shapefile Adm2code

    Administrative levels 0, 1, 2, and 3

    polyline shapefile RIGHT_A0 = polygon shapefile Adm0code

    polyline shapefile RIGHT_A1 = polygon shapefile Adm1code

    polyline shapefile RIGHT_A2 = polygon shapefile Adm2codepolyline shapefile RIGHT_A3 = polygon shapefile Adm3code


[IF THIS DOES NOT WORK, ENTER ' "LEFT_A0" IS NULL']

  • Open attribute table and calculate AdminLevel = 0
  • Open (Unless the Adm0 lines are all shoreline or all international boundary ... IN WHICH CASE....) open an editing session for the line shapefile.
  • Manually select line segments that represent shorelines (splitting line segments where an international border meets the water).  It may be useful to add a world country layer or neighboring country layers.

...