|
@ -50,7 +50,7 @@ function partsePluviometer(row) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const description = row["Description"] ? "\n\n" + row["Description"] : ""; |
|
|
const description = row["Description"] ? "\n\n" + row["Description"] : ""; |
|
|
displacement += offset; |
|
|
|
|
|
|
|
|
// displacement += offset;
|
|
|
const i = { |
|
|
const i = { |
|
|
ID: ++ID, |
|
|
ID: ++ID, |
|
|
title: "Pluviometro", |
|
|
title: "Pluviometro", |
|
@ -74,7 +74,7 @@ function parseFloodZones(row) { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
displacement += offset; |
|
|
|
|
|
|
|
|
// displacement += offset;
|
|
|
return { |
|
|
return { |
|
|
ID: ++ID, |
|
|
ID: ++ID, |
|
|
title: row["Passable"] == 1 ? "Transponível" : "Intransponível", |
|
|
title: row["Passable"] == 1 ? "Transponível" : "Intransponível", |
|
@ -98,7 +98,7 @@ function parseRiverLevel(row) { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
console.log(JSON.stringify(row)); |
|
|
console.log(JSON.stringify(row)); |
|
|
displacement += offset; |
|
|
|
|
|
|
|
|
// displacement += offset;
|
|
|
const riverLevel = ["baixo", "normal", "alto", "transbordando"]; |
|
|
const riverLevel = ["baixo", "normal", "alto", "transbordando"]; |
|
|
const riverIdx = row["RiverIdx"]; |
|
|
const riverIdx = row["RiverIdx"]; |
|
|
return { |
|
|
return { |
|
@ -121,7 +121,7 @@ function parseRainLevel(row) { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
displacement += offset; |
|
|
|
|
|
|
|
|
// displacement += offset;
|
|
|
const rainLevel = [ |
|
|
const rainLevel = [ |
|
|
"Sem chuva", |
|
|
"Sem chuva", |
|
|
"Chuva fraca", |
|
|
"Chuva fraca", |
|
|