OreCZML

A tool for Orekit in order to provide a display method in java with CesiumJS and CzmlWriter

入门
GitHub在线演示
Stars:7
License:Apache License 2.0
更新:2025/12/19

README

Logo OreCzml

Global information

This JAVA project was created in order to assess the matter of display in the library Orekit using the library Cesium. The aim was to create an interface with some outputs of Orekit and to display them with Cesium. Cesium understands CZML file as inputs. Hence, this project provides a library to build a CZML file to input into Cesium.

Presentation

DEPENDENCIES

Installation

With maven

Orekit and junit can be installed with maven using a pom.xml with dependencies :

For the czml writer you will need to install it differently, because no maven repository exists, two methods can be used :

  • You download the .jar and you install it directly. Let name the groupId com.custom, the artifactId cesium and the version iwll be 1.0. You will need to add in the pom.xml the following lines to do so :
 <dependency>
      <groupId>com.custom</groupId>
      <artifactId>cesium</artifactId>
      <version>1.0</version>
 </dependency>

Now that the dependency is added you can now use the following command in maven to install it :

mvn install:install-file -Dfile=[path]\cesiumlanguagewriter-3.0.0.jar -DgroupId=com.custom -DartifactId=cesium -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true

Input Accepted

This converter accept several inputs to write a CZML file :

  • An Oem file (txt or xml file are supported)
  • A list of Orekit SpacecraftStates
  • A Tle file
  • An Orekit Orbit defined with orbital parameters, the orbital parameters supported are :
    • Keplerian parameters
    • Cartesian parameters
    • Equinoctial parameters
    • Circular parameters

Output

The output obtained will be a .czml file that you can directly enter in cesium to display.

Examples

Solar System Display

Solar System Display

Covered Surface Example

Covered Surface

Sinusoidal Attitude Fov Example

Sinusoidal Attitude Fov

Moon Display

Moon Display

Ground Track Example

Ground Track

Inter-Sat Visu Constellation Example

Inter-Sat Visu Constellation

Wiki and more

Check out the wiki, including the Get Started. Also browse the forum for questions on Cesium.