GIScience / oshdb

OpenStreetMap History Data Analysis Framework
https://ohsome.org
GNU Lesser General Public License v3.0
110 stars 18 forks source link

API-tutorial: wrong base class use for keytables #18

Closed sfendrich closed 5 years ago

sfendrich commented 6 years ago

Following the API-tutorial I get the following compilation error when trying to inlcude key-tables:

"The method keytables(OSHDBJdbc) in the type MapReducer is not applicable for the arguments (OSHDBDatabase)"

A previous version of the tutorial used OSHDB_JDBC tagsDB = new [...] which is now replaced by OSHDBDatabase tagsDB = [...]. Switching back to the (now renamed) OSHDBJdbc tagsDB = new [...] does not solve the problem.

tyrasd commented 6 years ago

Maybe we should get rid of that section from the (beginners) tutorial, since keytables are normally included in downloaded oshdb files? It could be mentioned in a (still to be written) more advanced tutorial.

SlowMo24 commented 5 years ago

is now part of #139