-
Notifications
You must be signed in to change notification settings - Fork 143
Quick Start
Matthew Amato edited this page Jul 22, 2014
·
27 revisions
-
git clone https://github.com/AnalyticalGraphicsInc/czml-writer.git
- Or download the zip
Using Visual Studio 2010, Express, or newer on Windows:
- Open
DotNet\CesiumLanguageWriter.sln
- Build the solution: Build - Build Solution (Ctrl + Shift + B)
- Open one of the included test projects using Nunit to run unit tests. See the Contributor's Guide for NUnit setup and usage instructions.
Using MonoDevelop on Linux or Mac:
- Open
DotNet\CesiumLanguageWriter.sln
- Build the included projects: Build - Build All (F8)
- Running unit tests: Choose a test project or file from the solution view and select Run - Run Unit Tests (Ctrl + T)
##Java:
- In Eclipse:
- File - Import - General - Existing Projects into Workspace
- Select root directory:
\czml-writer\Java
- Build the included projects:
- Project - Build All (Ctrl + B)
- Or select Project - Build Automatically to build when changes are saved.
- Run the unit tests:
- In the Package or Project Explorer (Window - Show View), right-click the test project or file and select Run-As - Junit Test
##Convert Files to CZML using the Command Line Tool
-
Building the included
CesiumLanguageConverter
project generates a command line executable,CesiumLanguageConverter.exe
, located atDotNet/CesiumLanguageConverter/bin/Debug
. -
Navigate to this directory and run
CesiumLanguageConverter -h
or see the CesiumLanguageConverter Help wiki for usage options. -
Input file paths can be relative or absolute, e.g.
CesiumLanguageConverter --webGLGlobeJsonHeightScalar=4000000 helloWorld.json
orCesiumLanguageConverter C:\Users\admin\Desktop\helloWorld.json