RouteServer Batch Route Requests using pre-geocoded addresses
Batch Route Request: valid requests, end location with a non-existent edge
id (location 9), identical start/end location pairs (locations 1 and 12)
and badly formatted pre-geocoded end locations (locations missing, D and 13)
Batch Route Request: valid requests, end location with a non-existent edge
id (locatiaon 9), identical start/end location pairs (locations 1 and 12)
and badly formatted pre-geocoded end locations (locations 1# and 13)
The route responses are sorted by distance.
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="2"
route_preference="fastest"
road_preference="highway"
sort_by_distance="true"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="4">
<edge_id>732258394</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="5">
<edge_id>727793966</edge_id>
<percent>0.4444444444444444</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="6">
<edge_id>31104283</edge_id>
<percent>0.4090909090909091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="7">
<edge_id>22022085</edge_id>
<percent>.3</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="8">
<edge_id>21993360</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="9">
<edge_id>4253</edge_id>
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="10">
<edge_id>22022085</edge_id>
<percent>0.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="11">
<edge_id>22023613</edge_id>
<percent>0.8571428571428571</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="12">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location>
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="D">
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: valid requests, end location with a non-existent edge
id (locatiaon 9), identical start/end location pairs (locations 1 and 12)
and badly formatted pre-geocoded end locations (location 13)
The route responses are sorted by distance. The route
responses are trimmed with a cutoff distance.
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="3"
route_preference="fastest"
road_preference="highway"
cutoff_distance="8.395"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="4">
<edge_id>732258394</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="5">
<edge_id>727793966</edge_id>
<percent>0.4444444444444444</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="6">
<edge_id>31104283</edge_id>
<percent>0.4090909090909091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="7">
<edge_id>22022085</edge_id>
<percent>.3</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="8">
<edge_id>21993360</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="9">
<edge_id>4253</edge_id>
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="10">
<edge_id>22022085</edge_id>
<percent>0.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="11">
<edge_id>22023613</edge_id>
<percent>0.8571428571428571</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="12">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location>
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="D">
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: end location with a non-existent edge id (location 9)
and identical start/end location pairs (locations 1 and 12) and badly
formatted pre-geocoded end locations (location 13). The request id is
missing and defaults to zero. The route responses are sorted by distance
and trimmed with a cutoff distance.
<?xml version="1.0" standalone="yes"?>
<batch_route_request
route_preference="fastest"
road_preference="highway"
sort_by_distance="true"
cutoff_distance="8.395"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="4">
<edge_id>732258394</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="5">
<edge_id>727793966</edge_id>
<percent>0.4444444444444444</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="6">
<edge_id>31104283</edge_id>
<percent>0.4090909090909091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="7">
<edge_id>22022085</edge_id>
<percent>.3</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="8">
<edge_id>21993360</edge_id>
<percent>1.0</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="9">
<edge_id>4253</edge_id>
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="10">
<edge_id>22022085</edge_id>
<percent>0.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="11">
<edge_id>22023613</edge_id>
<percent>0.8571428571428571</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="12">
<edge_id>22011730</edge_id>
<percent>0.3333333333333333</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location>
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="D">
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Other batch route requests
Batch Route Request: missing start location id (RSE-0141)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="5"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location>
<edge_id>4253</edge_id>
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: missing edge_id in start location (RSE-0143)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="6"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: invalid edge_id in start location (REE-0112)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="7"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>4253</edge_id>
<percent>.216091</percent>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: missing percent element for start location (RSE-0146)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="8"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22022085</edge_id>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: invalid percent element for start location (RSE-0149)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="9"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<percent>1.000001</percent>
<edge_id>22022085</edge_id>
<side>R</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: missing side element for start location (RSE-0150)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="10"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22022085</edge_id>
<percent>.2</percent>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: invalid side element for start location (RSE-0153)
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="11"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22022085</edge_id>
<percent>.2</percent>
<side>:</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="2">
<edge_id>733001079</edge_id>
<percent>.4</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="3">
<edge_id>22325991</edge_id>
<percent>0.0</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>
Batch Route Request: end_location with missing or invalid id attribute,
fail only the bad end location routes
<?xml version="1.0" standalone="yes"?>
<batch_route_request id="12"
route_preference="shortest"
road_preference="highway"
distance_unit="mile"
time_unit="minute"
pre_geocoded_locations="true">
<start_location>
<pre_geocoded_location id="1">
<edge_id>22161661</edge_id>
<percent>.5</percent>
<side>L</side>
</pre_geocoded_location>
</start_location>
<end_location>
<pre_geocoded_location id="q">
<edge_id>22104391</edge_id>
<percent>.5</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location>
<edge_id>22161661</edge_id>
<percent>.5</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="4">
<percent>.5</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="5">
<edge_id>1234</edge_id>
<percent>.5</percent>
<side>L</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="6">
<edge_id>22325991</edge_id>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="7">
<edge_id>22325991</edge_id>
<percent>7.5</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="8">
<edge_id>22325991</edge_id>
<percent>.5</percent>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="9">
<edge_id>22325991</edge_id>
<percent>.5</percent>
<side>5</side>
</pre_geocoded_location>
</end_location>
<end_location>
<pre_geocoded_location id="10">
<edge_id>22325991</edge_id>
<percent>.5</percent>
<side>R</side>
</pre_geocoded_location>
</end_location>
</batch_route_request>