Robinlovelace / simodels

https://robinlovelace.github.io/simodels
GNU Affero General Public License v3.0
15 stars 4 forks source link

`si_to_od()` fails when a zone contains no public roads #30

Closed joeytalbot closed 1 year ago

joeytalbot commented 1 year ago

Building on https://github.com/nptscot/npt/issues/223, we can see that si_to_od() fails when the dataset includes a zone which doesn't contain any subpoints.

In this case, the zone has no subpoints because it doesn't contain any public roads.

We should incorporate a mechanism for excluding zones that don't contain subpoints.

joeytalbot commented 1 year ago

Closed as this problem related to a different function not si_to_od()