Import of coordinates in KML/CSV format |
Modern tools of remote fixing a state of area, for example with the use of unmanned aerial vehicles , allow to write down simultaneously files of images and the coordinate description of a track of the camera movement . The file with the track description contains coordinates of points and the characteristic during surveying (speed, course, time and so forth). Area's images can be represented by photo or video materials. Dialog "Import of coordinates in KML/CSV format" is intended for mapping a linear object - a track of object movement from a file in format KML or CSV. The map for drawing of linear object can be either chosen from the list of open maps or a new one be created. A new map is created with the same parameters as the main map and with the classifier of the main map. As the source data the files in format KML or CSV can be chosen. At a file of CSV format the first line is considered a line of description, and the data starts to select from second line. For an example the fragment of a file of CSV format below is shown: latitude, longitude, altitude (feet), ascent (feet), speed (mph), distance (feet), max_altitude (feet), max_ascent (feet), max_speed (mph), max_distance (feet), time (millisecond), datetime (utc), datetime (local), satellites, pressure (Pa), temperature (F) 48.735666,29.500517,651,0,0.11,0,651,0,0.11,0,0,2014-12-02 10:43:36.0000,2014-12-02 10:43:36.0000,12,100105,26.78 48.735666,29.500516,651,0,0.02,0,651,0,0.11,0,250,2014-12-02 10:43:36.0250,2014-12-02 10:43:36.0250,12,100105,26.78 Latitude, longitude and height should be located exactly in the same order, as in the above shown fragment of a file. In a file of KML format a search of the first tag <coordinates> is carried out, and from it the coordinates of metrics points of put object are read. Tag contents should be sequence of the data blocks divided by spaces. In the block itself the data should be in the following sequence: longitude, latitude, height. The example of the contents of the tag <coordinates> is shown below: <coordinates>29.500517,48.735666,0 29.500516,48.735666,0 </coordinates> To the put object, you can bind one or more video files, names of which after drawing will be written down into user-selected semantics. For this purpose in the section of «Input data» to the right of the field «Filenames with the video» you must click on the button with three dots. In the dialog that opens you can select one or more video files. The view of created object is selected using a click of the left mouse button on the graphic image of the object. In the dialog that opens you can choose the desired object view from all linear objects presented in the classifier of the selected map. If you create a new map, then use the classifier of the main map. In dialog the user has possibility to specify in what units the height is presented in the input file. In addition, from the drop-down list you can choose the semantics of the object, into which the names of the input file and video files will be written. It is necessary to consider that in the list of semantics for a choice only semantics are selected, having type «Filename of the registered type». They should be in advance added into the map classifier. Dialog "Import of coordinates in KML/CSV format" allows to form a database of results of field works. |