-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from GIScience/development
Update dependencies in readme, better handling of invalid json responses, improved logging.
- Loading branch information
Showing
11 changed files
with
297 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"attribution" : { | ||
"url" : "https://ohsome.org/copyrights", | ||
"text" : "© OpenStreetMap contributors" | ||
}, | ||
"apiVersion" : "0.9", | ||
"type" : "FeatureCollection", | ||
"features" : [{ | ||
"type" : "Feature", | ||
"geometry" : { | ||
"type" : "Polygon", | ||
"coordinates" : [ | ||
[ | ||
[ | ||
13.644420799999999, | ||
50.9673861 | ||
], | ||
[ | ||
13.6446461, | ||
50.967762699999994 | ||
], | ||
[ | ||
13.6435705, | ||
50.9680009 | ||
], | ||
[ | ||
13.6433485, | ||
50.9676301 | ||
], | ||
[ | ||
13.644420799999999, | ||
50.9673861 | ||
] | ||
] | ||
] | ||
}, | ||
"properties" : { | ||
"@osmId" : "way/437313075", | ||
"@snapshotTimestamp" : "2019-12-10T00:00:00Z", | ||
"leisure" : "park" | ||
} | ||
}{ | ||
"timestamp" : "2020-05-19T07:07:25.356+0000", | ||
"status" : 200, | ||
"error" : "OK", | ||
"message" : "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.", | ||
"path" : "/elements/geometry" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"attribution" : { | ||
"url" : "https://ohsome.org/copyrights", | ||
"text" : "© OpenStreetMap contributors" | ||
}, | ||
"apiVersion" : "1.3.2", | ||
"type" : "FeatureCollection", | ||
"features" : [{ | ||
"timestamp" : "2021-06-02T10:07:46.438591", | ||
"status" : 413, | ||
"message" : "The given query is too large in respect to the given timeout. Please use a smaller region and/or coarser time period.", | ||
"requestUrl" : "http://localhost:8080/elements/geometry" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
, { | ||
"type" : "Feature", | ||
"geometry" : { | ||
"type" : "Polygon", | ||
"coordinates" : [ | ||
[ | ||
[ | ||
8.3162482, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"attribution" : { | ||
"url" : "https://ohsome.org/copyrights", | ||
"text" : "© OpenStreetMap contributors" | ||
}, | ||
"apiVersion" : "1.4.1", | ||
"type" : "FeatureCollection", | ||
"features" : [{ | ||
"type" : "Feature", | ||
"geometry" : { | ||
"type" : "Polygon", | ||
"coordinates" : [ | ||
[ | ||
[ | ||
8.7833329, | ||
49.5470456 | ||
], | ||
[ | ||
8.7836152, | ||
49.5466073 | ||
], | ||
[ | ||
8.7851933, | ||
49.5470193 | ||
], | ||
[ | ||
8.785043, | ||
49.5473679 | ||
], | ||
[ | ||
8.7849303, | ||
49.5473947 | ||
], | ||
[ | ||
8.7833329, | ||
49.5470456 | ||
] | ||
] | ||
] | ||
}{ | ||
"timestamp" : "2021-06-01T11:38:52.821+0000", | ||
"status" : 200, | ||
"error" : "OK", | ||
"message" : "java.lang.OutOfMemoryError", | ||
"path" : "/elements/geometry" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.