I'm still looking for a best way to lunch pgrouting extension on my website as a rookie .Can anybody tell me is it possible? I have OSM data into postrgesql and want to do some routing machine. I want to run it in Leaflet with PHP. And my question is...can I run it as a geojson file? I heard that I can turn php file into geojson which can be lunched in Leaflet as a layer. Maybe some example? Tutorials? Someone need to head up me on the right way, becouse I'm confused after milion options that I have found in last few days.
closed as too broad by whyzar, Andre Silva, Midavalo♦ Feb 28 '17 at 21:36
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.