Import KMZ or KML File(s)

Use the Map > Import > KMZ or KML File(s) menu option (geogxnet.dll(Geosoft.GX.Map.ImportKMZorKML;Run)*) to import the vector elements (points, lines, polygons) of a KMZ or KML file into an Oasis montaj map.

The option is also available with the UAV Merge Sorties extension under the UAV Merge Sorties > Plan Survey menu.

Import KMZ or KML File(s) dialog options

KMZ or KML file

Select the *.kmz or *.kml file to import. See the Application Notes below for more information on the format of the import file.

Script Parameter: KMZ_OR_KML.KMZ_OR_KML_FILE

Display

Use the drop-down list to specify how to import the KMZ or KML file:

  • New Map: the file is imported into a new map (*.map) that will acquire the name of the input file.
  • Current Map: the file is imported into the active map.

See Application Notes below for details on projection.

Script Parameter: KMZ_OR_KML.DISPLAY [ 0 : Current map, 1 : New map]

Application Notes

*The GX.NET tools are embedded in the geogxnet.dll file located in the "...\Geosoft\Desktop Applications \bin" folder. If running this GX interactively, bypassing the menu, first change the folder to point to the "bin" directory, then supply the GX.NET tool in the specified format. See the topic Run GX for more details on running a GX.NET interactively.

Keyhole Markup Language Format

KML (Keyhole Markup Language) is a file format used to display geographic data in an Earth browser such as Google Earth. KML files are used by many popular survey software and navigation systems. They are often distributed in KMZ files, which are zipped KML files with a .kmz extension. A KMZ file stores map locations viewable in Google Earth and contains placemarks that may include a custom name and the latitudinal and longitudinal coordinates of the location.

  • Only KML and KMZ files that conform to the OGC® KML Standard can be imported.
    Rasters are currently not supported.
  • More information on the KML file format can be found at: https://developers.google.com/kml

    Projection

    KML files, by specification, use a single projection: WGS 84 (ESPG 4326). All compatible vector data (i.e. points, lines, polygons) will be displayed on the (new or existing) map. When the imported data is added to a new map, the projection will be set to WSG 84. When added to an existing map, the data is reprojected "on the fly" to the coordinate system of the map.

  • If the coordinate system is not defined in the existing map, the import data will remain in WGS 84, and mismatches may occur.