Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Routing in Visual Business


I would like to do routing in Visual business. It seems the only way to draw a path is to use polygon class and provide lat long for all the points where road turns (intermediate points also in case of an arc so that it's rendered realistically). Most routing service provide turn by turn navigation which are not suitable for drawing polygon as the actual road and the polygon line would be way off the mark between two points which are good distance apart.

For ex the following manuevre from mapquest


                        "signs": [],

                        "index": 4,

                        "maneuverNotes": [],

                        "direction": 3,

                        "narrative": "Take Eastern Freeway.",

                        "iconUrl": "",

                        "distance": 8.216,

                        "time": 469,

                        "linkIds": [],

                        "streets": [

                            "Eastern Freeway"


                        "attributes": 128,

                        "transportMode": "AUTO",

                        "formattedTime": "00:07:49",

                        "directionName": "Northeast",

                        "mapUrl": "|luur2hua2q,as=o5-9wax0z&type=map&size=225,160&pois=purple-5,18.957824,72.842689,0,0|purple-6,19.042652,72.90866,0,0|&center=19.000238,72.8756745&zoom=7&rand=119631863&session=5413f1a3-0007-0002-02b7-4cdb-00163e5c1556",

                        "startPoint": {

                            "lng": 72.842689,

                            "lat": 18.957824


                        "turnType": 1


would result in straight line for a distance of 8.2 miles whereas the actual road has lots of bends.

How do we get around this problem?

Is there any free service which would give long list of lat longs which are say 100 metres apart?

Former Member
Former Member replied


It depends on the map provider service which polygone you receive. Some map providers provide only points where you as a driver have to leave the current road. Some have additional points which follow the actual road and provide a realistic route on a map.

It depends in most cases of a parameter which type of return polygone you get.

Some vendors provide a different routing service for getting more points.

Visual Business itself doesn't include an own routing service - we have an oData service as an single access point for applications and this service calls an external map provider.

So it depends on your map service provide and the parameter of your service call.

Since each provider has their own format, you have to look into their documentation how to achieve this.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question