Hey. I was trying to run one of the oreczml-tutorial
files. I managed to build and run oreczml-core
and I also managed to successfully hook up the tutorials to the compiled oreczml-core.jar
library, because the code runs until the very end where it’s writing out the .czml
file, but at that point I have an issue where the oreczml-core
package can’t find the satellite.png
image file that it uses to generate the images.
Exception in thread "main" java.lang.RuntimeException: java.nio.file.NoSuchFileException: /home/baubin/Projects/Code/01-Orekit/oreczml/oreczml-tutorials/file:/home/baubin/.m2/repository/org/orekit/czml/1.0/czml-1.0.jar!/satellite.png
at org.orekit.czml.object.primary.Satellite.writeCzmlBlock(Satellite.java:294)
at org.orekit.czml.file.CzmlFile.write(CzmlFile.java:173)
at org.orekit.czml.file.CzmlFile.write(CzmlFile.java:131)
at org.orekit.czml.fieldofviewtuto.YawCompensationExample.main(YawCompensationExample.java:258)
Caused by: java.nio.file.NoSuchFileException: /home/baubin/Projects/Code/01-Orekit/oreczml/oreczml-tutorials/file:/home/baubin/.m2/repository/org/orekit/czml/1.0/czml-1.0.jar!/satellite.png
Also, here is the pom.xml
file with my modifications to include the cesiumlangaugewriter
and czml
(oreczml-core
) libraries
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.orekit</groupId>
<artifactId>oreczml-parent</artifactId>
<version>1.0</version>
</parent>
<artifactId>oreczml-tutorials</artifactId>
<packaging>jar</packaging>
<name>oreczml-tutorials</name>
<url>https://gitlab.orekit.org/Zudo/oreczml</url>
<description>OreCzml core module</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<oreczml.hipparchus.version>3.1</oreczml.hipparchus.version>
</properties>
<dependencies>
<dependency>
<groupId>org.orekit</groupId>
<artifactId>orekit</artifactId>
</dependency>
<dependency>
<groupId>org.orekit</groupId>
<artifactId>czml</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.agi</groupId>
<artifactId>czml-writer</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-geometry</artifactId>
<version>${oreczml.hipparchus.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Thanks in advance for your help.