Skip to content

physycom/json_to_kml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

documentclass title author
physycomen
json_to_kml
Fabbri, Sinigardi
© Physics of Complex Systems Laboratory - Physics and Astronomy Department - University of Bologna
Build Status
Build Status

json_to_kml

Purpose

This tool has been written to convert data to the Keyhole Markup Language format from our .json structure, in order to be able to plot our output with software like Google Earth.

Installation

CMake and a C++11 compatible compiler are required. To build the executable, clone the repo and then type

mkdir build ; cd build ; cmake .. ; cmake --build .

With CMake you can also deploy projects for the most common IDEs.
Contains jsoncons and RapidXml as git submodules.

Usage

json_to_kml.exe -i input.json -o output.kml 

where input.json must be an existing and valid .json file while output.kml is the name of the kml v2.2 produced file. If no altitude is found in the input.json, a default zero value will be used.

kml_to_json

Purpose

This tool has been written to convert data from the Keyhole Markup Language format to our .json structure, in order to be able to use data coming into .kml format inside our tools.

Installation

make and a C++11 compatible compiler are required. Clone the repo and type make, it should be enough in most cases!
There's also a VS2015 solution avalaible.
Contains jsoncons and RapidXml as git submodules.

Usage

kml_to_json.exe -i input.kml -o output.json -f [output style]
[output style]: 'a' (no quotes) for array or 'o' for object

where input.kml must be an existing and valid .kml file (versions 2.1 and 2.2 supported) while output.json is the name of the output file. The optional -f specifies the style of the output .json file. If omitted, the object-style will be used.

More details about file formats is available here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages