Baseline for GIS Applications
- by Geertjan
The application I introduced here yesterday can best be understood via its author's explanation: "As I developed several different WorldWind-based applications, I noticed that they all started out the same. Terramenta was born so I wouldn't have to recreate the baseline every time, I could just provide NetBeans plugin modules to introduce the new features required by different projects."
So, to try it out for myself, I checked out the sources from the Mercurial repo today, built them, and ran them.
hg clone https://bitbucket.org/heidtmare/terramenta
On Windows, things worked fine, on Ubuntu they didn't because the relevant native libraries aren't provided yet out of the box.
Here's the result:
The above provides the WorldWind globe, together with all the standard options, e.g., for showing names and other WorldWind features, together with several features that I don't understand yet, such as tools for creating shapes and a recorder for replaying sequences.
The complete application is like this, i.e., one single functionality module is provided, which exposes several API packages that can be extended:
It would really be cool if the above module could also be added to a Maven-based application via a reference to a Maven repository, in the way that Timon Veenstra and the AgroSense team have made available their GeoViewer.
One cool thing from the GeoViewer solution is the Flamingo menubar, which I added to Terramenta by simply putting the dependency below into the application POM:
<dependency> <groupId>nl.cloudfarming.client</groupId> <artifactId>menu</artifactId> <version>1.0.24</version></dependency>
The result, without doing anything other than the above:
I am looking forward to helping to document the use cases and developer scenarios for Terramenta! Something like this, created by Timon to demonstrate the GeoViewer use case would be cool to have:
http://java.net/projects/agrosense/pages/ExampleGeoviewerNormal