Deploying a global visualizer for the smart traffic system
The Traffic Map Public service is the static version of Traffic Map that only shows detected objects within a radius of 5 kilometers. This service is deployed in the cloud, so you should expect the same visualization as with the Traffic Map service, but the only missing part is that it doesn’t show your real-time GPS position because it is static. The GPS position to take into consideration could be a GPS coordinate that is the center of the city that you want to monitor. In general, this web visualization could fit a static report for a municipality. The code is the same as for the Traffic Map web application, but the continuous update of the GPS position is omitted. To deploy this service, run the following commands:
- Create a
traffic-map
deployment by running the following command:$ cat <<EOF | kubectl apply -f - apiVersion: apps/v1 kind: Deployment metadata: creationTimestamp: null ...