[Solved] How to get a road path which can be travelled in 10 minutes from a location

[ad_1] pgr_drivingDistance uses the cost value you provide, and in the units you implicitly specify, meaning that when you add a column <traveling_time> (note that I use seconds in my example) as the time needed to traverse an edge (given the length and speed limit) and select that as cost, the functions result will represent … Read more

[Solved] How do I search for restaurants in a region in a country?

[ad_1] You are building the point and the polygon – instead of having proper geometry column – which is inefficient. You haven’t talked about spatial index, so the intersect operation will be slow. You haven’t specified the complexity of the polygons: if they have many many vertices, an intersect operation will be slow. This can … Read more