The error is happening with the code in Brazil roads data:
inside = function(distance, road)
if road.Situacao == "N_PAV" then
return distance * 4
end
return distance
end,
Error: Line '1781' crosses touching lines '1782' and '1783' in their endpoints. Please, split line '1781' in two where they cross.