VIA Technologies EPIA SN-Series Specifications Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 144
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
FASTER Planning Software
44
defined by a group of points in the space and their relative coordinates are reported in the
same <coordinates> tag line in a repetitive sequence: <coordinates> longitude
1
,latitude
1
,
altitude
1
longitude
2
,latitude
2
,altitude
2
… longitude
n
,latitude
n
,altitude
n
</coordinates>.
Polygons, are stored in a Nx3 array, where N is the number of points that constitute
the polygon. Multiple polygons can be exported in the same KML file and imported in the
Matlab at the same time, the script will assign an incremental numeric suffix to the array
name. Other information contained in the KML file are currently discharged.
As mentioned in Section 5.3.1, KMZ are compressed files that can contain, in
addition to the KML (always named doc.kml), external data as 3D models or images. In
this case the Matlab script is able to extract the compressed data using the embedded ZIP
format support and saving the doc.kml file in a temporary directory.
In the following example a 12-sided polygon has been drawn around the Forlì Ridolfi
Airport (Figure 38) and then the file was exported in the KMZ format. The following
string is extracted the encapsulated doc.kml file:
<coordinates> 12.04265484177943,44.18194756379602,0
12.06452048492158,44.17378303727157,0 12.10144169014094,44.17388037539627,0
12.1016006647769,44.18904683677211,0 12.0963112161245,44.20111856050828,0
12.09032069989327,44.20745768947005,0 12.07665277771444,44.21201734614615,0
12.0629961781692,44.21370752958197,0 12.04273941015088,44.21211257716238,0
12.03349310501469,44.20395888702259,0 12.03745912564322,44.1908753366266,0
12.04265484177943,44.18194756379602,0 </coordinates>
Figure 38: Example of polygon surrounding the Forlì Ridolfi Airport
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 143 144

Comments to this Manuals

No comments