Personal tools

Kml2Mohid

From MohidWiki

Jump to: navigation, search

Kml2Mohid is a little program that converts Google Earth kml files into Mohid GIS data files. It's quite useful to quickly create coastlines in Google Earth.

Syntax

Open a command-line window and type:

> kml2mohid.exe MyGEDataFile.kml

It may output a point file (.xyz), a line file (.lin) and/or a polygon file (.xy) depending if it finds relevant data in the kml file.

Other platforms

Alternatively, you may install ruby and use the ruby source code (~80 lines). Eventually one may create a local executable with the rubyscript2exe module.

> ruby kml2mohid.rb MyGEDataFile.kml