Hey everyone,
I hope you are fine.
Is it possible to visualize traffic flows?
Example:
I have 1.000 transport-orders.
Each transport-order hast 1 Loading-Station and 1 Unloading-Station.
For each Station, I have the geo-coordinates.
Is there an easy way to visualize it like in the following picture (s. Link)?
https://www.zukunft-mobilitaet.net/wp-c ... aneiro.jpg
Thank you very much in advance
Max Beermann
Visualization of Traffic-Flows
- Max Beermann
- Posts: 68
- Joined: Tue Oct 30, 2018 7:36 am
Visualization of Traffic-Flows
Max Beermann
Development Manager
WHEELS Logistics
Development Manager
WHEELS Logistics
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Visualization of Traffic-Flows
Hello Max,
let's distinguish between different sources of "visual data":
You can definetly paint such fancy data on top of a PTV map with frameworks such as leaflet. But the answer to your initial question is supposed to be found in the framework - not within PTV.
(Spatial) Frameworks we use / recommend: Does this answer your question? In your case you might have to get back to your integrator (Toralf )
Best regards,
Bernd
PS: Here are some examples I found on our own pages (list will be extended). Maybe we should set up a gallery
And by the way: the tilted / rotated background maps are provided by the brand new PTV Vector Maps!
let's distinguish between different sources of "visual data":
- geographic core data such as road network, town areas/labels, forests, ... such data is provided by the mapping engine, e.g. from PTV via tiled layers
- geographic business data such as "your customers positions (x,y)", "pickup-delivery relations or routing geometries (polygons)" or a "subsidiaries area of responsibility (polyline)". This data is put on top of a map via stacked layer technologies
You can definetly paint such fancy data on top of a PTV map with frameworks such as leaflet. But the answer to your initial question is supposed to be found in the framework - not within PTV.
(Spatial) Frameworks we use / recommend: Does this answer your question? In your case you might have to get back to your integrator (Toralf )
Best regards,
Bernd
PS: Here are some examples I found on our own pages (list will be extended). Maybe we should set up a gallery
And by the way: the tilted / rotated background maps are provided by the brand new PTV Vector Maps!
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...
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...
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Visualization of Traffic-Flows
Hi Max,
technically you have three components for these visualizations: A vizualization libray, a map control and a basemap tile provider. You can use nearly any combination, e.g.
(deckgl/d3) - (maplibre/leaflet) - (VectorMaps/RasterMaps)
I adapted some samples from https://deck.gl/examples/ visualizing arcs and lines to PTV developer maps.
https://jsfiddle.net/oliverheilig/psjq4neb/
https://jsfiddle.net/oliverheilig/u9fn15t0/
Here the stack is deckgl-maplibre-VectorMaps, but you could also use maplibre with raster maps and xMapServer as shown here
https://ptv-logistics.github.io/xserverjs/#boilerplate
A prerequisite of all these solutions is a web browser. If you need to include this into a desktop application, you could use some WebView approach. Here is a sample using "Chromium Embedded Framework (CEF)" in a WinForms application.
https://github.com/oliverheilig/CefMap/
So this is the state-of-the-art technology. I hope I didn't confuse you too much.
Oli
technically you have three components for these visualizations: A vizualization libray, a map control and a basemap tile provider. You can use nearly any combination, e.g.
(deckgl/d3) - (maplibre/leaflet) - (VectorMaps/RasterMaps)
I adapted some samples from https://deck.gl/examples/ visualizing arcs and lines to PTV developer maps.
https://jsfiddle.net/oliverheilig/psjq4neb/
https://jsfiddle.net/oliverheilig/u9fn15t0/
Here the stack is deckgl-maplibre-VectorMaps, but you could also use maplibre with raster maps and xMapServer as shown here
https://ptv-logistics.github.io/xserverjs/#boilerplate
A prerequisite of all these solutions is a web browser. If you need to include this into a desktop application, you could use some WebView approach. Here is a sample using "Chromium Embedded Framework (CEF)" in a WinForms application.
https://github.com/oliverheilig/CefMap/
So this is the state-of-the-art technology. I hope I didn't confuse you too much.
Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
- Max Beermann
- Posts: 68
- Joined: Tue Oct 30, 2018 7:36 am
Re: Visualization of Traffic-Flows
Good Morning Bernd & Oli,
thank you very much for your help!
This is just what I needed (and more).
So cool:)
Best regards
Max
thank you very much for your help!
This is just what I needed (and more).
So cool:)
Best regards
Max
Max Beermann
Development Manager
WHEELS Logistics
Development Manager
WHEELS Logistics