Skip to content
Read vehicular traces based on csv files, simplify them via a choice of algorithms (Douglas-Peucker, Linear Optimum, Constrained Cubic Spline) and Languages - Java or OpenCL
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
algorithms
bom
core
io
timer
ui/cli
.gitignore
LICENSE.md
Makefile
README.md

README.md

README

tracereduce is a Java 1.6 project that reads (vehicular) traces based on csv files, simplifies them via a choice of algorithms (Douglas-Peucker, Linear Optimum, Constrained Cubic Spline), either Java or OpenCL, writes the result back to csv (or kml) files and times the execution.

Development

Needed

The project depends on two libraries

$ git co git@github.com:oschrenk/jocl-commons.git
$ git co jocl-commons
$ mvn install

$ git co git@github.com:oschrenk/jocl-utils.git
$ git co jocl-utils
$ mvn install

Finally

$ git co git@github.com:oschrenk/tracereduce-java.git
$ cd tracereduce-java
$ make

The integration tests, test that basically run all algorithms, require a lot of resources. Because of this the maven-failsafe-plugin invokes a new JVM with the following properties

-Xmx1024M -Xms1024M -XX:PermSize=2048m -XX:MaxPermSize=2048m

Make sure that your system supports the given amount of RAM.

Eclipse

Just point File > Import > Maven > Existing Maven Projects > Root Directory to the checked out directory, add to working set if needed, and import.

You can’t perform that action at this time.