WorldWind Kotlin - the first multi-platform planetary 3D globe library for JS, Android and JVM

Hello, Kotlin Community!

Let me introduce you the first Kotlin multi-platform open-source planetary 3D globe SDK library for JS, Android and JVM - GitHub - WorldWindEarth/WorldWindKotlin: The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

This solution allows to launch the same library on Web, Android and JVM applications and uses latest modern cross-platform technologies, like:

  • Kotlin Coroutines - to execute async resources request the same way on all platforms;
  • Kotlin Serialization - to process cross-platform XML and JSON requests and response serialization to WMS, WMTS, WCS and other geospatial data servers;
  • Kotlin DateTime - to work with Instant and Duration time entities;
  • Ktor HTTP Client - to make cross-platform requests of external resources as map image tiles, elevation data tiles, placemark images etc.
  • MOKO Resources - to use common texture images and asset flies, like star field location data, on all supported platforms (JS, Android and JVM).

We have also created a special OpenGL wrapper named KotlinGL (KGL) to provide an abstraction over WebGL, OpenGL ES, JOGL and LWJGL layers inside the library.

As a map source you can use any Web Mercator maps (like OpenTopoMap, OpenStreetMap, GoogleMaps, WikiMapia, Yandex and other), plus famous elevation data sources such as SRTM, ASTER, ALOS, GEBCO and also servers which work using WMS, WMTS or WCS protocols. There is also a possibility to display any surface image as a map.

WorldWind Kotlin SDK supports rendering of placemarks, lines, polygons, ellipses on 3D space or on surface. It can trace line of sight in real-time, plus it has build-it mil-std-2525 tactical graphics support.

Web examples can be found here https://tutorials.worldwind.earth/
Android examples https://worldwind.earth/files/worldwind-tutorials.apk
Android demo and benchmarks https://worldwind.earth/files/worldwind-examples.apk
JVM library version is still work in progress… Help us to release it faster!

Also we are happy to announce, that our project take part in NASA International Space Apps challenge this year in nomination “Earth Data Analysis Developers Wanted!”. Wish as good luck and to win :wink:

More detailed about the history of the project development see on NASA hackathon web page:
https://2022.spaceappschallenge.org/challenges/2022-challenges/earth-data-analysis-developers-wanted/teams/worldwind-kotlin/project

Join our WorldWind Community Edition contributors team.

Let’s make Earth cross-platform!



8 Likes

WorldWind Kotlin 1.1.0 released!
A bunch of stability fixes implemented.

2 Likes

Huge update of WorldWindKotlin KMP 3D map engine with a lot of bugfixes released!

1 Like