⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e00数据格式分析.txt

📁 NALYSIS OF ARC EXPORT FILE FORMAT FOR ARC/INFO
💻 TXT
📖 第 1 页 / 共 5 页
字号:
                            ANALYSIS                               OF                     ARC EXPORT FILE FORMAT                                                               FOR                      ARC/INFO (REV 6.1.1)                       TABLE OF CONTENTS1    INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . .  12    OVERALL ORGANIZATION. . . . . . . . . . . . . . . . . . .  23    ARC FILE FORMATS. . . . . . . . . . . . . . . . . . . . .  3     3.1  ARC. . . . . . . . . . . . . . . . . . . . . . . . .  4     3.2  CNT. . . . . . . . . . . . . . . . . . . . . . . . .  6     3.3  LAB. . . . . . . . . . . . . . . . . . . . . . . . .  7     3.4  LOG. . . . . . . . . . . . . . . . . . . . . . . . .  8     3.5  PAL. . . . . . . . . . . . . . . . . . . . . . . . .  9     3.6  PRJ. . . . . . . . . . . . . . . . . . . . . . . . . 11     3.7  SIN. . . . . . . . . . . . . . . . . . . . . . . . . 12     3.8  TOL. . . . . . . . . . . . . . . . . . . . . . . . . 134    INFO FILE FORMATS . . . . . . . . . . . . . . . . . . . . 14     4.1  .AAT . . . . . . . . . . . . . . . . . . . . . . . . 15     4.2  .ACODE . . . . . . . . . . . . . . . . . . . . . . . 16     4.3  .BND . . . . . . . . . . . . . . . . . . . . . . . . 17     4.4  .PAT . . . . . . . . . . . . . . . . . . . . . . . . 18     4.5  .PCODE . . . . . . . . . . . . . . . . . . . . . . . 19     4.6  .TIC . . . . . . . . . . . . . . . . . . . . . . . . 205    CONCLUSION. . . . . . . . . . . . . . . . . . . . . . . . 21APPENDIX A:  SAMPLE EXPORT FILE BEFORE TOPOLOGY. . . . . . . . 22APPENDIX B:  SAMPLE EXPORT FILE AFTER POLYGON TOPOLOGY . . . . 24APPENDIX C:  SAMPLE EXPORT FILE AFTER LINE TOPOLOGY. . . . . . 27APPENDIX D:  SAMPLE EXPORT FILE FOR POINT COVERAGE . . . . . . 30APPENDIX E:  SAMPLE EXPORT FILE FOR SINGLE-PRECISION     COVERAGE. . . . . . . . . . . . . . . . . . . . . . . . . 35APPENDIX F:  SAMPLE EXPORT FILE FOR DOUBLE-PRECISION     COVERAGE. . . . . . . . . . . . . . . . . . . . . . . . . 371   INTRODUCTIONNote:  ESRI considers the export/import file format to beproprietary.  As a consequence, the identified format can onlyconstitute a "best guess" and must always be considered astentative and subject to revision, as more is learned.It appears that all ARC/INFO files except user-created lookuptables are exported, including .ACODE and .PCODE.2   OVERALL ORGANIZATIONThe export file begins with a line with three fields.     1-   an initial 'EXP'     2-   what appears to be a constant of '0'     3-   the pathname for the creation of the export fileThe export file ends with a line beginning 'EOS'.The ARC files are included first, in alphabetical order exceptfor the SIN, LOG, and PRJ files which occur last.  Then the INFOfiles are included in alphabetical order.The beginning of each ARC file is indicated by the file name (athree-character identifier) followed by '  2' for single-precision or '  3' for double-precision.  Single-precisioncarries 8 digits, and double-precision carries 15 digits.Each ARC file ends with a line of seven numbers beginning with a-1 and followed by six zeros, except the SIN, LOG, and PRJ fileswhich end in 'EOX', 'EOL', and 'EOP', respectively.  The LAB fileuses a slight variation of this -1 ending line (see below).  Theformat for each ARC file is specific to that type of file.  Theseformats are covered below.The beginning of the INFO file section is indicated by 'IFO  2',and its end is indicated by 'EOI'. The INFO files each begin withthe file name.  For example, the polygon attribute table would be'STDFIG24C.PAT' on a line by itself.  The format is the same forevery INFO file.  This format is given below.3   ARC FILE FORMATSFormats will be given for the most common ARC files:         ARC         CNT         LAB         LOG         PAL         PAR         PRJ         SIN         TOL3.1 ARCThe ARC (arc coordinates and topology) file consists of repeatingsets of arc information.  The first line of each set has sevennumbers:     1.   coverage#     2.   coverage-ID     3.   from node     4.   to node     5.   left polygon     6.   right polygon     7.   number of coordinatesThe subsequent lines of a set are the coordinates with two x-ypairs per line, if the coverage is single-precision.  If thereare an odd number of coordinates, the last line will have onlyone x-y pair.  Double-precision puts one coordinate pair on eachline.An example of an actual ARC section follows:ARC  2         1         2         2         1         1         2         2 3.4029994E+05 4.1001998E+06 3.4009988E+05 4.1002000E+06         2         3         3         2         3         2         2 3.4050000E+05 4.1001998E+06 3.4029994E+05 4.1001998E+06         3         1         1         4         1         2         4 3.4009988E+05 4.1002000E+06 3.4040006E+05 4.1003995E+06 3.4090012E+05 4.1002000E+06 3.4070003E+05 4.1001995E+06         4         4         4         3         4         2         2 3.4070003E+05 4.1001995E+06 3.4050000E+05 4.1001998E+06         5         6         3         4         4         3         3 3.4050000E+05 4.1001998E+06 3.4059997E+05 4.1001002E+06 3.4070003E+05 4.1001995E+06         6         7         4         5         1         3         3 3.4070003E+05 4.1001995E+06 3.4079997E+05 4.1000002E+06 3.4019978E+05 4.1000000E+06         7         5         5         2         1         3         2 3.4019978E+05 4.1000000E+06 3.4029994E+05 4.1001998E+06        -1         0         0         0         0         0         0An example of a double-precision ARC section follows:ARC  3         1         0         0         0         0         0         7 3.40200000000000E+05 4.10000000000000E+06 3.40300000000000E+05 4.10020000000000E+06 3.40500000000000E+05 4.10020000000000E+06 3.40600000000000E+05 4.10010000000000E+06 3.40700000000000E+05 4.10020000000000E+06 3.40800000000000E+05 4.10000000000000E+06 3.40200000000000E+05 4.10000000000000E+06         2         0         0         0         0         0         4 3.40100000000000E+05 4.10020000000000E+06 3.40400000000000E+05 4.10040000000000E+06 3.40900000000000E+05 4.10020000000000E+06 3.40100000000000E+05 4.10020000000000E+06        -1         0         0         0         0         0         03.2 CNTThe CNT (Polygon Centroid Coordinates) file contains the centroidof each polygon in the coverage.  It has sets of centroidinformation with an initial coordinate line and, if there arelabels, one line per label giving the number for the label.  Thecoordinate line has three fields:     1-   number of labels in polygon     2-   centroid x     3-   centroid yAn example of an actual CNT section follows:CNT  2         0 3.4048516E+05 4.1001702E+06         1 3.4046691E+05 4.1002662E+06         1         1 3.4048875E+05 4.1000852E+06         2         0 3.4060000E+05 4.1001665E+06        -1         0         0         0         0         0         03.3 LABThe LAB (label point coordinates and topology) file consists ofrepeating sets of label point information.  The first line ofeach set has four numbers:     1.   coverage-ID     2.   polygon which encloses it     3.   x coordinate     4.   y coordinateThe second and final line of the set gives the label box window. This information is marked as marked as obsolete in the SDLdocumentation.  It currently contains repetitions of the x and ycoordinates.Note that the LAB section ends with a different '-1' line thanthe other files.An example of an actual LAB section follows:LAB  2         1         2 3.4046650E+05 4.1002668E+06 3.4046650E+05 4.1002668E+06 3.4046650E+05 4.1002668E+06         2         3 3.4048869E+05 4.1000852E+06 3.4048869E+05 4.1000852E+06 3.4048869E+05 4.1000852E+06        -1         0 0.0000000E+00 0.0000000E+00An example of a double-precision LAB section follows:LAB  3         1         2 3.40500000000000E+05 4.10006225000000E+06 3.40500000000000E+05 4.10006225000000E+06 3.40500000000000E+05 4.10006225000000E+06         2         3 3.40468812500000E+05 4.10026225000000E+06 3.40468812500000E+05 4.10026225000000E+06 3.40468812500000E+05 4.10026225000000E+06        -1         0 0.00000000000000E+00 0.00000000000000E+003.4 LOGThe LOG (Coverage History) file contains a free form set of linesof indeterminate number which are separated by lines which beginswith a tilde, "~".ARC records many commands and their resource impacts in thisfile.  The standard ARC format for writing in the LOG has ninefields:         Year (I4)         Month (I2)         Day (I2)         Hours (I2)         Minutes (I2)         Connect Time in minutes (I4)         CPU Time in seconds (I6)         I/O Time in seconds (I6)         Command line (A100)However, any information can be added to the LOG file in free-form format.An example of an actual LOG section follows:LOG  219940118 849   0     3    35export cover landli stdfigc none~19940118 850   0     7   190clean landli landlicp # # poly~EOL3.5 PALThe PAL (Polygon Topology) file consists of repeating sets ofpolygon information.  The first line of each set has fivenumbers:     1.   number of arcs in polygon     2.   x min of polygon     3.   y min of polygon     4.   x max of polygon     5.   y max of polygonThe subsequent lines of a set give information on the arcs whichcomprise the polygon.  There are three numbers per arc withinformation for two arcs per line.     1.   the arc number (negative if reversed)     2.   the node number     3.   the polygon numberThe first polygon given is the universal polygon."The PAL file contains the polygon topology for a coverage andmin-max boxes for the polygons.  For each polygon in a coveragethe PAL file has a (usually) clockwise list of the arcs, nodesthat comprise the polygons, as well as the adjacent polygons, anda min-max box.  To keep a continuous list, 'virtual' arcs witharc# of 0 are used to connect to holes (thus forming donuts),which are connected in counter-clockwise order.  The PAL file isa random access, variable record length file, with the lengthdependent on the number of arcs surrounding the polygon (1 to10000).The arc# in the PAL file is the record number of that arc withinthe coverage's ARC file, the node# is the same as the node# inthe arc file at the appropriate end, and the polygon# is therecord number of that polygon within the coverage's PAL file. The PAL file record number for a polygon is the same as the PATfile record number and the CNT file record number."  SDLdocumentation, July 1989, p. 24.An example of an actual PAL section follows:PAL  2         5 3.4009988E+05 4.1000000E+06 3.4090012E+05 4.1003995E+06         0         0         0        -1         1         2        -7         2         3        -6         5         3        -3         4         2         4 3.4009988E+05 4.1001995E+06 3.4090012E+05 4.1003995E+06         1         2         1         3         1         1         4         4         4         2         3         3

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -