get_dist_line function

Get distance maps from lines and polygons