A robust geo library written by Java and Scala, contains:
- GPS 2d-spherical geometry
- GPS track compression and heat-map.
- GPS point index
- Machine learning algorithms implemented on sphere
See GeoScala - wiki
See Scala Doc for more details about classes.
Will deploy in Central Maven Server in the future, but now, use mvn clean install
to install to local.
Now, you can use it on maven directly:
Set the scala version you wanna to use in properties:
<properties>
<scala.version.main>2.11</scala.version.main>
</properties>
And set dependency like this:
<dependencies>
<dependency>
<groupId>com.github.tsingjyujing</groupId>
<artifactId>geo-library</artifactId>
<!--Add the version you prefer here-->
</dependency>
</dependencies>
Notice
Scala 2.10/2.12 or newer version is NOT available on maven central, you may compile and install on local by executing mvn clean install
- Create new algorithm k-means++ & k-means || to initialize points with geo-optimized algorithm
- parse GeoJSON object from string
- Now support scala 2.11 only, for other scala version you should download source, modify
pom.xml
andmvn clean package