Difference between revisions of "Importing the geometry of a location from a KML file"
(→Background) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{Requirements|UserLevel=Operation Administrator or higher|Connectivity=Online only}} | {{Requirements|UserLevel=Operation Administrator or higher|Connectivity=Online only}} | ||
− | This document describes | + | This document describes how to import the geometry for a new or existing location from a [http://www.google.com/earth/ Google Earth] [[Definitions#KML|KML]] file. This method can be used both for adding a geometry to a new location and changing the geometry of an existing location. |
==Background== | ==Background== | ||
− | While this document describes how to create a location in [http://www.google.com/earth/ Google Earth] and import it into the InfoEx system, it is also possible to export geometries in [[Definitions#KML|KML]] format in most other Geographic Information Systems (e.g.,[http://www.esri.com/software/arcgis ESRI ArcGIS], [http://www.qgis.org Q GIS]). If geometries are exported from a high quality source, it is advisable to simplify the geometries to reduce the number of points included in the geometry to a reasonable number before importing them into the Infoex system. Having geometries with excessive numbers of points will unnecessarily slow down your InfoEx application. | + | While this document describes how to create a location in [http://www.google.com/earth/ Google Earth] and import it into the InfoEx system, it is also possible to export geometries in [[Definitions#KML|KML]] format in most other Geographic Information Systems (e.g.,[http://www.esri.com/software/arcgis ESRI ArcGIS], [http://www.qgis.org Q GIS]). If geometries are exported from a high quality source, it is advisable to simplify the geometries to reduce the number of points included in the geometry to a reasonable number before importing them into the Infoex system. Having geometries with excessive numbers of points will unnecessarily slow down your InfoEx application. |
− | {{Issue|The system currently does not support multi-geometries (i.e., multiple, separate polygons, lines or points associated with a single location).<br/>''Workaround'': Please contact | + | {{Issue|The system currently does not fully support multi-geometries (i.e., multiple, separate polygons, lines or points associated with a single location).<br/>''Workaround'': These will be split in to as many single-geometries as required. Please contact CAA InfoEx staff to discuss possible solutions.|IssueNoImage|772|Aug.13, 2013}} |
==Step-by-step description== | ==Step-by-step description== | ||
+ | |||
+ | ===Creating a location geometry in Google Earth=== | ||
{|class="TblSteps" | {|class="TblSteps" | ||
|- | |- | ||
Line 17: | Line 19: | ||
|[[File:GoogleEarthRightClickMenu.png|300px|thumb|right|Fig. 2: Right-click menu in Google Earth.]] In Google Earth, right click on the location in the location catalog in the side bar of the application (Fig. 2) and select the 'Save Place As ...' menu item. This will open the standard 'Save as...' dialog window on your computer. Choose [[Definitions#KML|KML]] as the file format and save the file on your computer in a location of your choice. | |[[File:GoogleEarthRightClickMenu.png|300px|thumb|right|Fig. 2: Right-click menu in Google Earth.]] In Google Earth, right click on the location in the location catalog in the side bar of the application (Fig. 2) and select the 'Save Place As ...' menu item. This will open the standard 'Save as...' dialog window on your computer. Choose [[Definitions#KML|KML]] as the file format and save the file on your computer in a location of your choice. | ||
{{Note|It is important that the location is visible in Google Earth (check box in the location catalog checked) when you save it and that you choose [[Definitions#KML|KML]] as the file format. The InfoEx system is not able to read 'KMZ' files, which is the default format for Google Earth files.|NoteWithImage}} | {{Note|It is important that the location is visible in Google Earth (check box in the location catalog checked) when you save it and that you choose [[Definitions#KML|KML]] as the file format. The InfoEx system is not able to read 'KMZ' files, which is the default format for Google Earth files.|NoteWithImage}} | ||
+ | {{Note|If you have multiple locations that you would like to upload, you can save them all in the same KML file. Organize your locations in a folder in Google Earth and right click on the folder to get to the 'Save Place As ...' option. This will save all of the geometries included in your folder in a single file.|NoteWithImage}} | ||
+ | |} | ||
+ | |||
+ | ===Uploading the geometries to the InfoEx system=== | ||
+ | {|class="TblSteps" | ||
|- | |- | ||
− | |class="StepNum" | | + | |class="StepNum" | 1. |
− | |[[File: | + | |[[File:AddingLocationWithKML.png|300px|thumb|right|Fig. 3: Details of ski run filled in before clicking on [[File:ButtonLoadKML.png]] to load KML file.]]After you have entered the name and abbreviation of the new location click on [[File:ButtonLoadKML.png]] below the panel at the top right of the map (Fig. 3). This will open the regular window for opening a file on your computer. Navigate to the [[Definitions#KML|KML]] kml file that you want to import. Select the file and click on {{ButtonGrey|Open}}. The geometries of the KML file are now displayed on the map. In addition, the name of the KML file now appears in the panel at the top right of the map with its box checked. |
|- | |- | ||
− | |class="StepNum" | | + | |class="StepNum" | 2. |
− | |[[File: | + | |[[File:AddingLocationSelectSkiRun.png|300px|thumb|right|Fig. 4: Confirmation message for selecting a location.]] Click on the geometry you would like to select. This will open a small popup dialog with the name of the geometry in the KML file and {{ButtonGrey|Select Feature}} button (Fig. 4), and when you click this button the geometry will be selected. |
− | {{ | ||
|- | |- | ||
− | |class="StepNum" | | + | |class="StepNum" | 3. |
− | |Click on {{ButtonGrey|Add}} | + | |Click on {{ButtonGrey|Add}} to add the new location to the catalog and return to the regular location catalog screen. |
− | {{Note|Depending on the detail of the location geometry (i.e., the number of included points) and your internet connectivity, it might take a few | + | {{Note|Depending on the detail of the location geometry (i.e., the number of included points) and your internet connectivity, it might take a few seconds to upload.|NoteNoImage}} |
− | |||
|} | |} | ||
==Related documents== | ==Related documents== | ||
− | + | {{PagesLocations}} | |
− | |||
− | |||
==Functionality tested by== | ==Functionality tested by== | ||
− | * | + | * Dec. 22: Pascal Haegeli |
− | [[Category:Super User]][[Category:Operation Administrator]][[Category:Locations]][[Category:Version | + | [[Category:Super User]][[Category:Operation Administrator]][[Category:Locations]][[Category:Version 3.4.0]] |
Latest revision as of 08:17, 20 December 2018
REQUIREMENTS | |
Permission | Operation Administrator or higher |
Connectivity | Online only |
This document describes how to import the geometry for a new or existing location from a Google Earth KML file. This method can be used both for adding a geometry to a new location and changing the geometry of an existing location.
Background
While this document describes how to create a location in Google Earth and import it into the InfoEx system, it is also possible to export geometries in KML format in most other Geographic Information Systems (e.g.,ESRI ArcGIS, Q GIS). If geometries are exported from a high quality source, it is advisable to simplify the geometries to reduce the number of points included in the geometry to a reasonable number before importing them into the Infoex system. Having geometries with excessive numbers of points will unnecessarily slow down your InfoEx application.
ISSUE | The system currently does not fully support multi-geometries (i.e., multiple, separate polygons, lines or points associated with a single location). Workaround: These will be split in to as many single-geometries as required. Please contact CAA InfoEx staff to discuss possible solutions. JIRA: -772 (Aug.13, 2013) |
Step-by-step description
Creating a location geometry in Google Earth
1. | Create the geometry for a location directly in Google Earth (Fig.1). See Location types and symbology for more information on supported location types and geometries. | ||||
2. | In Google Earth, right click on the location in the location catalog in the side bar of the application (Fig. 2) and select the 'Save Place As ...' menu item. This will open the standard 'Save as...' dialog window on your computer. Choose KML as the file format and save the file on your computer in a location of your choice.
|
Uploading the geometries to the InfoEx system
1. | After you have entered the name and abbreviation of the new location click on below the panel at the top right of the map (Fig. 3). This will open the regular window for opening a file on your computer. Navigate to the KML kml file that you want to import. Select the file and click on Open. The geometries of the KML file are now displayed on the map. In addition, the name of the KML file now appears in the panel at the top right of the map with its box checked. | ||
2. | Click on the geometry you would like to select. This will open a small popup dialog with the name of the geometry in the KML file and Select Feature button (Fig. 4), and when you click this button the geometry will be selected. | ||
3. | Click on Add to add the new location to the catalog and return to the regular location catalog screen.
|
Related documents
- Location catalog overview
- Location types and symbology
- Location hierarchy
- Adding locations to the location catalog
- Editing locations in the location catalog
- Deleting locations from the location catalog
- Changing the hierarchy among your locations
- Searching for a location in the location catalog
- Viewing photos
- Downloading your location catalog as a KML file
Functionality tested by
- Dec. 22: Pascal Haegeli