Urban-Analytics-Technology-Platform / od2net

https://od2net.org
Apache License 2.0
31 stars 9 forks source link

Weighted points #77

Open dabreegster opened 2 months ago

dabreegster commented 2 months ago

Let the user specify a weight per origin or destination point. When randomly sampling points inside a zone, use this weight.

Robinlovelace commented 2 months ago

This is great to see! Thanks for opening it.

Robinlovelace commented 2 months ago

Can have a look at docs, good timing for use cases.

Robinlovelace commented 2 months ago

One thing I can do: add minimal input for tests. Will track that here, when I get a chance.

dabreegster commented 2 months ago

Thanks! Ultimately I'd like the docs to have some discussion of how to make good input data. For using OSM buildings, for instance, the user needs to be aware of the uneven coverage. For weighting, I'm not sure in practice how to pick weights, other than vague ideas like "more square footage for a shop means more important" and "flats with more height are more important"

Robinlovelace commented 2 months ago

For weighting, I'm not sure in practice how to pick weights, other than vague ideas like "more square footage for a shop means more important" and "flats with more height are more important"

Well that can be a problem for the user to figure out.. Will aim to get a minimal example input dataset today. One observation: lots of the examples in the examples folder are big, could be good to have small ones like 10 zones to 1 destination I'm thinking.

Robinlovelace commented 1 month ago

Taking a look at this now...