Difference between revisions of "BIS fnc KMLimport"
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{RV|type=function |
− | | tkoh | + | |game1= tkoh |
+ | |version1= 1.00 | ||
− | | | + | |game2= arma3 |
+ | |version2= 0.50 | ||
− | |gr1 = Map and Markers | + | |gr1= Map and Markers |
− | | Read positions from a | + | |descr= Read positions from a {{Wikipedia|Keyhole_Markup_Language|KML file}}. |
− | {{Informative|Recommended to execute in loading screen.}} | + | {{Feature|Informative|Recommended to execute in loading screen.}} |
− | | filePath call [[BIS_fnc_KMLimport]] | + | |s1= filePath call [[BIS_fnc_KMLimport]] |
− | |p1= filePath: [[String]] - (Optional, default {{ | + | |p1= filePath: [[String]] - (Optional, default {{ic|"hsim\Doc_H\GoogleEarth\Missions\" + [[missionName]] + ".kml"}}) KML file path |
{{Feature|arma3|Default value only works in {{tkoh}}. Do not rely on it in {{arma3}}}} | {{Feature|arma3|Default value only works in {{tkoh}}. Do not rely on it in {{arma3}}}} | ||
− | | [[Array]] of [[Array|Arrays]] in format [type, positionXYZ, folder, name, description] | + | |r1= [[Array]] of [[Array|Arrays]] in format [type, positionXYZ, folder, name, description] |
* type: [[Number]] - 0 for a point, 1 for a line, 2 for a polygon | * type: [[Number]] - 0 for a point, 1 for a line, 2 for a polygon | ||
* positionXYZ: [[Position]] - format [[PositionAGL]] | * positionXYZ: [[Position]] - format [[PositionAGL]] | ||
Line 24: | Line 26: | ||
|x1= <code>_data = "subDir\myFile.kml" [[call]] [[BIS_fnc_KMLimport]];</code> | |x1= <code>_data = "subDir\myFile.kml" [[call]] [[BIS_fnc_KMLimport]];</code> | ||
− | | [[BIS_fnc_keypointsExportFromKML]], [[BIS_fnc_dbImportXML]], [[BIS_fnc_posDegToWorld]] | + | |seealso= [[BIS_fnc_keypointsExportFromKML]], [[BIS_fnc_dbImportXML]], [[BIS_fnc_posDegToWorld]] |
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 05:03, 13 June 2021
Description
- Description:
- Read positions from a KML file.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- filePath call BIS_fnc_KMLimport
- Parameters:
- filePath: String - (Optional, default
"hsim\Doc_H\GoogleEarth\Missions\" + missionName + ".kml"
) KML file path - Return Value:
- Array of Arrays in format [type, positionXYZ, folder, name, description]
Examples
- Example 1:
_data = "subDir\myFile.kml" call BIS_fnc_KMLimport;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note