Verified Commit 27c45edd authored by Johannes Visintini's avatar Johannes Visintini
Browse files

fix some typos

parent 205de724
# Tutorial # Tutorial
The basic tutorial is a realisation of the [OSHDB-API-Tutorial](https://github.com/GIScience/oshdb/blob/master/documentation/oshdb-api-tutorial/README.md). An alternative coding style can be found there. The code here tries to transparently demonstrate the intermediate steps of the process and transfers processing code to seperate classes that can easyly be extended. The basic tutorial is a realisation of the [OSHDB-API-Tutorial](https://github.com/GIScience/oshdb/blob/master/documentation/oshdb-api-tutorial/README.md). An alternative coding style can be found there. The code here tries to transparently demonstrate the intermediate steps of the process and transfers processing code to separate classes that can easily be extended.
The advandced tutorial shows a more complex analysis. The advanced tutorial shows a more complex analysis.
...@@ -54,13 +54,13 @@ public class Tutorial { ...@@ -54,13 +54,13 @@ public class Tutorial {
mapReducer = mapReducer.filter("type:way and building=*"); mapReducer = mapReducer.filter("type:way and building=*");
// -- Calculating intermediate results -- // -- Calculating intermediate results --
// mapping snapshots to area-values using a seperate class // mapping snapshots to area-values using a separate class
MapReducer<Double> mapReducer2 = mapReducer.map(new Mapper()); MapReducer<Double> mapReducer2 = mapReducer.map(new Mapper());
// -- Filtering intermediate results -- // -- Filtering intermediate results --
mapReducer2 = mapReducer2.filter(new ResultFilter()); mapReducer2 = mapReducer2.filter(new ResultFilter());
// -- Reqeusting aggregated result -- // -- Requesting aggregated result --
// sum // sum
Number result = mapReducer2.sum(); Number result = mapReducer2.sum();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment