v.splitpolygon is a GRASS GIS script to split polygon by line