Could you write a class in dotnet C# calling and caching the routes between points A and…
Jump to turn (19)
- 1Could you write a class in dotnet C# calling and caching the routes between poin
- 2Please improve it so that address of the GraphHopper server can be configured
- 3Can you improve the query with custom car profile forcing graph hopper to use fe
- 4Can you change the call to HTTP Post?
- 5Add custom vehicle profile within body variable suitable for routing heavy goods
- 6I think hints should be provided as a part of special query in custom\model para
- 7Please check this example "custom\model": { "speed": [ { "if": "true", "limit\to
- 8Please improve speed limit to correct value for heavy goods vehicles in Europe
- 9Please improve also priority for motorway so it is used as much as possible and
- 10Almost good. Could you check if in open street map data ferry is road\class or r
- 11I have found the correct name for ferry filter - it should be "road\environment
- 12Instead of responseString please deserialize the response content into object re
- 13Please observe that points array is not provided as straightforward array of dou
- 14What about the implementation of the Polyline.Decode method? And please do not d
- 15How about the rest of the code?
- 16Could you test if Polyline.Decode returns [[18.939249,57.763829],[18.937862,57.7
- 17But can you run this method with the argument I provided above and test if polyl
- 18Can you write a unit test with the arguments I have provided?
- 19Thank you
- User
Could you write a class in dotnet C# calling and caching the routes between points A and B from graphhoper routing service?
- Assistant
Here is a sample implementation of a class that caches routes between points A and B using GraphHopper routing service in C#:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.