polygon.read {RGeostats} | R Documentation |
Read a Polygon from an ASCII file (RGeostats format)
polygon.read(filename,must.noproj=TRUE)
filename |
Name of the ASCII file containing the information of the Polygon |
must.noproj |
When TRUE, the contents of the ASCII file is not translated before the storage in the Polygon structure, even if a projection is active. |
Format of the ASCII file:
Number of Polysets in the Polygon
For each Polyset:
Number of vertices
2-D Coordinates of the polyset vertices
The newly created Polygon structure