End to End Example for using PostGIS, pgRouting and maplibre-gl #3027
bytefish
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've written an end to end example for using PostGIS and pgRouting, and I'd like to share it:
It comes with an Angular frontend, which hosts a maplibre-gl-based map. The tiles are mbtiles, served by a .NET Backend. The OSM data is imported using osm2pgsql, the routing data is imported using osm2po. Two
pgRoutingalgorithms are used,pgr_dijkstraandpgr_trsp. A (albeit simple) Geocoder is based on OSM data imported.A deployment script
deploy.ps1can be used to start the system with minimal configuration.Almost all routes calculated with
pgr_trspare the routes I would drive myself. Also the routing for bikes and foot works good.I would love to hear your thoughts! 👍
Beta Was this translation helpful? Give feedback.
All reactions