|
10 | 10 |
|
11 | 11 | The ohsome API is a generic web API for in-depth analysis of OpenStreetMap (OSM) data with a focus on its history. It allows to get aggregated statistics about the evolution of OSM data itself and about the contributors behind the data. Furthermore, data extraction methods are provided to access the historic development of individual OSM features.
|
12 | 12 |
|
13 |
| -The functionalities of the ohsome API can be accessed via HTTP requests. As a basis underneath serves the [OSHDB API](https://github.com/GIScience/oshdb). The current stable version is [v1.6.0](https://github.com/GIScience/ohsome-api/releases/tag/1.6.0). Developed and maintained by [HeiGIT](https://heigit.org/). |
| 13 | +The functionalities of the ohsome API can be accessed via HTTP requests. As a basis underneath serves the [OSHDB API](https://github.com/GIScience/oshdb). The current stable version is [v1.6.1](https://github.com/GIScience/ohsome-api/releases/tag/1.6.1). Developed and maintained by [HeiGIT](https://heigit.org/). |
14 | 14 |
|
15 | 15 | ## Using the ohsome API
|
16 | 16 |
|
@@ -39,7 +39,7 @@ Here you see an example response giving the length of residential roads for a bo
|
39 | 39 | "url": "https://ohsome.org/copyrights",
|
40 | 40 | "text": "© OpenStreetMap contributors"
|
41 | 41 | },
|
42 |
| - "apiVersion": "1.6.0", |
| 42 | + "apiVersion": "1.6.1", |
43 | 43 | "metadata": {
|
44 | 44 | "executionTime": 858,
|
45 | 45 | "description": "Total length of items in meters.",
|
@@ -108,8 +108,8 @@ These instructions will get you a copy of the project up and running on your loc
|
108 | 108 | 2. move to your Maven project directory in a shell (e.g. Windows PowerShell)
|
109 | 109 | 3. enter the command `mvn -DskipTests=true package` to build the project (if you want to build it running the integrated tests too, look at the section [Testing](#testing))
|
110 | 110 | 4. to run the jar file enter the following (if no additional keytables file is given, you can assume that it is included):
|
111 |
| - * keytables included: `java -jar target/ohsome-api-1.6.0.jar --database.db=C:/path-to-your-data/ba-wue.oshdb` |
112 |
| - * keytables not included: `java -jar target/ohsome-api-1.6.0.jar --database.db=C:/path-to-your-data/ba-wue.oshdb --database.keytables=C:/path-to-your-keytablesFile/keytables` |
| 111 | + * keytables included: `java -jar target/ohsome-api-1.6.1.jar --database.db=C:/path-to-your-data/ba-wue.oshdb` |
| 112 | + * keytables not included: `java -jar target/ohsome-api-1.6.1.jar --database.db=C:/path-to-your-data/ba-wue.oshdb --database.keytables=C:/path-to-your-keytablesFile/keytables` |
113 | 113 |
|
114 | 114 | Now you should have a running local API, which is ready for receiving requests under *http://localhost:8080/*.
|
115 | 115 | <br>To check if it is running properly, you should be able to visit the swagger documentation under *http://localhost:8080/swagger-ui.html*.
|
|
0 commit comments