如何获得多边形内的线的长度


13

如何获得红色多边形内“道路7”的长度(棕色标记的部分)?

忙碌的猫

我的开始:

SELECT ST_Length(way) FROM lines WHERE road = "Road 7" AND ST_Intersects(line, polygon)?

这样,我只得到全长:(有人有主意吗?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.