Generates grid lines osm file if needed

this script can create an osm file for grid lines