I'm try to find Singapore MRT line in a range like below:
(around:1000,1.284249, 103.844004) is a circle polygon and Downtown Line MRT is a line. How can I get the overlapping part only(red line in picture)? The query result will partially out of circle. asked 02 Jun '17, 03:37 ob9619 
You are indicating two issues  for a given polyline and circle/polygon detect the polyline's segments being inside the circle/polygon (clipping a polyline by a circle/polygon). If you have not yet found these functions (answers) in the OSM public tools, here are some hints in bullets. Namely, the mentioned tools (should) have functions like  vectors to none crossing vectors transformation, point in (on, outside) a polygon, vectors to polylines transformation, change polyline's orientation and some more, even simpler, functions and using them you (anyone) may create the missing functions. answered 09 Jun '17, 16:05 sanser Thank you for getting me back. In OSM, way is a set of nodes. Currently, I could find the nodes inside the circle polygon. However, sometimes there is only one point inside the circle polygon. How can I get the intersection points of line and circle? There should be two intersection points about one line and one circle which is not OSM nodes. I am still trying~ Do you have any idea? Thanks!
(14 Jun '17, 03:26)
ob9619
