Last active
January 17, 2019 15:05
-
-
Save nilsnolde/194631829c9281997c30d011cf2ef6b2 to your computer and use it in GitHub Desktop.
ors testing
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
{ | |
ors { | |
info: { | |
base_url: "https://openrouteservice.org/", | |
support_mail: "[email protected]", | |
author_tag: "openrouteservice", | |
content_licence: "LGPL 3.0" | |
}, | |
services: { | |
matrix: { | |
enabled: true, | |
maximum_locations: 200, | |
maximum_visited_nodes: 100000, | |
allow_resolve_locations: true, | |
attribution: "openrouteservice.org, OpenStreetMap contributors" | |
} | |
isochrones: { | |
enabled: true, | |
# possible values for maximum_range_distance and maximum_range_time are an integer or a list of values specifically defined for each profile | |
maximum_range_distance: | |
[ | |
{profiles: "any", value: 50000} | |
{profiles: "driving-car, driving-hgv", value: 100000} | |
], | |
maximum_range_time: | |
[ | |
{profiles: "any", value: 18000} | |
{profiles: "driving-car, driving-hgv", value: 3600} | |
], | |
maximum_intervals: 10, | |
maximum_locations: 2, | |
allow_compute_area: true, | |
statistics_providers: { | |
"provider1": { | |
"enabled": true, | |
"provider_name": "postgresql", | |
"provider_parameters": { | |
"host": "129.206.7.103", | |
"port": 5432, | |
"db_name": "gis", | |
"user": "admin", | |
"password": "gZwe5Nj", | |
"table_name": "ghs_pop_2015_esri54009", | |
"geometry_column": "rast" | |
}, | |
"property_mapping": { | |
"total_pop": "total_pop" | |
}, | |
"attribution": | |
"European Commission, Joint Research Centre (JRC); Columbia University, Center for International Earth Science Information Network - CIESIN (2015): GHS population grid, derived from GPW4, multitemporal (1975, 1990, 2000, 2015). European Commission, Joint Research Centre (JRC) [Dataset] PID: http://data.europa.eu/89h/jrc-ghsl-ghs_pop_gpw4_globe_r2015a" | |
} | |
} | |
attribution: "openrouteservice.org, OpenStreetMap contributors" | |
} | |
geocoding: { | |
enabled: true, | |
geocoder_name: pelias, | |
geocoding_url: "http://129.206.7.154:3100/v1/search", | |
reverse_geocoding_url: "http://129.206.7.154:3100/v1/reverse", | |
response_limit: 20, | |
user_agent: openrouteservice.org, | |
attribution: "openrouteservice.org, OpenStreetMap contributors" | |
} | |
locations: { | |
enabled: true, | |
provider_name: postgresql, | |
provider_parameters: { | |
host: "129.206.7.103", | |
port: 5432, | |
db_name: "gis", | |
user: "admin", | |
password: "gZwe5Nj", | |
table_name: "planet_osm_pois_42" | |
}, | |
response_limit: 1000, | |
maximum_categories: 5, | |
# maximum allowed length of a linestring, measured in meters | |
maximum_feature_length: 10000000, | |
# maximum allowed area of a polygon, measured in square meters | |
maximum_feature_area: -1, | |
# maximum allowed search radius | |
maximum_search_radius_for_points: 50000, | |
maximum_search_radius_for_linestrings: 2000, | |
maximum_search_radius_for_polygons: 1000, | |
attribution: "openrouteservice.org, OpenStreetMap contributors" | |
} | |
routing: { | |
enabled: true, | |
mode: "normal", | |
sources: ["/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/heidelberg.osm.gz"], | |
#sources: ["/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/hessen-latest.osm.pbf"], | |
init_threads: 1, | |
attribution: "openrouteservice.org, OpenStreetMap contributors, tmc - BASt", | |
distance_approximation: true, | |
profiles: { | |
#active: ["vehicles-hgv"], | |
active: ["vehicles-car", "vehicles-hgv", "bike", "bike-mtb", "bike-road", "pedestrian-walk", "pedestrian-hike", "wheelchair"], | |
default_params: { | |
encoder_flags_size: 4, | |
graphs_root_path: "graphs", | |
elevation_provider: multi, | |
elevation_cache_clear: false, | |
elevation_cache_path: "cgiar_provider", | |
instructions: true, | |
maximum_distance: 100000, | |
maximum_segment_distance_with_dynamic_weights: 50000, | |
maximum_waypoints: 50 | |
preparation: | |
{ | |
min_network_size: 200, | |
min_one_way_network_size: 200, | |
methods: | |
{ | |
lm: | |
{ | |
enabled: true, | |
threads: 1, | |
weightings: "fastest,shortest", | |
landmarks: 16 | |
} | |
} | |
} | |
execution: | |
{ | |
methods: | |
{ | |
lm: | |
{ | |
disabling_allowed: true, | |
active_landmarks: 8 | |
} | |
} | |
} | |
}, | |
profile-vehicles-car: { | |
profiles: "driving-car", | |
parameters: { | |
encoder_options: "turn_costs=true|block_fords=false|maximum_grade_level=1|use_acceleration=true", | |
maximum_distance: 100000, | |
elevation: true, | |
preparation: | |
{ | |
min_network_size: 200, | |
min_one_way_network_size: 200, | |
methods: | |
{ | |
ch: | |
{ | |
enabled: true, | |
threads: 1, | |
weightings: "fastest" | |
}, | |
lm: | |
{ | |
enabled: true, | |
threads: 1, | |
weightings: "fastest,shortest", | |
landmarks: 16 | |
} | |
} | |
} | |
execution: | |
{ | |
methods: | |
{ | |
ch: | |
{ | |
disabling_allowed: true | |
}, | |
lm: | |
{ | |
disabling_allowed: true, | |
active_landmarks: 8 | |
} | |
} | |
} | |
ext_storages: { | |
WayCategory: {}, | |
HeavyVehicle: {restrictions: true}, | |
WaySurfaceType: {}, | |
Tollways: {}, | |
Borders: { | |
"boundaries": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/borders.geojson", | |
"ids": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/ids.csv", | |
"openborders": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/openborders.csv" | |
}, | |
RoadAccessRestrictions: { | |
use_for_warnings: true | |
} | |
} | |
traffic: false | |
} | |
} | |
profile-vehicles-hgv: { | |
profiles: "driving-hgv", | |
parameters: { | |
encoder_options: "turn_costs=true|block_fords=false|use_acceleration=true", | |
maximum_distance: 100000, | |
elevation: true, | |
preparation: | |
{ | |
min_network_size: 200, | |
min_one_way_network_size: 200, | |
methods: | |
{ | |
ch: | |
{ | |
enabled: true, | |
threads: 1, | |
weightings: "fastest" | |
}, | |
lm: | |
{ | |
enabled: true, | |
threads: 1, | |
weightings: "fastest,shortest", | |
landmarks: 16 | |
} | |
} | |
} | |
execution: | |
{ | |
methods: | |
{ | |
ch: | |
{ | |
disabling_allowed: true | |
}, | |
lm: | |
{ | |
disabling_allowed: true, | |
active_landmarks: 8 | |
} | |
} | |
} | |
ext_storages: { | |
WayCategory: {}, | |
HeavyVehicle: {restrictions: true}, | |
WaySurfaceType: {}, | |
Tollways: {}, | |
Borders: { | |
"boundaries": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/borders.geojson", | |
"ids": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/ids.csv", | |
"openborders": "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/borders/openborders.csv" | |
}, | |
} | |
traffic: false | |
} | |
} | |
profile-bike: { | |
profiles: "cycling-regular", | |
parameters: { | |
encoder_options: "consider_elevation=false|turn_costs=true|block_fords=false", | |
elevation: true, | |
ext_storages: { | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
} | |
profile-bike-mtb: { | |
profiles: "cycling-mountain", | |
parameters: { | |
encoder_options: "consider_elevation=false|turn_costs=true|block_fords=false", | |
elevation: true, | |
ext_storages: { | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
} | |
profile-bike-road: { | |
profiles: "cycling-road", | |
parameters: { | |
encoder_options: "consider_elevation=false|turn_costs=false|block_fords=false", | |
elevation: true, | |
ext_storages: { | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
} | |
profile-bike-e: { | |
profiles: "cycling-electric", | |
parameters: { | |
encoder_options: "consider_elevation=false|turn_costs=true|block_fords=false", | |
elevation: true, | |
ext_storages: { | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
} | |
profile-pedestrian-walk: { | |
profiles: "foot-walking", | |
parameters: { | |
encoder_options: "block_fords=false", | |
elevation: true, | |
ext_storages: { | |
Index: { | |
filepath: "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/_streets_hd.csv" | |
}, | |
NoiseIndex: { | |
filepath: "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/noise_data_hd.csv" | |
}, | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
}, | |
profile-pedestrian-hike: { | |
profiles: "foot-hiking", | |
parameters: { | |
encoder_options: "block_fords=false", | |
elevation: true, | |
ext_storages: { | |
Index: { | |
filepath: "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/_streets_hd.csv" | |
}, | |
NoiseIndex: { | |
filepath: "/home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/data/noise_data_hd.csv" | |
}, | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
HillIndex: {}, | |
TrailDifficulty: {} | |
} | |
} | |
} | |
profile-wheelchair: { | |
profiles: "wheelchair", | |
parameters: { | |
encoder_options: "block_fords=true", | |
elevation: true, | |
ext_storages: { | |
WayCategory: {}, | |
WaySurfaceType: {}, | |
Wheelchair: { | |
# The KerbsOnCrossings option tells the builder whether kerb heights should only be attached to ways | |
# marked as crossings ("true"), or to any way they fall on ("false") | |
KerbsOnCrossings: "true" | |
}, | |
OsmId: {} # Allow the returning of som ids of ways in extra info | |
} | |
} | |
} | |
} | |
update: { | |
enabled: false, | |
time: "5, 10:10:00, 100000", | |
source: "URL/TO/**.osm.pbf", | |
extent: "", | |
working_directory: "./update_graphs" | |
} | |
traffic: { | |
enabled: false, | |
source: "type=ftp;server=viznrwftp.gewi.com;user=cacc016;password=4)Zn3450;file=viznrw.xml", | |
location_codes_path: "PATH/TO/TMC_LCL_LIST", | |
update_interval: 300000, | |
output_directory: "Temp" | |
} | |
} | |
} | |
logging: { | |
enabled: true, | |
level_file: "DEBUG_LOGGING.properties", | |
location: "./logs", | |
stdout: true | |
} | |
} | |
} |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building openrouteservice-api-tests 0.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ openrouteservice-api-tests --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/src/main/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ openrouteservice-api-tests --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ openrouteservice-api-tests --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ openrouteservice-api-tests --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ openrouteservice-api-tests --- | |
[INFO] | |
[INFO] ------------------------------------------------------- | |
[INFO] T E S T S | |
[INFO] ------------------------------------------------------- | |
[INFO] Running heigit.ors.services.routing.ParamsTest | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.687782%2C49.424597&preference=fastest&profile=cycling-regular&geometry=false | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.687782,49.424597 | |
preference=fastest | |
profile=cycling-regular | |
geometry=false | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.687782%2C49.424597&preference=fastest&geometry=true&profile=cycling-road&options=%7B%22avoid_features%22%3A%22highways%7Ctollways%7Cferries%7Ctunnels%7Cunpavedroads%7Ctracks%7Cfords%22%2C%22profile_params%22%3A%7B%22hazmat%22%3A%22true%22%2C%22width%22%3A%225%22%2C%22length%22%3A%2210%22%2C%22weight%22%3A%225%22%2C%22axleload%22%3A%222%22%2C%22height%22%3A%223%22%7D%2C%22maximum_speed%22%3A%2275%22%7D | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.687782,49.424597 | |
preference=fastest | |
geometry=true | |
profile=cycling-road | |
options={"avoid_features":"highways|tollways|ferries|tunnels|unpavedroads|tracks|fords","profile_params":{"hazmat":"true","width":"5","length":"10","weight":"5","axleload":"2","height":"3"},"maximum_speed":"75"} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.687782%2C49.424597&preference=fastest&geometry=true&profile=driving-car&options=%7B%22avoid_features%22%3A%22steps%7Cfords%22%2C%22maximum_speed%22%3A%225%22%7D | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.687782,49.424597 | |
preference=fastest | |
geometry=true | |
profile=driving-car | |
options={"avoid_features":"steps|fords","maximum_speed":"5"} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.675154%2C49.407727%7C8.675863%2C49.407162&preference=shortest&profile=driving-car | |
Proxy: <none> | |
Request params: coordinates=8.675154,49.407727|8.675863,49.407162 | |
preference=shortest | |
profile=driving-car | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
HTTP/1.1 200 OK | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 681 | |
Date: Thu, 17 Jan 2019 08:12:41 GMT | |
{ | |
"routes": [ | |
{ | |
"warnings": [ | |
{ | |
"code": 1, | |
"message": "There may be restrictions on some roads" | |
} | |
], | |
"summary": { | |
"distance": 115.2, | |
"duration": 19.9 | |
}, | |
"geometry_format": "encodedpolyline", | |
"geometry": "y}plHuj}s@AkA?a@r@AFAFCHERMPCN?", | |
"segments": [ | |
{ | |
"distance": 115.2, | |
"duration": 19.9, | |
"steps": [ | |
{ | |
"distance": 40.1, | |
"duration": 4.1, | |
"type": 11, | |
"instruction": "Head east on Bergheimer Straße", | |
"name": "Bergheimer Straße", | |
"way_points": [ | |
0, | |
2 | |
] | |
}, | |
{ | |
"distance": 75.1, | |
"duration": 15.8, | |
"type": 1, | |
"instruction": "Turn right", | |
"name": "", | |
"way_points": [ | |
2, | |
9 | |
] | |
}, | |
{ | |
"distance": 0, | |
"duration": 0, | |
"type": 10, | |
"instruction": "Arrive at your destination, straight ahead", | |
"name": "", | |
"way_points": [ | |
9, | |
9 | |
] | |
} | |
] | |
} | |
], | |
"way_points": [ | |
0, | |
9 | |
], | |
"extras": { | |
"roadaccessrestrictions": { | |
"values": [ | |
[ | |
0, | |
2, | |
0 | |
], | |
[ | |
2, | |
9, | |
32 | |
] | |
], | |
"summary": [ | |
{ | |
"value": 32, | |
"distance": 75.1, | |
"amount": 65.19 | |
}, | |
{ | |
"value": 0, | |
"distance": 40.1, | |
"amount": 34.81 | |
} | |
] | |
} | |
}, | |
"bbox": [ | |
8.67515, | |
49.407162, | |
8.675864, | |
49.407821 | |
] | |
} | |
], | |
"bbox": [ | |
8.67515, | |
49.407162, | |
8.675864, | |
49.407821 | |
], | |
"info": { | |
"attribution": "openrouteservice.org, OpenStreetMap contributors, tmc - BASt", | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"service": "routing", | |
"timestamp": 1547712761435, | |
"query": { | |
"profile": "driving-car", | |
"preference": "shortest", | |
"coordinates": [ | |
[ | |
8.675154, | |
49.407727 | |
], | |
[ | |
8.675863, | |
49.407162 | |
] | |
], | |
"language": "en", | |
"units": "m", | |
"geometry": true, | |
"geometry_format": "encodedpolyline", | |
"instructions_format": "text", | |
"instructions": true, | |
"elevation": false | |
} | |
} | |
} | |
[INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.607 s - in heigit.ors.services.routing.ParamsTest | |
[INFO] Running heigit.ors.services.routing.ResultTest | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.714733%2C49.393267%7C8.687782%2C49.424597&instructions=true&preference=fastest&profile=cycling-regular&elevation=true | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.714733,49.393267|8.687782,49.424597 | |
instructions=true | |
preference=fastest | |
profile=cycling-regular | |
elevation=true | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.714733%2C49.393267%7C8.687782%2C49.424597&instructions=true&preference=fastest&profile=cycling-regular | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.714733,49.393267|8.687782,49.424597 | |
instructions=true | |
preference=fastest | |
profile=cycling-regular | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.714733%2C49.393267%7C8.687782%2C49.424597&instructions=true&preference=fastest&profile=cycling-regular&elevation=true | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.714733,49.393267|8.687782,49.424597 | |
instructions=true | |
preference=fastest | |
profile=cycling-regular | |
elevation=true | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.714733%2C49.393267%7C8.687782%2C49.424597&instructions=true&preference=fastest&profile=cycling-regular&extra_info=surface%7Csuitability%7Csteepness | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.714733,49.393267|8.687782,49.424597 | |
instructions=true | |
preference=fastest | |
profile=cycling-regular | |
extra_info=surface|suitability|steepness | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.711343%2C49.401186%7C8.738122%2C49.402275&instructions=true&preference=fastest&profile=cycling-mountain&extra_info=traildifficulty&options=%7B%22profile_params%22%3A%7B%22restrictions%22%3A%7B%22trail_difficulty%22%3A1%7D%7D%7D | |
Proxy: <none> | |
Request params: coordinates=8.711343,49.401186|8.738122,49.402275 | |
instructions=true | |
preference=fastest | |
profile=cycling-mountain | |
extra_info=traildifficulty | |
options={"profile_params":{"restrictions":{"trail_difficulty":1}}} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.763442%2C49.388882%7C8.762927%2C49.397541&instructions=true&preference=fastest&profile=cycling-regular&extra_info=suitability%7Ctraildifficulty | |
Proxy: <none> | |
Request params: coordinates=8.763442,49.388882|8.762927,49.397541 | |
instructions=true | |
preference=fastest | |
profile=cycling-regular | |
extra_info=suitability|traildifficulty | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.690915%2C49.430117%7C8.68834%2C49.427758&instructions=false&preference=shortest&profile=driving-hgv&options=%7B%22profile_params%22%3A%7B%22restrictions%22%3A%7B%22width%22%3A%223%22%7D%7D%2C%22vehicle_type%22%3A%22hgv%22%7D&units=m | |
Proxy: <none> | |
Request params: coordinates=8.690915,49.430117|8.68834,49.427758 | |
instructions=false | |
preference=shortest | |
profile=driving-hgv | |
options={"profile_params":{"restrictions":{"width":"3"}},"vehicle_type":"hgv"} | |
units=m | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.686849%2C49.406093%7C8.687525%2C49.405437&instructions=false&preference=shortest&profile=driving-hgv&options=%7B%22profile_params%22%3A%7B%22restrictions%22%3A%7B%22axleload%22%3A%2212.9%22%7D%7D%2C%22vehicle_type%22%3A%22hgv%22%7D&units=m | |
Proxy: <none> | |
Request params: coordinates=8.686849,49.406093|8.687525,49.405437 | |
instructions=false | |
preference=shortest | |
profile=driving-hgv | |
options={"profile_params":{"restrictions":{"axleload":"12.9"}},"vehicle_type":"hgv"} | |
units=m | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.690915%2C49.430117%7C8.68834%2C49.427758&instructions=false&preference=shortest&profile=driving-car | |
Proxy: <none> | |
Request params: coordinates=8.690915,49.430117|8.68834,49.427758 | |
instructions=false | |
preference=shortest | |
profile=driving-car | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.684682%2C49.401961%7C8.690518%2C49.405326&instructions=false&preference=shortest&profile=driving-car&options=%7B%22avoid_borders%22%3A%22controlled%22%7D | |
Proxy: <none> | |
Request params: coordinates=8.684682,49.401961|8.690518,49.405326 | |
instructions=false | |
preference=shortest | |
profile=driving-car | |
options={"avoid_borders":"controlled"} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.684682%2C49.401961%7C8.690518%2C49.405326&instructions=false&preference=shortest&profile=driving-car&options=%7B%22avoid_countries%22%3A%223%22%7D | |
Proxy: <none> | |
Request params: coordinates=8.684682,49.401961|8.690518,49.405326 | |
instructions=false | |
preference=shortest | |
profile=driving-car | |
options={"avoid_countries":"3"} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/routes?coordinates=8.678613%2C49.411721%7C8.687782%2C49.424597&preference=shortest&profile=driving-car&options=%7B%22avoid_polygons%22%3A%7B%22type%22%3A%22Polygon%22%2C%22coordinates%22%3A%5B%5B%5B%228.680%22%2C%2249.421%22%5D%2C%5B%228.687%22%2C%2249.421%22%5D%2C%5B%228.687%22%2C%2249.418%22%5D%2C%5B%228.680%22%2C%2249.418%22%5D%2C%5B%228.680%22%2C%2249.421%22%5D%5D%5D%7D%7D | |
Proxy: <none> | |
Request params: coordinates=8.678613,49.411721|8.687782,49.424597 | |
preference=shortest | |
profile=driving-car | |
options={"avoid_polygons":{"type":"Polygon","coordinates":[[["8.680","49.421"],["8.687","49.421"],["8.687","49.418"],["8.680","49.418"],["8.680","49.421"]]]}} | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
[ERROR] Tests run: 40, Failures: 15, Errors: 1, Skipped: 0, Time elapsed: 2.554 s <<< FAILURE! - in heigit.ors.services.routing.ResultTest | |
[ERROR] testSummary(heigit.ors.services.routing.ResultTest) Time elapsed: 0.092 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <11259.9F> | |
Actual: 11259.3 | |
at heigit.ors.services.routing.ResultTest.testSummary(ResultTest.java:468) | |
[ERROR] testSegmentDistances(heigit.ors.services.routing.ResultTest) Time elapsed: 0.089 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].segments[0].distance doesn't match. | |
Expected: is <5666.4F> | |
Actual: 5665.9 | |
at heigit.ors.services.routing.ResultTest.testSegmentDistances(ResultTest.java:490) | |
[ERROR] testEncodedPolyline(heigit.ors.services.routing.ResultTest) Time elapsed: 0.063 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].geometry doesn't match. | |
Expected: is "gvqlHk`~s@cwUB?tC?Cp@NAdIAE`EQaCi@WiCaDcAuG?C]g@MaBVM_C`HCInAKcA~CAIjA?GhAGqAzDEsAh@Eu@a@CcA{@GqAuCAQeAC_A_DAOoAEcAaCEgAsB@Wu@E?q@KB]AYIEo@?AOBcAyGbBIiADIaA?EmBq@CyA]AaAHAa@HAgAeARCHHAHCqBp@BIHAy@VAURJQX@M\?E\?]\Cm@\ATR@RH?JHAd@f@K?dAAw@RDAF~HsAxDF?RF@RF@RB@RBDPBBNFRv@HVt@FJr@LZr@JTp@BBp@D@n@B@n@RAl@HCj@RGj@PIcAvAu@}IPGeA~@e@uHVMkCFCkCJCkCRCkCZFkCNFkCDFkC\ZiDBBiDJDiDPD{@J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?cAN?cAV?k@^?[Z?c@b@?IJ?EF?EB?DF?IT?ED?CF?MJ?o@h@?CD?CH?AH?AH?AF?H`D?HbA?\pC?LfA?F`@?BP?R`A?Tz@?JT?[R?QN?EH?GE?EC?MN?_@l@?s@tA?{@r@?{AbB?iAdA?SL?E@?CB?_Bl@?_DvC?wFvH?Uf@?Wz@?CT?AF?@bA?FzB?d@nE?NhD?@T?@F?DV?\`A?BP??N?IN?SF?QI?O_@?EM?IS?Sm@?S{@?]kB?Qi@?Oa@?Wa@?IG?L\?ZdA?dA~H?Pj@?NT?BD?DB?D@?F@??L?bAX?j@h@?LN?JJ?T\?Hd@?D`A?EhA?@P?Hl@?Pn@?ApA?BZ?Pj@?LT?CH?AN??F?OC?w@M?QM?Ye@?o@iB?SY?EC?KG?YI?]B?OD?o@d@?@D?V??FD?DL?PjA?AJ?KR?CD?CH?Qx@?Cy@?AM?EA?KpA?CT?GZ?E\??z@?A@?A??[kB????C@?GH?uBvA?OJ?m@d@?I@?SB?OL?Bd@??L?H`C??B?G@?I@?}@Z?_DbA?KD?KD?{C~@?oHhB?K??SC?GB?O@?UJ?CB?EB?oIxA?E@?k@H?G??[B?U@?G^?CB?qAD?qAF?K??I@?gA??{@B?O??[@?o@B?iCH?O@?C??k@@?m@H?OD?]V?gAlA?_AfA?UR?ED?C??Q??OB?E@?qBn@?A@?SH?OJ?EL?CD?gAb@?q@\?mAt@?y@f@?y@X?eBt@?YJ?E@?_@L?mA`@?c@N?{C`A?_DfA?uAf@?MH?KJ?G@?GC?IN?CG?I??KB? | |
at heigit.ors.services.routing.ResultTest.testEncodedPolyline(ResultTest.java:512) | |
[ERROR] testExtrasDetails(heigit.ors.services.routing.ResultTest) Time elapsed: 0.097 s <<< ERROR! | |
java.lang.IllegalArgumentException: Cannot invoke method getAt() on null object | |
at heigit.ors.services.routing.ResultTest.testExtrasDetails(ResultTest.java:622) | |
Caused by: java.lang.NullPointerException: Cannot invoke method getAt() on null object | |
at heigit.ors.services.routing.ResultTest.testExtrasDetails(ResultTest.java:622) | |
[ERROR] testAvoidTrailDifficulty(heigit.ors.services.routing.ResultTest) Time elapsed: 0.033 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].segments[0].distance doesn't match. | |
Expected: is <2862> | |
Actual: 2857.1 | |
at heigit.ors.services.routing.ResultTest.testAvoidTrailDifficulty(ResultTest.java:678) | |
[ERROR] testTrailDifficultyExtraDetails(heigit.ors.services.routing.ResultTest) Time elapsed: 0.032 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].extras.traildifficulty.values.size() doesn't match. | |
Expected: is <3> | |
Actual: 2 | |
at heigit.ors.services.routing.ResultTest.testTrailDifficultyExtraDetails(ResultTest.java:712) | |
[ERROR] testHGVWidthRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.023 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <809.3F> | |
Actual: 807.8 | |
at heigit.ors.services.routing.ResultTest.testHGVWidthRestriction(ResultTest.java:1030) | |
[ERROR] testHGVAxleLoadRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.023 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <132.9F> | |
Actual: 132.8 | |
at heigit.ors.services.routing.ResultTest.testHGVAxleLoadRestriction(ResultTest.java:1100) | |
[ERROR] testCarDistanceAndDuration(heigit.ors.services.routing.ResultTest) Time elapsed: 0.024 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <379.5F> | |
Actual: 378.8 | |
at heigit.ors.services.routing.ResultTest.testCarDistanceAndDuration(ResultTest.java:1134) | |
[ERROR] testBordersAvoid(heigit.ors.services.routing.ResultTest) Time elapsed: 0.024 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <1404> | |
Actual: 1403.8 | |
at heigit.ors.services.routing.ResultTest.testBordersAvoid(ResultTest.java:1155) | |
[ERROR] testCountryExclusion(heigit.ors.services.routing.ResultTest) Time elapsed: 0.041 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <1156.6F> | |
Actual: 1156.3 | |
at heigit.ors.services.routing.ResultTest.testCountryExclusion(ResultTest.java:1187) | |
[ERROR] testAvoidArea(heigit.ors.services.routing.ResultTest) Time elapsed: 0.037 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <2181.7F> | |
Actual: 2181.6 | |
at heigit.ors.services.routing.ResultTest.testAvoidArea(ResultTest.java:1282) | |
[ERROR] testWheelchairInclineRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.05 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.duration doesn't match. | |
Expected: is <172.5F> | |
Actual: 172.4 | |
at heigit.ors.services.routing.ResultTest.testWheelchairInclineRestriction(ResultTest.java:1346) | |
[ERROR] testWheelchairKerbRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.024 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <74.1F> | |
Actual: 74 | |
at heigit.ors.services.routing.ResultTest.testWheelchairKerbRestriction(ResultTest.java:1362) | |
[ERROR] testWheelchairSurfaceRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.03 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.duration doesn't match. | |
Expected: is <240.3F> | |
Actual: 240.2 | |
at heigit.ors.services.routing.ResultTest.testWheelchairSurfaceRestriction(ResultTest.java:1394) | |
[ERROR] testWheelchairSmoothnessRestriction(heigit.ors.services.routing.ResultTest) Time elapsed: 0.019 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <748.4F> | |
Actual: 748.3 | |
at heigit.ors.services.routing.ResultTest.testWheelchairSmoothnessRestriction(ResultTest.java:1424) | |
[INFO] Running heigit.ors.services.matrix.ResultsValidationTest | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/matrix?locations=8.690733%2C49.387283%7C8.692771%2C49.385118%7C8.686409%2C49.426272&sources=0%2C1&destinations=2&metrics=distance%7Cduration&profile=driving-car | |
Proxy: <none> | |
Request params: locations=8.690733,49.387283|8.692771,49.385118|8.686409,49.426272 | |
sources=0,1 | |
destinations=2 | |
metrics=distance|duration | |
profile=driving-car | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.737 s <<< FAILURE! - in heigit.ors.services.matrix.ResultsValidationTest | |
[ERROR] distanceTest(heigit.ors.services.matrix.ResultsValidationTest) Time elapsed: 0.674 s <<< FAILURE! | |
junit.framework.AssertionFailedError: null | |
at heigit.ors.services.matrix.ResultsValidationTest.distanceTest(ResultsValidationTest.java:253) | |
[INFO] Running heigit.ors.services.matrix.ParametersValidationTest | |
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 s - in heigit.ors.services.matrix.ParametersValidationTest | |
[INFO] Running heigit.ors.services.helper.StatusServiceTest | |
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in heigit.ors.services.helper.StatusServiceTest | |
[INFO] Running heigit.ors.services.helper.HealthServiceTest | |
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in heigit.ors.services.helper.HealthServiceTest | |
[INFO] Running heigit.ors.services.optimization.ParametersValidationTest | |
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 s - in heigit.ors.services.optimization.ParametersValidationTest | |
[INFO] Running heigit.ors.services.isochrones.ParamsTest | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/isochrones?locations=8.684177%2C49.423034&profile=cycling-regular&range=1800&range_type=distance&interval=200&units=km&location_type=start | |
Proxy: <none> | |
Request params: locations=8.684177,49.423034 | |
profile=cycling-regular | |
range=1800 | |
range_type=distance | |
interval=200 | |
units=km | |
location_type=start | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/isochrones?locations=8.684177%2C49.423034&profile=cycling-regular&range=1800&range_type=distance&interval=200&units=m&location_type=start | |
Proxy: <none> | |
Request params: locations=8.684177,49.423034 | |
profile=cycling-regular | |
range=1800 | |
range_type=distance | |
interval=200 | |
units=m | |
location_type=start | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/isochrones?locations=8.684177%2C49.423034&profile=cycling-regular&range=1800&range_type=distance&interval=200&units=mi&location_type=start | |
Proxy: <none> | |
Request params: locations=8.684177,49.423034 | |
profile=cycling-regular | |
range=1800 | |
range_type=distance | |
interval=200 | |
units=mi | |
location_type=start | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
HTTP/1.1 200 OK | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 764 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
8.663811, | |
49.424664 | |
], | |
[ | |
8.664004, | |
49.421055 | |
], | |
[ | |
8.664504, | |
49.419272 | |
], | |
[ | |
8.666072, | |
49.417336 | |
], | |
[ | |
8.666915, | |
49.416584 | |
], | |
[ | |
8.666996, | |
49.416535 | |
], | |
[ | |
8.667812, | |
49.416241 | |
], | |
[ | |
8.668617, | |
49.415923 | |
], | |
[ | |
8.669759, | |
49.415456 | |
], | |
[ | |
8.671095, | |
49.414837 | |
], | |
[ | |
8.674753, | |
49.41212 | |
], | |
[ | |
8.676378, | |
49.410863 | |
], | |
[ | |
8.677476, | |
49.410163 | |
], | |
[ | |
8.678019, | |
49.409822 | |
], | |
[ | |
8.678219, | |
49.409759 | |
], | |
[ | |
8.678746, | |
49.409818 | |
], | |
[ | |
8.683039, | |
49.412493 | |
], | |
[ | |
8.685829, | |
49.41273 | |
], | |
[ | |
8.690299, | |
49.409451 | |
], | |
[ | |
8.690311, | |
49.409446 | |
], | |
[ | |
8.691933, | |
49.409103 | |
], | |
[ | |
8.692352, | |
49.409191 | |
], | |
[ | |
8.692965, | |
49.409338 | |
], | |
[ | |
8.69458, | |
49.409839 | |
], | |
[ | |
8.69769, | |
49.411775 | |
], | |
[ | |
8.697714, | |
49.415375 | |
], | |
[ | |
8.696425, | |
49.420385 | |
], | |
[ | |
8.696746, | |
49.421849 | |
], | |
[ | |
8.694991, | |
49.423792 | |
], | |
[ | |
8.697941, | |
49.428059 | |
], | |
[ | |
8.699413, | |
49.428834 | |
], | |
[ | |
8.699429, | |
49.428858 | |
], | |
[ | |
8.697698, | |
49.432747 | |
], | |
[ | |
8.695767, | |
49.433408 | |
], | |
[ | |
8.695244, | |
49.433515 | |
], | |
[ | |
8.690956, | |
49.430921 | |
], | |
[ | |
8.688757, | |
49.433771 | |
], | |
[ | |
8.687876, | |
49.435623 | |
], | |
[ | |
8.685875, | |
49.43718 | |
], | |
[ | |
8.684874, | |
49.437928 | |
], | |
[ | |
8.681564, | |
49.439067 | |
], | |
[ | |
8.679664, | |
49.439289 | |
], | |
[ | |
8.679448, | |
49.439267 | |
], | |
[ | |
8.678848, | |
49.439198 | |
], | |
[ | |
8.677963, | |
49.439092 | |
], | |
[ | |
8.676315, | |
49.438676 | |
], | |
[ | |
8.673253, | |
49.437643 | |
], | |
[ | |
8.66844, | |
49.43487 | |
], | |
[ | |
8.667658, | |
49.432541 | |
], | |
[ | |
8.667537, | |
49.431385 | |
], | |
[ | |
8.66491, | |
49.426474 | |
], | |
[ | |
8.663811, | |
49.424664 | |
] | |
] | |
] | |
}, | |
"properties": { | |
"group_index": 0, | |
"value": 400, | |
"center": [ | |
8.684162, | |
49.423072 | |
], | |
"area": 6115002.21, | |
"reachfactor": 0.1752 | |
} | |
} | |
], | |
"bbox": [ | |
8.663811, | |
49.409103, | |
8.699429, | |
49.439289 | |
], | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"service": "isochrones", | |
"query": { | |
"ranges": "400.0", | |
"profile": "cycling-regular", | |
"locations": [ | |
[ | |
8.684177, | |
49.423034 | |
] | |
], | |
"attributes": "area|reachfactor", | |
"range_type": "time", | |
"location_type": "start" | |
}, | |
"attribution": "openrouteservice.org, OpenStreetMap contributors", | |
"timestamp": 1547712766933 | |
} | |
} | |
HTTP/1.1 400 Bad Request | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 180 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
Connection: close | |
{ | |
"error": { | |
"code": 3003, | |
"message": "Parameter 'attributes' has incorrect value of 'reachfactorrr'." | |
}, | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"timestamp": 1547712766967 | |
} | |
} | |
HTTP/1.1 200 OK | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 622 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
8.660538, | |
49.419992 | |
], | |
[ | |
8.660538, | |
49.419976 | |
], | |
[ | |
8.661223, | |
49.418655 | |
], | |
[ | |
8.666537, | |
49.415083 | |
], | |
[ | |
8.667784, | |
49.414372 | |
], | |
[ | |
8.673918, | |
49.410852 | |
], | |
[ | |
8.675827, | |
49.409498 | |
], | |
[ | |
8.676036, | |
49.40951 | |
], | |
[ | |
8.684956, | |
49.409835 | |
], | |
[ | |
8.689163, | |
49.408875 | |
], | |
[ | |
8.689875, | |
49.408701 | |
], | |
[ | |
8.691258, | |
49.408412 | |
], | |
[ | |
8.693882, | |
49.407989 | |
], | |
[ | |
8.699579, | |
49.411211 | |
], | |
[ | |
8.70019, | |
49.412002 | |
], | |
[ | |
8.699576, | |
49.415549 | |
], | |
[ | |
8.699137, | |
49.416 | |
], | |
[ | |
8.698109, | |
49.416709 | |
], | |
[ | |
8.700027, | |
49.425305 | |
], | |
[ | |
8.702394, | |
49.425705 | |
], | |
[ | |
8.70451, | |
49.426924 | |
], | |
[ | |
8.70424, | |
49.430513 | |
], | |
[ | |
8.703715, | |
49.431884 | |
], | |
[ | |
8.702966, | |
49.43268 | |
], | |
[ | |
8.695234, | |
49.436798 | |
], | |
[ | |
8.694727, | |
49.436865 | |
], | |
[ | |
8.687541, | |
49.438408 | |
], | |
[ | |
8.679799, | |
49.441545 | |
], | |
[ | |
8.673194, | |
49.439714 | |
], | |
[ | |
8.666611, | |
49.435718 | |
], | |
[ | |
8.665111, | |
49.432825 | |
], | |
[ | |
8.662994, | |
49.425835 | |
], | |
[ | |
8.66136, | |
49.421982 | |
], | |
[ | |
8.660538, | |
49.419992 | |
] | |
] | |
] | |
}, | |
"properties": { | |
"group_index": 0, | |
"value": 2000, | |
"center": [ | |
8.684162, | |
49.423072 | |
] | |
} | |
} | |
], | |
"bbox": [ | |
8.660538, | |
49.407989, | |
8.70451, | |
49.441545 | |
], | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"service": "isochrones", | |
"query": { | |
"ranges": "2000.0", | |
"profile": "cycling-regular", | |
"locations": [ | |
[ | |
8.684177, | |
49.423034 | |
] | |
], | |
"range_type": "distance", | |
"location_type": "start" | |
}, | |
"attribution": "openrouteservice.org, OpenStreetMap contributors", | |
"timestamp": 1547712767011 | |
} | |
} | |
HTTP/1.1 400 Bad Request | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 174 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
Connection: close | |
{ | |
"error": { | |
"code": 3003, | |
"message": "Parameter 'smoothing' has incorrect value of 'ten'." | |
}, | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"timestamp": 1547712767018 | |
} | |
} | |
HTTP/1.1 400 Bad Request | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 173 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
Connection: close | |
{ | |
"error": { | |
"code": 3003, | |
"message": "Parameter 'smoothing' has incorrect value of '101'." | |
}, | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"timestamp": 1547712767031 | |
} | |
} | |
HTTP/1.1 400 Bad Request | |
Server: Apache-Coyote/1.1 | |
Vary: Accept-Encoding | |
Content-Encoding: gzip | |
Content-Type: application/json;charset=UTF-8 | |
Content-Length: 173 | |
Date: Thu, 17 Jan 2019 08:12:46 GMT | |
Connection: close | |
{ | |
"error": { | |
"code": 3003, | |
"message": "Parameter 'smoothing' has incorrect value of '-1'." | |
}, | |
"info": { | |
"engine": { | |
"version": "4.7.0", | |
"build_date": "2019-01-17T07:57:32Z" | |
}, | |
"timestamp": 1547712767058 | |
} | |
} | |
[INFO] Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.534 s - in heigit.ors.services.isochrones.ParamsTest | |
[INFO] Running heigit.ors.services.isochrones.ResultTest | |
Request method: GET | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/isochrones?locations=8.684177%2C49.423034&profile=cycling-regular&range=400&attributes=reachfactor%7Carea | |
Proxy: <none> | |
Request params: locations=8.684177,49.423034 | |
profile=cycling-regular | |
range=400 | |
attributes=reachfactor|area | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Cookies: <none> | |
Multiparts: <none> | |
Body: <none> | |
Request method: POST | |
Request URI: http://localhost:8082/openrouteservice-4.7.0/isochrones | |
Proxy: <none> | |
Request params: <none> | |
Query params: <none> | |
Form params: <none> | |
Path params: <none> | |
Headers: Accept=*/* | |
Content-Type=text/plain; charset=ISO-8859-1 | |
Cookies: <none> | |
Multiparts: <none> | |
Body: | |
{"travellers":[{"profile":"driving-car","range":[300,600],"location":[8.682289,49.386172],"range_type":"time","location_type":"start"},{"profile":"cycling-regular","range":[300,600],"location":[8.673362,49.42013],"range_type":"time","location_type":"start"}],"attributes":"area|reachfactor","units":"m","intersections":true} | |
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.955 s <<< FAILURE! - in heigit.ors.services.isochrones.ResultTest | |
[ERROR] testTwoDifferentTravellers_POST(heigit.ors.services.isochrones.ResultTest) Time elapsed: 0.139 s <<< FAILURE! | |
java.lang.AssertionError: | |
1 expectation failed. | |
JSON path features[1].geometry.coordinates[0].size doesn't match. | |
Expected: is <56> | |
Actual: 46 | |
at heigit.ors.services.isochrones.ResultTest.testTwoDifferentTravellers_POST(ResultTest.java:275) | |
[INFO] | |
[INFO] Results: | |
[INFO] | |
[ERROR] Failures: | |
[ERROR] ResultTest.testTwoDifferentTravellers_POST:275 1 expectation failed. | |
JSON path features[1].geometry.coordinates[0].size doesn't match. | |
Expected: is <56> | |
Actual: 46 | |
[ERROR] ResultsValidationTest.distanceTest:253 null | |
[ERROR] ResultTest.testAvoidArea:1282 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <2181.7F> | |
Actual: 2181.6 | |
[ERROR] ResultTest.testAvoidTrailDifficulty:678 1 expectation failed. | |
JSON path routes[0].segments[0].distance doesn't match. | |
Expected: is <2862> | |
Actual: 2857.1 | |
[ERROR] ResultTest.testBordersAvoid:1155 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <1404> | |
Actual: 1403.8 | |
[ERROR] ResultTest.testCarDistanceAndDuration:1134 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <379.5F> | |
Actual: 378.8 | |
[ERROR] ResultTest.testCountryExclusion:1187 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <1156.6F> | |
Actual: 1156.3 | |
[ERROR] ResultTest.testEncodedPolyline:512 1 expectation failed. | |
JSON path routes[0].geometry doesn't match. | |
Expected: is "gvqlHk`~s@cwUB?tC?Cp@NAdIAE`EQaCi@WiCaDcAuG?C]g@MaBVM_C`HCInAKcA~CAIjA?GhAGqAzDEsAh@Eu@a@CcA{@GqAuCAQeAC_A_DAOoAEcAaCEgAsB@Wu@E?q@KB]AYIEo@?AOBcAyGbBIiADIaA?EmBq@CyA]AaAHAa@HAgAeARCHHAHCqBp@BIHAy@VAURJQX@M\?E\?]\Cm@\ATR@RH?JHAd@f@K?dAAw@RDAF~HsAxDF?RF@RF@RB@RBDPBBNFRv@HVt@FJr@LZr@JTp@BBp@D@n@B@n@RAl@HCj@RG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Gk@?mGj@?gCh@?iAP?{@F?E??GB?]N?wDhA?CB?AF?[@?i@B?qAE?{E_A?k@I?gAC?eAF?cAN?cAV?k@^?[Z?c@b@?IJ?EF?EB?DF?IT?ED?CF?MJ?o@h@?CD?CH?AH?AH?AF?H`D?HbA?\pC?LfA?F`@?BP?R`A?Tz@?JT?[R?QN?EH?GE?EC?MN?_@l@?s@tA?{@r@?{AbB?iAdA?SL?E@?CB?_Bl@?_DvC?wFvH?Uf@?Wz@?CT?AF?@bA?FzB?d@nE?NhD?@T?@F?DV?\`A?BP??N?IN?SF?QI?O_@?EM?IS?Sm@?S{@?]kB?Qi@?Oa@?Wa@?IG?L\?ZdA?dA~H?Pj@?NT?BD?DB?D@?F@??L?bAX?j@h@?LN?JJ?T\?Hd@?D`A?EhA?@P?Hl@?Pn@?ApA?BZ?Pj@?LT?CH?AN??F?OC?w@M?QM?Ye@?o@iB?SY?EC?KG?YI?]B?OD?o@d@?@D?V??FD?DL?PjA?AJ?KR?CD?CH?Qx@?Cy@?AM?EA?KpA?CT?GZ?E\??z@?A@?A??[kB????C@?GH?uBvA?OJ?m@d@?I@?SB?OL?Bd@??L?H`C??B?G@?I@?}@Z?_DbA?KD?KD?{C~@?oHhB?K??SC?GB?O@?UJ?CB?EB?oIxA?E@?k@H?G??[B?U@?G^?CB?qAD?qAF?K??I@?gA??{@B?O??[@?o@B?iCH?O@?C??k@@?m@H?OD?]V?gAlA?_AfA?UR?ED?C??Q??OB?E@?qBn@?A@?SH?OJ?EL?CD?gAb@?q@\?mAt@?y@f@?y@X?eBt@?YJ?E@?_@L?mA`@?c@N?{C`A?_DfA?uAf@?MH?KJ?G@?GC?IN?CG?I??KB? | |
[ERROR] ResultTest.testHGVAxleLoadRestriction:1100 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <132.9F> | |
Actual: 132.8 | |
[ERROR] ResultTest.testHGVWidthRestriction:1030 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <809.3F> | |
Actual: 807.8 | |
[ERROR] ResultTest.testSegmentDistances:490 1 expectation failed. | |
JSON path routes[0].segments[0].distance doesn't match. | |
Expected: is <5666.4F> | |
Actual: 5665.9 | |
[ERROR] ResultTest.testSummary:468 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <11259.9F> | |
Actual: 11259.3 | |
[ERROR] ResultTest.testTrailDifficultyExtraDetails:712 1 expectation failed. | |
JSON path routes[0].extras.traildifficulty.values.size() doesn't match. | |
Expected: is <3> | |
Actual: 2 | |
[ERROR] ResultTest.testWheelchairInclineRestriction:1346 1 expectation failed. | |
JSON path routes[0].summary.duration doesn't match. | |
Expected: is <172.5F> | |
Actual: 172.4 | |
[ERROR] ResultTest.testWheelchairKerbRestriction:1362 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <74.1F> | |
Actual: 74 | |
[ERROR] ResultTest.testWheelchairSmoothnessRestriction:1424 1 expectation failed. | |
JSON path routes[0].summary.distance doesn't match. | |
Expected: is <748.4F> | |
Actual: 748.3 | |
[ERROR] ResultTest.testWheelchairSurfaceRestriction:1394 1 expectation failed. | |
JSON path routes[0].summary.duration doesn't match. | |
Expected: is <240.3F> | |
Actual: 240.2 | |
[ERROR] Errors: | |
[ERROR] ResultTest.testExtrasDetails:622 » IllegalArgument Cannot invoke method getAt(... | |
[INFO] | |
[ERROR] Tests run: 154, Failures: 17, Errors: 1, Skipped: 0 | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 12.054 s | |
[INFO] Finished at: 2019-01-17T11:12:48+03:00 | |
[INFO] Final Memory: 11M/300M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project openrouteservice-api-tests: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /home/nilsnolde/dev/java/openrouteservice/openrouteservice-api-tests/target/surefire-reports for the individual test results. | |
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. | |
[ERROR] -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment