Route result in static file

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Route result in static file

Post by krzysiek mbis »

Hi,
Is there a way to have a route result with graphic file included (like: .jpg, .png, etc.)?
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Route result in static file

Post by Bernd Welter »

Hello Krzysiek,

if you want to consume a image file e.g. with the total route or the destination area you have to get the polygon and further required attributes from the routinr response : then use this info to send a request to xMap which can return the image.

Attention:
state-of-the-art applications use the xMap as a background engine and paint their own content such as locations, routing polygons and so on on top of the picture they got from xMap:
  • calculate route via xRoute and ask for result list options such as polygon (and more)
  • create a basic mapping call to xMap (include image in response, not just the URL of the image)
  • paint on top whatever you want
Which approach fits your requiremen ts best depends on your programming environment.

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply