conveyal / browsochrones

Create isochrones and accessibility images in the browser
MIT License
6 stars 2 forks source link

Bounds checks when constructing objects #76

Open mattwigway opened 7 years ago

mattwigway commented 7 years ago

If an origin file gets truncated in transmission (see conveyal/analysis-ui#327) we should error rather than happily reporting incorrect results (Javascript has no issues with letting you read past the end of an array).