http://wiki.mohid.com/index.php?title=Lines&feed=atom&action=historyLines - Revision history2024-03-29T10:05:39ZRevision history for this page on the wikiMediaWiki 1.28.0http://wiki.mohid.com/index.php?title=Lines&diff=403&oldid=prevGuillaume: 1 revision2008-12-03T10:27:12Z<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style='vertical-align: top;' lang='en'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 10:27, 3 December 2008</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Guillaumehttp://wiki.mohid.com/index.php?title=Lines&diff=402&oldid=prev192.168.20.148: /* Lines file */2007-05-31T10:05:43Z<p><span dir="auto"><span class="autocomment">Lines file</span></span></p>
<p><b>New page</b></p><div>== Overview ==<br />
<br />
Lines items are defined by the starting point and ending point. Lines items can be stored as a collection of lines. This type of items can be used to define, for example, reaches or a coast line.<br />
<br />
<br />
== Lines file ==<br />
<br />
Lines items are stored in an ASCII text file. The default extension for Lines files in [[MohidGIS]] is '''*.lin'''. This file is organized in [[blocks]], each containing the vertices for a determined polygon. One block is defined by the following [[keywords]]: '''<begin_line>''' and '''<end_line>'''. Note that these keywords are case sensitive. One file can contain an infinite number of blocks. Inside each block there are 2 columns and 2 rows: the first row is relative to the line starting point. The second row is relative to the line ending point. The left column relates to the XX coordinates of a point and the right one to the YY coordinates.<br />
<br />
== Sample file ==<br />
<br />
<begin_line><br />
-9.5190 38.8148 <br />
-9.4545 38.5699 <br />
-9.2612 38.4098 <br />
-9.0372 38.4686 <br />
-9.0550 38.7375 <br />
-9.1291 38.8921 <br />
-9.2644 38.8792 <br />
-9.4384 38.8438 <br />
-9.5254 38.8373 <br />
-9.5190 38.8148 <br />
<end_line><br />
<br />
[[Category:Input Data Formats]]</div>192.168.20.148