update interface list for server and app
This commit is contained in:
parent
9d2e4171c4
commit
4d3edd0571
2 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,7 @@ interface IBRouterService {
|
||||||
// variantes: lon,lat,d|... (from this point to the next do a direct line)
|
// variantes: lon,lat,d|... (from this point to the next do a direct line)
|
||||||
// lon,lat,name|... (route point has a name and should not be ignored)
|
// lon,lat,name|... (route point has a name and should not be ignored)
|
||||||
// "straight" = idx1,idx2,.. (optional, minimum one value, index of a direct routing point in the waypoint list)
|
// "straight" = idx1,idx2,.. (optional, minimum one value, index of a direct routing point in the waypoint list)
|
||||||
// "nogos" = lon,lat,radius|... (optional, radius in meters)
|
// "nogos" = lon,lat,radius,weight|... (optional, list of lon, lat, radius in meters, weight (optional))
|
||||||
// "polylines" = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
// "polylines" = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
||||||
// "polygons" = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
// "polygons" = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
||||||
// "profile" = profile file name without .brf
|
// "profile" = profile file name without .brf
|
||||||
|
|
|
@ -20,13 +20,19 @@ import btools.server.ServiceContext;
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* <p>
|
* <p>
|
||||||
* lonlats = lon,lat|... (unlimited list of lon,lat waypoints separated by |)
|
* lonlats = lon,lat|... (unlimited list of lon,lat waypoints separated by |)
|
||||||
* nogos = lon,lat,radius|... (optional, radius in meters)
|
* nogos = lon,lat,radius,weight|... (optional, list of lon, lat, radius in meters, weight (optional) separated by |)
|
||||||
|
* polylines = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
||||||
|
* polygons = lon,lat,lon,lat,...,weight|... (unlimited list of lon,lat and weight (optional), lists separated by |)
|
||||||
* profile = profile file name without .brf
|
* profile = profile file name without .brf
|
||||||
* alternativeidx = [0|1|2|3] (optional, default 0)
|
* alternativeidx = [0|1|2|3] (optional, default 0)
|
||||||
* format = [kml|gpx|geojson] (optional, default gpx)
|
* format = [kml|gpx|geojson] (optional, default gpx)
|
||||||
* trackname = name used for filename and format specific trackname (optional, default brouter)
|
* trackname = name used for filename and format specific trackname (optional, default brouter)
|
||||||
* exportWaypoints = 1 to export them (optional, default is no export)
|
* exportWaypoints = 1 to export them (optional, default is no export)
|
||||||
* pois = lon,lat,name|... (optional)
|
* pois = lon,lat,name|... (optional)
|
||||||
|
* timode = turnInstructionMode [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=orux-style, 7=locus-old-style] default 0
|
||||||
|
* heading = angle (optional to give a route a start direction)
|
||||||
|
* profile:xxx = parameter in profile (optional)
|
||||||
|
* straight = idx1,idx2,.. (optional, minimum one value, index of a direct routing point in the waypoint list)
|
||||||
* <p>
|
* <p>
|
||||||
* Example URLs:
|
* Example URLs:
|
||||||
* {@code http://localhost:17777/brouter?lonlats=8.799297,49.565883|8.811764,49.563606&nogos=&profile=trekking&alternativeidx=0&format=gpx}
|
* {@code http://localhost:17777/brouter?lonlats=8.799297,49.565883|8.811764,49.563606&nogos=&profile=trekking&alternativeidx=0&format=gpx}
|
||||||
|
|
Loading…
Reference in a new issue