krithin / gullies

Visualizations of shortest path routes in road networks.
GNU General Public License v3.0
10 stars 2 forks source link

Add a tool to select a good set of destination points to route to #2

Closed krithin closed 6 years ago

krithin commented 6 years ago

While I've had some success using lat,long locations taken from wikipedia (https://en.wikipedia.org/wiki/List_of_towns_in_New_York) there should be a way to extract that directly from the OSM image.

krithin commented 6 years ago

I took an initial stab at this in https://github.com/krithin/gullies/pull/4. That still has the problem that randomly selected OSM nodes are heavily weighted towards populated areas, and I want a more even spatial distribution of destinations.

Edit: the apparent weighting toward populated areas might not be a real effect; it might instead be a bug due to https://github.com/krithin/gullies/issues/5 . Let's fix that and see how randomly selected points actually work out.

krithin commented 6 years ago

Between #4 and #7 this should be fine for now; i'll open a more specific issue if I want to tweak the point generation algorithm later.