Versions Compared

Key

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

...

  • Create the polyline shapefile
Software environmentRemarksMethodology
ArcGISRequires 'Advanced' version

Run the ArcGIS ‘Polygon to Polyline’ tool (Toolbox > Data Management Tools > Features > Polygon To Line) with:  "Input Features" = (input polygon shapefile); "Output Feature Class" = (as desired); "Identify and store polygon neighboring information (optional)" selected; and all environment settings set as default.


Sample input parameters:
Image Modified


Sample output:Image Modified

ET GeoWizard free versionLimited to 100 features

Run 'Polygon to Polyline' tool:  Image Modified


Sample input parameters:  Image Modified


Then run the 'Clean Polylines' tool:Image Modified


Sample input parameters:  Image Modified

ET GeoWizards paid versionNot yet evaluated
QGIS

It appears that the QGIS plugin makes polylines around whole polygons, rather than distinct lines between nodes.





The remaining processes are completed in ArcGIS, regardless of whether ArcGIS or ET GeoWizards was used for the creation of the line shapefile.

...

  • 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 Adm0code

Administrative levels 0, 1, and 2

polyline shapefile RIGHT_A0 = polygon shapefile Adm0code

polyline shapefile RIGHT_A1 = polygon shapefile Adm1code

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 Adm2code


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

...