Description of Way Boundary Files (v1.0)


The Way data team has created several boundary files that can be used for both testing purposes and in the final product.

These boundary files are simple ASCII text files. Each file contains one or more components.

Each component begins with a line that contains a description of the component and ends with a line containing the string "END". Each description contains four fields (that are tab-delimited), the keyword "Type:", the type of the component, the keyword "ID:", and the identifier (which is not necessarily unique) of the component.

For example, the following is a simple component:

Type:	Polygon	ID:	Washington01
	-0.122715386336304E+03	 0.487485426692278E+02
	-0.122611554920771E+03	 0.486508989342796E+02
	-0.122718833000000E+03	 0.487168180000000E+02
	-0.122715386336304E+03	 0.487485426692278E+02
END
  
Comments have a type of "Comment". Comments have no line between the description and the "END".
Piecewise linear curves have a type of "PiecewiseLinearCurve". There will be 2 or more lines between the description and the "END". Each of these lines contains the longitude and latitude (tab delimited) of the breakpoints that define the curve.
Polygons have a type of "Polygon". There will be 2 or more lines between the description and the "END". Each of these lines contains the longitude and latitude (tab delimited) of the vertices that define the polygon. The first and last of these points will always be the same.

Copyright 2007