diff --git a/workers/ohsome_quality_analyst/__init__.py b/workers/ohsome_quality_analyst/__init__.py index 37ed1cdfc..e214cefc8 100644 --- a/workers/ohsome_quality_analyst/__init__.py +++ b/workers/ohsome_quality_analyst/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.10.0" +__version__ = "0.10.1" __title__ = "ohsome quality analyst" __description__ = "Intrinsic and extrinsic data quality metrics for OpenStreetMap data." __author__ = "ohsome team" diff --git a/workers/pyproject.toml b/workers/pyproject.toml index 106072783..048c3bcab 100644 --- a/workers/pyproject.toml +++ b/workers/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ohsome_quality_analyst" -version = "0.10.0" +version = "0.10.1" description = "Intrinsic and extrinsic data quality metrics for OpenStreetMap data." authors = ["ohsome team "] homepage = "https://oqt.ohsome.org" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.yaml index cac14e3df..dc80cb6da 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&filter=building%3D%2A+and+geometry%3Apolygon + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -15,14 +15,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.2\",\n \"result\" : [ {\n \"timestamp\" : \"2022-03-20T21:00:00Z\",\n - \ \"value\" : 30346.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 30446.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -41,9 +41,9 @@ interactions: Content-Encoding: - gzip Content-Type: - - application/json;charset=UTF-8 + - application/json Date: - - Mon, 28 Mar 2022 14:14:44 GMT + - Mon, 18 Jul 2022 10:55:34 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -52,8 +52,8 @@ interactions: - max-age=63072000; includeSubdomains; Transfer-Encoding: - chunked - Vary: - - Accept-Encoding + vary: + - accept-encoding http_version: HTTP/1.1 status_code: 200 version: 1 diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.yaml index 381c07632..72e6966a8 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.yaml @@ -15,14 +15,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:53:38 GMT + - Mon, 18 Jul 2022 10:55:48 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -57,7 +57,7 @@ interactions: http_version: HTTP/1.1 status_code: 200 - request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+1%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.656512%2C+49.411047%5D%2C+%5B8.658857%2C+49.410217%5D%2C+%5B8.662864%2C+49.408734%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.670667%2C+49.405696%5D%2C+%5B8.6771%2C+49.40437%5D%2C+%5B8.67815%2C+49.404317%5D%2C+%5B8.679435%2C+49.404443%5D%2C+%5B8.681117%2C+49.404832%5D%2C+%5B8.682522%2C+49.405074%5D%2C+%5B8.683802%2C+49.405287%5D%2C+%5B8.68525%2C+49.405729%5D%2C+%5B8.686198%2C+49.405954%5D%2C+%5B8.690952%2C+49.406788%5D%2C+%5B8.694012%2C+49.407422%5D%2C+%5B8.69333%2C+49.409643%5D%2C+%5B8.692388%2C+49.411912%5D%2C+%5B8.690156%2C+49.411761%5D%2C+%5B8.686451%2C+49.411243%5D%2C+%5B8.68244%2C+49.410751%5D%2C+%5B8.679021%2C+49.410418%5D%2C+%5B8.676393%2C+49.410229%5D%2C+%5B8.672043%2C+49.410311%5D%2C+%5B8.667241%2C+49.410724%5D%2C+%5B8.664269%2C+49.411243%5D%2C+%5B8.661813%2C+49.411766%5D%2C+%5B8.659763%2C+49.411702%5D%2C+%5B8.658441%2C+49.411733%5D%2C+%5B8.656567%2C+49.412318%5D%2C+%5B8.656542%2C+49.411595%5D%2C+%5B8.656512%2C+49.411047%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+2%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.641543%2C+49.411303%5D%2C+%5B8.652386%2C+49.407391%5D%2C+%5B8.652606%2C+49.407365%5D%2C+%5B8.653961%2C+49.407038%5D%2C+%5B8.6543%2C+49.406824%5D%2C+%5B8.655838%2C+49.40599%5D%2C+%5B8.660063%2C+49.403751%5D%2C+%5B8.661088%2C+49.40313%5D%2C+%5B8.66298%2C+49.402053%5D%2C+%5B8.66549%2C+49.400802%5D%2C+%5B8.667152%2C+49.396417%5D%2C+%5B8.670565%2C+49.39681%5D%2C+%5B8.670855%2C+49.396698%5D%2C+%5B8.671368%2C+49.396856%5D%2C+%5B8.673028%2C+49.39762%5D%2C+%5B8.675503%2C+49.398956%5D%2C+%5B8.677606%2C+49.400029%5D%2C+%5B8.679977%2C+49.401302%5D%2C+%5B8.676274%2C+49.40322%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.661319%2C+49.407781%5D%2C+%5B8.658739%2C+49.40786%5D%2C+%5B8.656667%2C+49.408231%5D%2C+%5B8.654373%2C+49.408573%5D%2C+%5B8.654423%2C+49.40888%5D%2C+%5B8.653848%2C+49.408895%5D%2C+%5B8.653874%2C+49.409122%5D%2C+%5B8.651656%2C+49.409181%5D%2C+%5B8.649858%2C+49.409274%5D%2C+%5B8.647838%2C+49.409498%5D%2C+%5B8.646082%2C+49.409998%5D%2C+%5B8.64557%2C+49.409982%5D%2C+%5B8.642225%2C+49.411332%5D%2C+%5B8.641543%2C+49.411303%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -66,20 +66,20 @@ interactions: connection: - keep-alive content-length: - - '1367' + - '1455' content-type: - application/x-www-form-urlencoded host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 932.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 236.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -100,7 +100,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:53:52 GMT + - Mon, 18 Jul 2022 10:55:58 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -114,7 +114,7 @@ interactions: http_version: HTTP/1.1 status_code: 200 - request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+2%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.641543%2C+49.411303%5D%2C+%5B8.652386%2C+49.407391%5D%2C+%5B8.652606%2C+49.407365%5D%2C+%5B8.653961%2C+49.407038%5D%2C+%5B8.6543%2C+49.406824%5D%2C+%5B8.655838%2C+49.40599%5D%2C+%5B8.660063%2C+49.403751%5D%2C+%5B8.661088%2C+49.40313%5D%2C+%5B8.66298%2C+49.402053%5D%2C+%5B8.66549%2C+49.400802%5D%2C+%5B8.667152%2C+49.396417%5D%2C+%5B8.670565%2C+49.39681%5D%2C+%5B8.670855%2C+49.396698%5D%2C+%5B8.671368%2C+49.396856%5D%2C+%5B8.673028%2C+49.39762%5D%2C+%5B8.675503%2C+49.398956%5D%2C+%5B8.677606%2C+49.400029%5D%2C+%5B8.679977%2C+49.401302%5D%2C+%5B8.676274%2C+49.40322%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.661319%2C+49.407781%5D%2C+%5B8.658739%2C+49.40786%5D%2C+%5B8.656667%2C+49.408231%5D%2C+%5B8.654373%2C+49.408573%5D%2C+%5B8.654423%2C+49.40888%5D%2C+%5B8.653848%2C+49.408895%5D%2C+%5B8.653874%2C+49.409122%5D%2C+%5B8.651656%2C+49.409181%5D%2C+%5B8.649858%2C+49.409274%5D%2C+%5B8.647838%2C+49.409498%5D%2C+%5B8.646082%2C+49.409998%5D%2C+%5B8.64557%2C+49.409982%5D%2C+%5B8.642225%2C+49.411332%5D%2C+%5B8.641543%2C+49.411303%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+1%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.656512%2C+49.411047%5D%2C+%5B8.658857%2C+49.410217%5D%2C+%5B8.662864%2C+49.408734%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.670667%2C+49.405696%5D%2C+%5B8.6771%2C+49.40437%5D%2C+%5B8.67815%2C+49.404317%5D%2C+%5B8.679435%2C+49.404443%5D%2C+%5B8.681117%2C+49.404832%5D%2C+%5B8.682522%2C+49.405074%5D%2C+%5B8.683802%2C+49.405287%5D%2C+%5B8.68525%2C+49.405729%5D%2C+%5B8.686198%2C+49.405954%5D%2C+%5B8.690952%2C+49.406788%5D%2C+%5B8.694012%2C+49.407422%5D%2C+%5B8.69333%2C+49.409643%5D%2C+%5B8.692388%2C+49.411912%5D%2C+%5B8.690156%2C+49.411761%5D%2C+%5B8.686451%2C+49.411243%5D%2C+%5B8.68244%2C+49.410751%5D%2C+%5B8.679021%2C+49.410418%5D%2C+%5B8.676393%2C+49.410229%5D%2C+%5B8.672043%2C+49.410311%5D%2C+%5B8.667241%2C+49.410724%5D%2C+%5B8.664269%2C+49.411243%5D%2C+%5B8.661813%2C+49.411766%5D%2C+%5B8.659763%2C+49.411702%5D%2C+%5B8.658441%2C+49.411733%5D%2C+%5B8.656567%2C+49.412318%5D%2C+%5B8.656542%2C+49.411595%5D%2C+%5B8.656512%2C+49.411047%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -123,20 +123,20 @@ interactions: connection: - keep-alive content-length: - - '1455' + - '1367' content-type: - application/x-www-form-urlencoded host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 236.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 930.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -157,7 +157,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:53:52 GMT + - Mon, 18 Jul 2022 10:56:00 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -186,14 +186,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -214,7 +214,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:54:06 GMT + - Mon, 18 Jul 2022 10:56:10 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -243,14 +243,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -271,7 +271,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:54:20 GMT + - Mon, 18 Jul 2022 10:56:23 GMT Keep-Alive: - timeout=5, max=100 Server: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.yaml index 600960cbb..4067a18b0 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&filter=building%3D%2A+and+geometry%3Apolygon&time=2008-01-01%2F%2FP1M + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&time=2008-01-01%2F%2FP1M headers: accept: - '*/*' @@ -15,13 +15,13 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.2\",\n \"result\" : [ {\n \"timestamp\" : \"2008-01-01T00:00:00Z\",\n + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2008-01-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-02-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-03-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-04-01T00:00:00Z\",\n @@ -192,7 +192,11 @@ interactions: \ \"value\" : 29950.0\n }, {\n \"timestamp\" : \"2022-01-01T00:00:00Z\",\n \ \"value\" : 30032.0\n }, {\n \"timestamp\" : \"2022-02-01T00:00:00Z\",\n \ \"value\" : 30116.0\n }, {\n \"timestamp\" : \"2022-03-01T00:00:00Z\",\n - \ \"value\" : 30193.0\n } ]\n}" + \ \"value\" : 30193.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n + \ \"value\" : 30361.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n + \ \"value\" : 30395.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n + \ \"value\" : 30419.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 30445.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -211,9 +215,9 @@ interactions: Content-Encoding: - gzip Content-Type: - - application/json;charset=UTF-8 + - application/json Date: - - Mon, 28 Mar 2022 14:15:29 GMT + - Mon, 18 Jul 2022 10:56:38 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -222,8 +226,8 @@ interactions: - max-age=63072000; includeSubdomains; Transfer-Encoding: - chunked - Vary: - - Accept-Encoding + vary: + - accept-encoding http_version: HTTP/1.1 status_code: 200 version: 1 diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.yaml index 56c3694b5..e22936bde 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.yaml @@ -1,61 +1,4 @@ interactions: -- request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.674092%2C+49.404271%5D%2C+%5B8.69585%2C+49.404271%5D%2C+%5B8.69585%2C+49.415552%5D%2C+%5B8.674092%2C+49.415552%5D%2C+%5B8.674092%2C+49.404271%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D - headers: - accept: - - '*/*' - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '427' - content-type: - - application/x-www-form-urlencoded - host: - - api.ohsome.org - user-agent: - - ohsome-quality-analyst/0.10.0 - method: POST - uri: https://api.ohsome.org/v1/elements/count - response: - content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n - \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Headers: - - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization - Access-Control-Allow-Methods: - - POST, GET - Access-Control-Allow-Origin: - - '*' - Access-Control-Max-Age: - - '3600' - Cache-Control: - - no-cache, no-store, must-revalidate - Connection: - - Keep-Alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Tue, 21 Jun 2022 11:54:47 GMT - Keep-Alive: - - timeout=5, max=100 - Server: - - Apache/2.4.41 (Ubuntu) - Strict-Transport-Security: - - max-age=63072000; includeSubdomains; - Transfer-Encoding: - - chunked - vary: - - accept-encoding - http_version: HTTP/1.1 - status_code: 200 - request: body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.674092%2C+49.404271%5D%2C+%5B8.69585%2C+49.404271%5D%2C+%5B8.69585%2C+49.415552%5D%2C+%5B8.674092%2C+49.415552%5D%2C+%5B8.674092%2C+49.404271%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&time=2008-01-01%2F%2FP1M headers: @@ -72,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -252,7 +195,8 @@ interactions: \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -273,7 +217,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:54:47 GMT + - Mon, 18 Jul 2022 10:57:00 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -287,7 +231,7 @@ interactions: http_version: HTTP/1.1 status_code: 200 - request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+1%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.656512%2C+49.411047%5D%2C+%5B8.658857%2C+49.410217%5D%2C+%5B8.662864%2C+49.408734%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.670667%2C+49.405696%5D%2C+%5B8.6771%2C+49.40437%5D%2C+%5B8.67815%2C+49.404317%5D%2C+%5B8.679435%2C+49.404443%5D%2C+%5B8.681117%2C+49.404832%5D%2C+%5B8.682522%2C+49.405074%5D%2C+%5B8.683802%2C+49.405287%5D%2C+%5B8.68525%2C+49.405729%5D%2C+%5B8.686198%2C+49.405954%5D%2C+%5B8.690952%2C+49.406788%5D%2C+%5B8.694012%2C+49.407422%5D%2C+%5B8.69333%2C+49.409643%5D%2C+%5B8.692388%2C+49.411912%5D%2C+%5B8.690156%2C+49.411761%5D%2C+%5B8.686451%2C+49.411243%5D%2C+%5B8.68244%2C+49.410751%5D%2C+%5B8.679021%2C+49.410418%5D%2C+%5B8.676393%2C+49.410229%5D%2C+%5B8.672043%2C+49.410311%5D%2C+%5B8.667241%2C+49.410724%5D%2C+%5B8.664269%2C+49.411243%5D%2C+%5B8.661813%2C+49.411766%5D%2C+%5B8.659763%2C+49.411702%5D%2C+%5B8.658441%2C+49.411733%5D%2C+%5B8.656567%2C+49.412318%5D%2C+%5B8.656542%2C+49.411595%5D%2C+%5B8.656512%2C+49.411047%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.674092%2C+49.404271%5D%2C+%5B8.69585%2C+49.404271%5D%2C+%5B8.69585%2C+49.415552%5D%2C+%5B8.674092%2C+49.415552%5D%2C+%5B8.674092%2C+49.404271%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -296,20 +240,20 @@ interactions: connection: - keep-alive content-length: - - '1367' + - '427' content-type: - application/x-www-form-urlencoded host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 932.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -330,7 +274,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:55:03 GMT + - Mon, 18 Jul 2022 10:57:01 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -359,7 +303,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -539,7 +483,8 @@ interactions: \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n - \ \"value\" : 932.0\n } ]\n}" + \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 930.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -560,7 +505,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:55:03 GMT + - Mon, 18 Jul 2022 10:57:13 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -574,7 +519,7 @@ interactions: http_version: HTTP/1.1 status_code: 200 - request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+2%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.641543%2C+49.411303%5D%2C+%5B8.652386%2C+49.407391%5D%2C+%5B8.652606%2C+49.407365%5D%2C+%5B8.653961%2C+49.407038%5D%2C+%5B8.6543%2C+49.406824%5D%2C+%5B8.655838%2C+49.40599%5D%2C+%5B8.660063%2C+49.403751%5D%2C+%5B8.661088%2C+49.40313%5D%2C+%5B8.66298%2C+49.402053%5D%2C+%5B8.66549%2C+49.400802%5D%2C+%5B8.667152%2C+49.396417%5D%2C+%5B8.670565%2C+49.39681%5D%2C+%5B8.670855%2C+49.396698%5D%2C+%5B8.671368%2C+49.396856%5D%2C+%5B8.673028%2C+49.39762%5D%2C+%5B8.675503%2C+49.398956%5D%2C+%5B8.677606%2C+49.400029%5D%2C+%5B8.679977%2C+49.401302%5D%2C+%5B8.676274%2C+49.40322%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.661319%2C+49.407781%5D%2C+%5B8.658739%2C+49.40786%5D%2C+%5B8.656667%2C+49.408231%5D%2C+%5B8.654373%2C+49.408573%5D%2C+%5B8.654423%2C+49.40888%5D%2C+%5B8.653848%2C+49.408895%5D%2C+%5B8.653874%2C+49.409122%5D%2C+%5B8.651656%2C+49.409181%5D%2C+%5B8.649858%2C+49.409274%5D%2C+%5B8.647838%2C+49.409498%5D%2C+%5B8.646082%2C+49.409998%5D%2C+%5B8.64557%2C+49.409982%5D%2C+%5B8.642225%2C+49.411332%5D%2C+%5B8.641543%2C+49.411303%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+1%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.656512%2C+49.411047%5D%2C+%5B8.658857%2C+49.410217%5D%2C+%5B8.662864%2C+49.408734%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.670667%2C+49.405696%5D%2C+%5B8.6771%2C+49.40437%5D%2C+%5B8.67815%2C+49.404317%5D%2C+%5B8.679435%2C+49.404443%5D%2C+%5B8.681117%2C+49.404832%5D%2C+%5B8.682522%2C+49.405074%5D%2C+%5B8.683802%2C+49.405287%5D%2C+%5B8.68525%2C+49.405729%5D%2C+%5B8.686198%2C+49.405954%5D%2C+%5B8.690952%2C+49.406788%5D%2C+%5B8.694012%2C+49.407422%5D%2C+%5B8.69333%2C+49.409643%5D%2C+%5B8.692388%2C+49.411912%5D%2C+%5B8.690156%2C+49.411761%5D%2C+%5B8.686451%2C+49.411243%5D%2C+%5B8.68244%2C+49.410751%5D%2C+%5B8.679021%2C+49.410418%5D%2C+%5B8.676393%2C+49.410229%5D%2C+%5B8.672043%2C+49.410311%5D%2C+%5B8.667241%2C+49.410724%5D%2C+%5B8.664269%2C+49.411243%5D%2C+%5B8.661813%2C+49.411766%5D%2C+%5B8.659763%2C+49.411702%5D%2C+%5B8.658441%2C+49.411733%5D%2C+%5B8.656567%2C+49.412318%5D%2C+%5B8.656542%2C+49.411595%5D%2C+%5B8.656512%2C+49.411047%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -583,20 +528,20 @@ interactions: connection: - keep-alive content-length: - - '1455' + - '1367' content-type: - application/x-www-form-urlencoded host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 236.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 930.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -617,7 +562,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:55:19 GMT + - Mon, 18 Jul 2022 10:57:13 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -646,7 +591,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -826,6 +771,64 @@ interactions: \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n + \ \"value\" : 236.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 236.0\n } ]\n}" + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Headers: + - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization + Access-Control-Allow-Methods: + - POST, GET + Access-Control-Allow-Origin: + - '*' + Access-Control-Max-Age: + - '3600' + Cache-Control: + - no-cache, no-store, must-revalidate + Connection: + - Keep-Alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Mon, 18 Jul 2022 10:57:28 GMT + Keep-Alive: + - timeout=5, max=100 + Server: + - Apache/2.4.41 (Ubuntu) + Strict-Transport-Security: + - max-age=63072000; includeSubdomains; + Transfer-Encoding: + - chunked + vary: + - accept-encoding + http_version: HTTP/1.1 + status_code: 200 +- request: + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22id%22%3A+2%2C+%22geometry%22%3A+%7B%22type%22%3A+%22Polygon%22%2C+%22coordinates%22%3A+%5B%5B%5B8.641543%2C+49.411303%5D%2C+%5B8.652386%2C+49.407391%5D%2C+%5B8.652606%2C+49.407365%5D%2C+%5B8.653961%2C+49.407038%5D%2C+%5B8.6543%2C+49.406824%5D%2C+%5B8.655838%2C+49.40599%5D%2C+%5B8.660063%2C+49.403751%5D%2C+%5B8.661088%2C+49.40313%5D%2C+%5B8.66298%2C+49.402053%5D%2C+%5B8.66549%2C+49.400802%5D%2C+%5B8.667152%2C+49.396417%5D%2C+%5B8.670565%2C+49.39681%5D%2C+%5B8.670855%2C+49.396698%5D%2C+%5B8.671368%2C+49.396856%5D%2C+%5B8.673028%2C+49.39762%5D%2C+%5B8.675503%2C+49.398956%5D%2C+%5B8.677606%2C+49.400029%5D%2C+%5B8.679977%2C+49.401302%5D%2C+%5B8.676274%2C+49.40322%5D%2C+%5B8.670231%2C+49.405537%5D%2C+%5B8.669404%2C+49.405746%5D%2C+%5B8.66702%2C+49.406341%5D%2C+%5B8.66543%2C+49.406804%5D%2C+%5B8.662656%2C+49.407493%5D%2C+%5B8.661319%2C+49.407781%5D%2C+%5B8.658739%2C+49.40786%5D%2C+%5B8.656667%2C+49.408231%5D%2C+%5B8.654373%2C+49.408573%5D%2C+%5B8.654423%2C+49.40888%5D%2C+%5B8.653848%2C+49.408895%5D%2C+%5B8.653874%2C+49.409122%5D%2C+%5B8.651656%2C+49.409181%5D%2C+%5B8.649858%2C+49.409274%5D%2C+%5B8.647838%2C+49.409498%5D%2C+%5B8.646082%2C+49.409998%5D%2C+%5B8.64557%2C+49.409982%5D%2C+%5B8.642225%2C+49.411332%5D%2C+%5B8.641543%2C+49.411303%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + headers: + accept: + - '*/*' + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '1455' + content-type: + - application/x-www-form-urlencoded + host: + - api.ohsome.org + user-agent: + - ohsome-quality-analyst/0.10.1 + method: POST + uri: https://api.ohsome.org/v1/elements/count + response: + content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n + \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n \ \"value\" : 236.0\n } ]\n}" headers: Access-Control-Allow-Credentials: @@ -847,7 +850,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:55:21 GMT + - Mon, 18 Jul 2022 10:57:28 GMT Keep-Alive: - timeout=5, max=100 Server: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.yaml index c1136d661..c33f37c1e 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.yaml @@ -15,14 +15,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 932.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 930.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:56:10 GMT + - Mon, 18 Jul 2022 10:58:15 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -72,13 +72,13 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n \ \"value\" : 236.0\n } ]\n}" headers: Access-Control-Allow-Credentials: @@ -100,7 +100,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:56:13 GMT + - Mon, 18 Jul 2022 10:58:15 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -129,14 +129,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-06-12T20:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -157,7 +157,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:56:25 GMT + - Mon, 18 Jul 2022 10:58:27 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -186,7 +186,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -366,7 +366,8 @@ interactions: \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n - \ \"value\" : 932.0\n } ]\n}" + \ \"value\" : 932.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 930.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -387,7 +388,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:56:37 GMT + - Mon, 18 Jul 2022 10:58:38 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -416,7 +417,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -596,6 +597,7 @@ interactions: \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 235.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n + \ \"value\" : 236.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n \ \"value\" : 236.0\n } ]\n}" headers: Access-Control-Allow-Credentials: @@ -617,7 +619,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:56:51 GMT + - Mon, 18 Jul 2022 10:58:53 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -646,7 +648,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -826,7 +828,8 @@ interactions: \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n - \ \"value\" : 2112.0\n } ]\n}" + \ \"value\" : 2112.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 2110.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -847,7 +850,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 21 Jun 2022 11:57:15 GMT + - Mon, 18 Jul 2022 10:59:15 GMT Keep-Alive: - timeout=5, max=100 Server: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.yaml index 4c00d5899..6c6eb4e39 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_building_completeness.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_building_completeness.yaml index 1c6fc019a..e7998b08e 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_building_completeness.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_building_completeness.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/area/groupBy/boundary response: @@ -86,7 +86,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/area/groupBy/boundary response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.yaml index 08af96710..11aab65b8 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.yaml @@ -11,7 +11,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: GET uri: https://api.ohsome.org/v1/metadata response: @@ -72,7 +72,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -129,7 +129,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/contributions/latest/count response: @@ -208,7 +208,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/contributions/latest/count response: @@ -266,7 +266,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -323,7 +323,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/contributions/latest/count response: @@ -400,7 +400,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/contributions/latest/count response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.yaml index 364880cbc..a280ccb71 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_roads.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_roads.yaml index f93c0347f..4c9cc799d 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_roads.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_roads.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/length response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.yaml index dffb4cce7..9e341fd5e 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/length response: @@ -245,7 +245,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: @@ -475,7 +475,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.yaml index ce9ea3caf..9215443b0 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.yaml index a38cefc95..cb0af3a91 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count/ratio response: @@ -73,7 +73,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count/ratio response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_ohsome_client.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_ohsome_client.yaml index 6f79b61df..c421da1b4 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_ohsome_client.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_ohsome_client.yaml @@ -296,7 +296,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: GET uri: https://api.ohsome.org/v1/metadata response: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.yaml index 91f156088..579c0c17a 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.yaml @@ -1,6 +1,177 @@ interactions: - request: - body: bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&filter=building%3D%2A+and+geometry%3Apolygon + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + headers: + accept: + - '*/*' + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '1798' + content-type: + - application/x-www-form-urlencoded + host: + - api.ohsome.org + user-agent: + - ohsome-quality-analyst/0.10.1 + method: POST + uri: https://api.ohsome.org/v1/elements/count + response: + content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n + \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 269.0\n } ]\n}" + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Headers: + - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization + Access-Control-Allow-Methods: + - POST, GET + Access-Control-Allow-Origin: + - '*' + Access-Control-Max-Age: + - '3600' + Cache-Control: + - no-cache, no-store, must-revalidate + Connection: + - Keep-Alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Mon, 18 Jul 2022 11:00:06 GMT + Keep-Alive: + - timeout=5, max=100 + Server: + - Apache/2.4.41 (Ubuntu) + Strict-Transport-Security: + - max-age=63072000; includeSubdomains; + Transfer-Encoding: + - chunked + vary: + - accept-encoding + http_version: HTTP/1.1 + status_code: 200 +- request: + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + headers: + accept: + - '*/*' + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '1798' + content-type: + - application/x-www-form-urlencoded + host: + - api.ohsome.org + user-agent: + - ohsome-quality-analyst/0.10.1 + method: POST + uri: https://api.ohsome.org/v1/elements/count + response: + content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n + \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 269.0\n } ]\n}" + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Headers: + - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization + Access-Control-Allow-Methods: + - POST, GET + Access-Control-Allow-Origin: + - '*' + Access-Control-Max-Age: + - '3600' + Cache-Control: + - no-cache, no-store, must-revalidate + Connection: + - Keep-Alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Mon, 18 Jul 2022 11:00:06 GMT + Keep-Alive: + - timeout=5, max=100 + Server: + - Apache/2.4.41 (Ubuntu) + Strict-Transport-Security: + - max-age=63072000; includeSubdomains; + Transfer-Encoding: + - chunked + vary: + - accept-encoding + http_version: HTTP/1.1 + status_code: 200 +- request: + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D + headers: + accept: + - '*/*' + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '1798' + content-type: + - application/x-www-form-urlencoded + host: + - api.ohsome.org + user-agent: + - ohsome-quality-analyst/0.10.1 + method: POST + uri: https://api.ohsome.org/v1/elements/count + response: + content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n + \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 269.0\n } ]\n}" + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Headers: + - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization + Access-Control-Allow-Methods: + - POST, GET + Access-Control-Allow-Origin: + - '*' + Access-Control-Max-Age: + - '3600' + Cache-Control: + - no-cache, no-store, must-revalidate + Connection: + - Keep-Alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Mon, 18 Jul 2022 11:00:12 GMT + Keep-Alive: + - timeout=5, max=100 + Server: + - Apache/2.4.41 (Ubuntu) + Strict-Transport-Security: + - max-age=63072000; includeSubdomains; + Transfer-Encoding: + - chunked + vary: + - accept-encoding + http_version: HTTP/1.1 + status_code: 200 +- request: + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D headers: accept: - '*/*' @@ -15,14 +186,14 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.2\",\n \"result\" : [ {\n \"timestamp\" : \"2022-03-20T21:00:00Z\",\n - \ \"value\" : 30346.0\n } ]\n}" + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-07-10T20:00:00Z\",\n + \ \"value\" : 30446.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -41,9 +212,9 @@ interactions: Content-Encoding: - gzip Content-Type: - - application/json;charset=UTF-8 + - application/json Date: - - Mon, 28 Mar 2022 14:20:47 GMT + - Mon, 18 Jul 2022 11:00:23 GMT Keep-Alive: - timeout=5, max=100 Server: @@ -52,12 +223,12 @@ interactions: - max-age=63072000; includeSubdomains; Transfer-Encoding: - chunked - Vary: - - Accept-Encoding + vary: + - accept-encoding http_version: HTTP/1.1 status_code: 200 - request: - body: bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&filter=building%3D%2A+and+geometry%3Apolygon&time=2008-01-01%2F%2FP1M + body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B8.573519%2C+49.415844%5D%2C+%5B8.573125%2C+49.418096%5D%2C+%5B8.573602%2C+49.419967%5D%2C+%5B8.573137%2C+49.423648%5D%2C+%5B8.57776%2C+49.42532%5D%2C+%5B8.579572%2C+49.426242%5D%2C+%5B8.582888%2C+49.426469%5D%2C+%5B8.592864%2C+49.428812%5D%2C+%5B8.611134%2C+49.425455%5D%2C+%5B8.628308%2C+49.442962%5D%2C+%5B8.637725%2C+49.440277%5D%2C+%5B8.647106%2C+49.437602%5D%2C+%5B8.707905%2C+49.446383%5D%2C+%5B8.716206%2C+49.451763%5D%2C+%5B8.724684%2C+49.448596%5D%2C+%5B8.743338%2C+49.446934%5D%2C+%5B8.745999%2C+49.45398%5D%2C+%5B8.741644%2C+49.457488%5D%2C+%5B8.752892%2C+49.459332%5D%2C+%5B8.767943%2C+49.454273%5D%2C+%5B8.762008%2C+49.449545%5D%2C+%5B8.766739%2C+49.438141%5D%2C+%5B8.788416%2C+49.431047%5D%2C+%5B8.789941%2C+49.416687%5D%2C+%5B8.793216%2C+49.41046%5D%2C+%5B8.791873%2C+49.403912%5D%2C+%5B8.787115%2C+49.401839%5D%2C+%5B8.777999%2C+49.401612%5D%2C+%5B8.773679%2C+49.390183%5D%2C+%5B8.769462%2C+49.387665%5D%2C+%5B8.763519%2C+49.387265%5D%2C+%5B8.767844%2C+49.379545%5D%2C+%5B8.75502%2C+49.377409%5D%2C+%5B8.752547%2C+49.376444%5D%2C+%5B8.750183%2C+49.375517%5D%2C+%5B8.749349%2C+49.373812%5D%2C+%5B8.740263%2C+49.374336%5D%2C+%5B8.73117%2C+49.372358%5D%2C+%5B8.725257%2C+49.37439%5D%2C+%5B8.725259%2C+49.371116%5D%2C+%5B8.729116%2C+49.36789%5D%2C+%5B8.725838%2C+49.360442%5D%2C+%5B8.722815%2C+49.357364%5D%2C+%5B8.712037%2C+49.35558%5D%2C+%5B8.67493%2C+49.360645%5D%2C+%5B8.672847%2C+49.358114%5D%2C+%5B8.665655%2C+49.357579%5D%2C+%5B8.66451%2C+49.354379%5D%2C+%5B8.662033%2C+49.35426%5D%2C+%5B8.651996%2C+49.353727%5D%2C+%5B8.657231%2C+49.361494%5D%2C+%5B8.646111%2C+49.369879%5D%2C+%5B8.639986%2C+49.368719%5D%2C+%5B8.637725%2C+49.362532%5D%2C+%5B8.634015%2C+49.352379%5D%2C+%5B8.622614%2C+49.353352%5D%2C+%5B8.622976%2C+49.359493%5D%2C+%5B8.6024%2C+49.366157%5D%2C+%5B8.607315%2C+49.376967%5D%2C+%5B8.612846%2C+49.378247%5D%2C+%5B8.617598%2C+49.379362%5D%2C+%5B8.6324%2C+49.38678%5D%2C+%5B8.637725%2C+49.386869%5D%2C+%5B8.641426%2C+49.38693%5D%2C+%5B8.646667%2C+49.389265%5D%2C+%5B8.643391%2C+49.392889%5D%2C+%5B8.637725%2C+49.393259%5D%2C+%5B8.635895%2C+49.393737%5D%2C+%5B8.630921%2C+49.412538%5D%2C+%5B8.611559%2C+49.40539%5D%2C+%5B8.601979%2C+49.409237%5D%2C+%5B8.577429%2C+49.412229%5D%2C+%5B8.573519%2C+49.415844%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D&time=2008-01-01%2F%2FP1M headers: accept: - '*/*' @@ -72,13 +243,13 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.2\",\n \"result\" : [ {\n \"timestamp\" : \"2008-01-01T00:00:00Z\",\n + \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2008-01-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-02-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-03-01T00:00:00Z\",\n \ \"value\" : 1.0\n }, {\n \"timestamp\" : \"2008-04-01T00:00:00Z\",\n @@ -249,178 +420,11 @@ interactions: \ \"value\" : 29950.0\n }, {\n \"timestamp\" : \"2022-01-01T00:00:00Z\",\n \ \"value\" : 30032.0\n }, {\n \"timestamp\" : \"2022-02-01T00:00:00Z\",\n \ \"value\" : 30116.0\n }, {\n \"timestamp\" : \"2022-03-01T00:00:00Z\",\n - \ \"value\" : 30193.0\n } ]\n}" - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Headers: - - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization - Access-Control-Allow-Methods: - - POST, GET - Access-Control-Allow-Origin: - - '*' - Access-Control-Max-Age: - - '3600' - Cache-Control: - - no-cache, no-store, must-revalidate - Connection: - - Keep-Alive - Content-Encoding: - - gzip - Content-Type: - - application/json;charset=UTF-8 - Date: - - Mon, 28 Mar 2022 14:20:56 GMT - Keep-Alive: - - timeout=5, max=100 - Server: - - Apache/2.4.41 (Ubuntu) - Strict-Transport-Security: - - max-age=63072000; includeSubdomains; - Transfer-Encoding: - - chunked - Vary: - - Accept-Encoding - http_version: HTTP/1.1 - status_code: 200 -- request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D - headers: - accept: - - '*/*' - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '1798' - content-type: - - application/x-www-form-urlencoded - host: - - api.ohsome.org - user-agent: - - ohsome-quality-analyst/0.10.0 - method: POST - uri: https://api.ohsome.org/v1/elements/count - response: - content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n - \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-05-29T20:00:00Z\",\n - \ \"value\" : 269.0\n } ]\n}" - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Headers: - - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization - Access-Control-Allow-Methods: - - POST, GET - Access-Control-Allow-Origin: - - '*' - Access-Control-Max-Age: - - '3600' - Cache-Control: - - no-cache, no-store, must-revalidate - Connection: - - Keep-Alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 02 Jun 2022 15:14:48 GMT - Keep-Alive: - - timeout=5, max=100 - Server: - - Apache/2.4.41 (Ubuntu) - Strict-Transport-Security: - - max-age=63072000; includeSubdomains; - Transfer-Encoding: - - chunked - vary: - - accept-encoding - http_version: HTTP/1.1 - status_code: 200 -- request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D - headers: - accept: - - '*/*' - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '1798' - content-type: - - application/x-www-form-urlencoded - host: - - api.ohsome.org - user-agent: - - ohsome-quality-analyst/0.10.0 - method: POST - uri: https://api.ohsome.org/v1/elements/count - response: - content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n - \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-05-29T20:00:00Z\",\n - \ \"value\" : 269.0\n } ]\n}" - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Headers: - - Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization - Access-Control-Allow-Methods: - - POST, GET - Access-Control-Allow-Origin: - - '*' - Access-Control-Max-Age: - - '3600' - Cache-Control: - - no-cache, no-store, must-revalidate - Connection: - - Keep-Alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 02 Jun 2022 15:14:50 GMT - Keep-Alive: - - timeout=5, max=100 - Server: - - Apache/2.4.41 (Ubuntu) - Strict-Transport-Security: - - max-age=63072000; includeSubdomains; - Transfer-Encoding: - - chunked - vary: - - accept-encoding - http_version: HTTP/1.1 - status_code: 200 -- request: - body: filter=building%3D%2A+and+geometry%3Apolygon&bpolys=%7B%22type%22%3A+%22FeatureCollection%22%2C+%22features%22%3A+%5B%7B%22type%22%3A+%22Feature%22%2C+%22geometry%22%3A+%7B%22type%22%3A+%22MultiPolygon%22%2C+%22coordinates%22%3A+%5B%5B%5B%5B5.779109%2C+33.164272%5D%2C+%5B5.779597%2C+33.165833%5D%2C+%5B5.873785%2C+33.161541%5D%2C+%5B5.953008%2C+33.158386%5D%2C+%5B5.994273%2C+33.156437%5D%2C+%5B6.00104%2C+33.156494%5D%2C+%5B6.003383%2C+33.156322%5D%2C+%5B6.010534%2C+33.159302%5D%2C+%5B6.032845%2C+33.167492%5D%2C+%5B6.050291%2C+33.174145%5D%2C+%5B6.064626%2C+33.179127%5D%2C+%5B6.065389%2C+33.176319%5D%2C+%5B6.065595%2C+33.173397%5D%2C+%5B6.06603%2C+33.169556%5D%2C+%5B6.06764%2C+33.166409%5D%2C+%5B6.069221%2C+33.163601%5D%2C+%5B6.070499%2C+33.160736%5D%2C+%5B6.071112%2C+33.159073%5D%2C+%5B6.071789%2C+33.155117%5D%2C+%5B6.07125%2C+33.152485%5D%2C+%5B6.07192%2C+33.150482%5D%2C+%5B6.075404%2C+33.150593%5D%2C+%5B6.076807%2C+33.147846%5D%2C+%5B6.076922%2C+33.145035%5D%2C+%5B6.07785%2C+33.143661%5D%2C+%5B6.078469%2C+33.138214%5D%2C+%5B6.079002%2C+33.135067%5D%2C+%5B6.079151%2C+33.133175%5D%2C+%5B6.079191%2C+33.130653%5D%2C+%5B6.077878%2C+33.128132%5D%2C+%5B6.077868%2C+33.126587%5D%2C+%5B6.077988%2C+33.124237%5D%2C+%5B6.077168%2C+33.117935%5D%2C+%5B6.080079%2C+33.117073%5D%2C+%5B6.075289%2C+33.109226%5D%2C+%5B6.072396%2C+33.108307%5D%2C+%5B6.063847%2C+33.101608%5D%2C+%5B6.062587%2C+33.094959%5D%2C+%5B6.057929%2C+33.095989%5D%2C+%5B6.049627%2C+33.095417%5D%2C+%5B6.046957%2C+33.091751%5D%2C+%5B6.045289%2C+33.081322%5D%2C+%5B6.044991%2C+33.079891%5D%2C+%5B6.019088%2C+33.086136%5D%2C+%5B6.001361%2C+33.092896%5D%2C+%5B5.900273%2C+33.090488%5D%2C+%5B5.778012%2C+33.084068%5D%2C+%5B5.758799%2C+33.099312%5D%2C+%5B5.779109%2C+33.164272%5D%5D%5D%5D%7D%2C+%22properties%22%3A+%7B%7D%7D%5D%7D - headers: - accept: - - '*/*' - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '1798' - content-type: - - application/x-www-form-urlencoded - host: - - api.ohsome.org - user-agent: - - ohsome-quality-analyst/0.10.0 - method: POST - uri: https://api.ohsome.org/v1/elements/count - response: - content: "{\n \"attribution\" : {\n \"url\" : \"https://ohsome.org/copyrights\",\n - \ \"text\" : \"\xA9 OpenStreetMap contributors\"\n },\n \"apiVersion\" : - \"1.6.3\",\n \"result\" : [ {\n \"timestamp\" : \"2022-05-29T20:00:00Z\",\n - \ \"value\" : 269.0\n } ]\n}" + \ \"value\" : 30193.0\n }, {\n \"timestamp\" : \"2022-04-01T00:00:00Z\",\n + \ \"value\" : 30361.0\n }, {\n \"timestamp\" : \"2022-05-01T00:00:00Z\",\n + \ \"value\" : 30395.0\n }, {\n \"timestamp\" : \"2022-06-01T00:00:00Z\",\n + \ \"value\" : 30419.0\n }, {\n \"timestamp\" : \"2022-07-01T00:00:00Z\",\n + \ \"value\" : 30445.0\n } ]\n}" headers: Access-Control-Allow-Credentials: - 'true' @@ -441,7 +445,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 02 Jun 2022 15:14:50 GMT + - Mon, 18 Jul 2022 11:00:33 GMT Keep-Alive: - timeout=5, max=100 Server: diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt_geojson_io.yaml b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt_geojson_io.yaml index e275ae3aa..3b9e4c9d1 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt_geojson_io.yaml +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt_geojson_io.yaml @@ -15,7 +15,7 @@ interactions: host: - api.ohsome.org user-agent: - - ohsome-quality-analyst/0.10.0 + - ohsome-quality-analyst/0.10.1 method: POST uri: https://api.ohsome.org/v1/elements/count response: