WorldBank-Transport / ram-backend

Calculate regional ETAs, at scale. Measure accessibility. Calculate impact of road changes.
MIT License
26 stars 11 forks source link

File upload validation #93

Open olafveerman opened 7 years ago

olafveerman commented 7 years ago

In Phase 2, we will implement more advanced file validations that should trigger clear warnings and errors towards the users. This is a placeholder ticket to start gathering such validations.

File Validation Type
Origins Check if all features (villages) have valid population estimates (Number). We can't analyze those that don't have Warning
Origins Check if there is at least one feature with an estimate Error
Destinations
Road Network
Admin boundaries Check if the features have the 'name' attribute error
OSRM Profile

cc @danielfdsilva

olafveerman commented 7 years ago

Starting a list with problems we encountered with the profile lua:

speeds = Sequence {
  highway = {
     "4"           = 30,
  }
}

Results in:

pasted image at 2017_06_04 10_39 pm

Should be ["4"]