http://darrencope.com/2014/01/27/create-midpoints-along-lines-with-ogr/
ogr2ogr OutputPoints.shp InputLines.shp -dialect sqlite \ -sql "SELECT AsText(Line_Interpolate_Point(InputLines.geometry, 0.5)),OTHER,FIELDS,CAN,GO,HERE from InputLines"
http://darrencope.com/2014/01/27/create-midpoints-along-lines-with-ogr/
ogr2ogr OutputPoints.shp InputLines.shp -dialect sqlite \ -sql "SELECT AsText(Line_Interpolate_Point(InputLines.geometry, 0.5)),OTHER,FIELDS,CAN,GO,HERE from InputLines"