I need to select the nearest vertex on every way within a bounding box, and I need it via the REST API. I can do the processing of all points to calculate the nearest for each way, but I need a way id obviously. Is this available or do I need to build/adapt an endpoint ?.
I have had a wander round the code and I can’t even work out how to modify/add a new call which is a great shame as I will now have to query overpass in sections to get all relevant points so I can index them in mysql. If there is some framework documentation that might help me work out how to start adding /api/points?lat,lon,lat,lon please let me know
See this topic: Get Nodes around particular point