I have a road polygon that I need to divide in given lanes. So I get a JTS geometry of roads from shapefile and I need to create lines or basically create a geometry lines (lanes) within that polygon. Something like this
The more complex scenarios are when roads are not straight for e.g.
So I need to create lanes within that polygon as the polygon lines go. Is it possible to get those lane/line geometries using JTS geometry functions?