ARCINFO Format

The Spring import and export data ARC/INFO from the thematic, cadastral, and numeric models. For lines, points and entity identifiers it is possible to import data in plane coordinates (meters, kilometers, millimeters, feet or inches) or geographic coordinates (decimal degree or decimal second). However, to export the same data the only possibility is to use plane coordinates (meters).

The data files to be imported, must have been exported by ARC/INFO, in the text format, using the "ungenerate" command and "gridascii". The line entities must be exported by the ARC/INFO as "LINES" and the lines/polygons identifiers like "POINTS". In the data generation, in the ARC/INFO, the user has to be certified that all the polygons are closed and have only one identifier.

NOTE: The Spring uses the following extensions when exporting data to the ARC/INFO format: *.L2D for line files, *.LAB for identifiers, *.L3D for numeric models samples and *.GRR for rectangular grids.

For import or export ARCINFO data



The example presented below shows a file with 5 lines. Notice that the lines are numbered and the coordinates pairs separated by commas. The keyword END identifies the end of a line and the sequence END END indicates the end of the data section in the file. There is no constraint related to the number of lines in a file.


0
656463.188650,7404496.814815
657089.625000,7404843.500000
END
1
655187.857179,7407859.544576
655472.221629,7407885.411728
656385.634709,7407902.656496
657011.000000,7407708.000000
END
2
657011.000000,7407708.000000
657161.174117,7407661.229744
657454.155671,7407195.621008
657385.218834,7406643.788432
657348.312500,7406469.000000
END
3
657348.312500,7406469.000000
657195.642535,7405747.060496
657040.534653,7404867.577327
657089.625000,7404843.500000
END
4
657089.625000,7404843.500000
658350.625000,7405531.000000
END
END


An identifier file would be as the example below, where the number identifies the class code for the polygonal line or the closed polygon, followed by the coordinates pair. The sequence END indicates the end of the identifiers section in the file. There is no constraints related to the number of lines in a file:

3,656937.129399,7405850.529104
2,657230.110953,7404143.297071
3,658557.145050,7406764.501808
2,657092.237280,7407005.928560
1,657643.731970,7405505.633743
3,658850.126604,7403005.142383
2,659367.152876,7404971.045935
END


NOTE: The ARC/INFO format requires an adjust and the lines polygonalization in the SPRING, before the lines identifiers are imported.

For numeric data in the ARC/INFO format, the Spring imports samples in plane coordinates (meters, kilometers, millimeters, feet or inches), or geographic coordinates (decimal degrees or decimal second), but the same data can only be exported using plane coordinates (meters).

The following example shows the ARC/INFO format for height spots in plane coordinates. The END sequence shows the end of file. There is no constraint related to the number of lines in a file, it must have only the sequence "1,X,Y,Z".

1,654972.429566,7403763.912175,150.000000
1,656127.121573,7407333.579152,150.000000
1,658143.524033,7403350.037743,150.000000
1,660504.610674,7402677.491790,150.000000
1,656437.337336,7405022.780239,200.000000
1,658574.379259,7401746.274318,200.000000
1,655644.563719,7401366.889422,200.000000
1,656282.229455,7402608.512718,200.000000
1,657816.074061,7400452.916718,200.000000
END


The ARC/INFO format for contour lines, in plane coordinates, follows the schema presented below. Notice that the contour lines are numbered and the coordinates' pair is separated by a comma.The keyword END identifies the end of an contour line and the END END sequence indicates the end of the data section in the file. There is no constraint related to the number of contour lines in a file.

0
653386.882333,7402729.226094,100.000000
653386.882333,7402746.470862,100.000000
653455.819169,7402780.960399,100.000000
653610.927050,7402884.429007,100.000000
653852.205977,7403056.876687,100.000000
654024.548068,7403212.079599,100.000000
654196.890158,7403401.772047,100.000000
654334.763831,7403556.974959,100.000000
END
1
653834.971768,7402229.127822,200.000000
653869.440186,7402229.127822,200.000000
653903.908604,7402246.372590,200.000000
653955.611232,7402263.617358,200.000000
655834.140019,7404039.828463,200.000000
655920.311064,7404212.276143,200.000000
655989.247901,7404384.723823,200.000000
656023.716319,7404539.926735,200.000000
656058.184737,7404677.884879,200.000000
657247.345162,7403901.870319,200.000000
660745.889601,7401573.826638,200.000000
661297.384291,7401453.113262,200.000000
END
2
654369.232249,7401849.742926,300.000000
654420.934876,7401866.987694,300.000000
654489.871712,7401866.987694,300.000000
654593.276967,7401901.477230,300.000000
654696.682221,7401935.966766,300.000000
654782.853266,7401987.701070,300.000000
654903.492730,7402056.680142,300.000000
655006.897984,7402125.659214,300.000000
655162.005866,7402246.372590,300.000000
655317.113747,7402349.841198,300.000000
658832.892395,7401125.462670,300.000000
658936.297650,7401056.483598,300.000000
659143.108158,7400987.504526,300.000000
659315.450249,7400918.525454,300.000000
659401.621294,7400884.035918,300.000000
END
END


The ARC/INFO format of grids in plane coordinates follows the schema below. Notice that the file has a header defining the number of lines and columns, the (x, y) initial coordinate in the left top point (in meters), the terrain resolution, in meters, is the null value in the grid.

NCOLS 6
NROWS 7
XLLCORNER 304609.700000
YLLCORNER 7412136.100000
CELLSIZE  100.000000
NODATA_VALUE 1464.489990
732.697510 725.805359 725.201355 730.784546 737.400208 744.187317
723.768005 718.760559 720.368652 726.018494 732.345947 739.057983
715.368896 712.596375 715.714478 721.385315 727.419312 733.943237
707.783142 707.184570 711.255920 716.864746 722.693604 728.930481
701.451294 702.634827 707.320068 712.724121 718.245972 724.117554
696.625305 698.823914 703.790222 709.130371 714.377197 719.776978
692.684082 695.357239 700.353760 705.698486 710.959412 716.188171

 

Learn more about Import/Export in SPRING

 

See also:
How to IMPORT data?
How to IMPORT data in the SGI?
How to IMPORT GRIB images?
How to EXPORT data?