- Format of vector file The contour data are ERMapper format vector files (referred to below as 'erv'), with record format for each contour polygon as follows: polygon("label",np,[x1,y1,x2,y2,x3, ...,x1,y1],fill,width,pen,curved,r,g,b,page). A contour file with open-ended contours has format: ...,x1,y1],end,width,pen,reserved,curved,fill,r,g,b,page). where: - for our purposes a comma delimited list consisting of contour level and minimum bounding rectangle (‘MBR’) and so quotes are required. If this field is numeric then quotes are not required. The label is optional. end - end of line style for open-ended lines. Use 0=plain curved - spline condition, 0=straight, 1=curved. For display only. fill - fill style, 0-19 np - number of coordinate values; 4 points need 8 coordinate values page - coordinate reference, 0=image coordinates pen - pen style, 0-23 r,g,b - colour components for red, and blue, 0=255 width - line width in points For example, a single record from a polygon file:
- Format of vector file The contour data are ERMapper format vector files (referred to below as 'erv'), with record format for each contour polygon as follows: polygon("label",np,[x1,y1,x2,y2,x3, ...,x1,y1],fill,width,pen,curved,r,g,b,page). A contour file with open-ended contours has format: ...,x1,y1],end,width,pen,reserved,curved,fill,r,g,b,page). where: - for our purposes a comma delimited list consisting of contour level and minimum bounding rectangle (‘MBR’) and so quotes are required. If this field is numeric then quotes are not required. The label is optional. end - end of line style for open-ended lines. Use 0=plain curved - spline condition, 0=straight, 1=curved. For display only. fill - fill style, 0-19 np - number of coordinate values; 4 points need 8 coordinate values page - coordinate reference, 0=image coordinates pen - pen style, 0-23 r,g,b - colour components for red, and blue, 0=255 width - line width in points For example, a single record from a polygon file:
Rec2014_012.docx