THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
There are two kinds of categories in the processors:
- working with JTS geometries
- handling simple coordinates (lat lng values)
Therefore, the following structure exists:
Base Folder
incubator-streampipes/streampipes-extensions/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm
|
|–– config
|–– jts
|–– latlong
|__ GeoJvmInit.java
Folder / File | Description |
---|---|
config | ConfigKeys for variables |
jts | all processors based on JTS |
latlong | all processors based on simple lat long string values with the ontology GEO.LAT and GEO.LONG |
GeoJvmInit.java | Init Files for all Java Geo-processor. Also included connection to EPSG Database |
Inside Each Folder following structure
jts
|
|–– exceptions
| |__ SpNotSupportedGeometryException.java
|
|–– helper
| |–– SpGeometryBuilder.java
| |–– SpReprojectionBuilder.java
| |__ SpTrajectoryBuilder.java
|
|__ processors
|...
latlong
|
|–– helper
| |__ HaversineDistanceUtil.java
|
|__ processors
|...
Folder / File | Description |
---|---|
SpGeometryBuilder | In this Class the JTS Geometries are build depending on their input value via methods. Also some related methods are implemented here |
SpGeometryBuilder | In this Class the JTS geometries can change their CRS with Apache SIS via methods. The geometry itself will be transformed coordinate by coordinate. Also some basic helper function |
SpTrajectoryBuilder | In this Class a trajectory class can be created. A Trajectory is in the end a LineString, and their points are single events from an event. |
Folder / File | Description |
---|---|
HaversineDistanceUtil.java | Include method to calculate the distance in WGS84 between two lat / lng coordinate tuple |