min_lat,max_lat,min_lon,max_lon = place.attributes["boundingbox"].to_s.split(",")
if klass == "highway" and ["trunk","primary","secondary","tertiary","unclassified","residential"].include?(type)
min_lat,max_lat,min_lon,max_lon = place.attributes["boundingbox"].to_s.split(",")
if klass == "highway" and ["trunk","primary","secondary","tertiary","unclassified","residential"].include?(type)