SMS:Coastline Files *.cst: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Coastline files contain x, y, z location information for arcs defining coastlines. The arcs defining a coastline can be created from [[SMS:ADCIRC|ADCIRC]] and [[SMS:CGWAVE|CGWAVE]] type [[SMS:Coverages|coverages]]. When a Coastline file is read into SMS, feature arcs are created. If a coastline closes, the final point is not repeated. If no z-value is specified, SMS defaults the node z-value to 0.0.
Coastline files include lists of two-dimensional polylines that may be closed or open. The open polylines are converted to ''Feature Arcs'' and are interpreted as open sections of coastline. Closed polylines are converted to arcs and are assigned the attributes of islands. Coastline files contain x, y, z location information for arcs defining coastlines. The arcs defining a coastline can be created from [[SMS:ADCIRC|ADCIRC]] and [[SMS:CGWAVE|CGWAVE]] type [[SMS:Coverages|coverages]]. When a Coastline file is read into SMS, feature arcs are created. If a coastline closes, the final point is not repeated. If no z-value is specified, SMS defaults the node z-value to 0.0.


Coastline files are opened through the menu [[SMS:File_Menu|File | Open]] and saved from [[SMS:File_Menu#Save_as...|File | Save As...]] from the [[SMS:Map Module|Map module]].
Coastline files are opened through the menu [[SMS:File Menu|''File'' | '''Open''']] and saved from [[SMS:File Menu|''File ''| '''Save As...''']] from the [[SMS:Map Module|Map module]].


==Sample File==
==Sample File==


{|
{| style="background: #EEEEEE"
|width="200"|COAST
|width="200"|COAST
|/* File type identifier */
|/* File type identifier */
Line 41: Line 41:


== Related Topics ==
== Related Topics ==
* [[SMS:Create_Coastline_(Feature_Objects_Menu)|Create Coastline]]
* [[SMS:Map Feature Objects Menu#Model Coverage Types|Create Coastline]]
* [[SMS:File Formats|File Formats]]
* [[SMS:File Formats|File Formats]]
* [[SMS:ADCIRC|ADCIRC]]
* [[SMS:ADCIRC|ADCIRC]]

Latest revision as of 16:05, 26 September 2017

Coastline files include lists of two-dimensional polylines that may be closed or open. The open polylines are converted to Feature Arcs and are interpreted as open sections of coastline. Closed polylines are converted to arcs and are assigned the attributes of islands. Coastline files contain x, y, z location information for arcs defining coastlines. The arcs defining a coastline can be created from ADCIRC and CGWAVE type coverages. When a Coastline file is read into SMS, feature arcs are created. If a coastline closes, the final point is not repeated. If no z-value is specified, SMS defaults the node z-value to 0.0.

Coastline files are opened through the menu File | Open and saved from File | Save As... from the Map module.

Sample File

COAST /* File type identifier */
2 /* Number of coastlines */
1309 0 /* Number of segments in coastline and if coastline closes (not closes = 0, closes = 1) */
-7794.9054 3396.0346 0.0 /* Node X, Y, Z Locations - Z is optional (defaults to 0.0) */
-7822.6129 3391.8341 0.0
-7852.6508 3386.68 0.0
.
.
.
151 1 /* Start next coastline */
.
.
.
/* EOF */

Related Topics