knooppuntnet icon indicating copy to clipboard operation
knooppuntnet copied to clipboard

Add option to re-analyse a node network after making changes

Open spaanse opened this issue 1 year ago • 2 comments

When I add nodes/routes to a node network I want to check if there are any mistakes so I can fix them quickly. However, the update cycle is about 8 hours, so likely doesn't include my latest changes. I would like changes to be automatically incorporated (like https://github.com/vmarc/knooppuntnet/issues/368 ) or a button I can click to trigger the analysis again.

I think manual re-analysis is easier to implement while work on https://github.com/vmarc/knooppuntnet/issues/368 continues. To prevent DOS, it is smart to add two conditions on triggering the re-analysis:

  • User must be logged in with an OSM account
  • Last analysis is at least 5 minutes ago

spaanse avatar Oct 05 '24 07:10 spaanse

@spaanse dankjewel voor deze suggestie en jou inspanningen bij het in kaart brengen van nieuwe knooppuntroutes (ik volg jouw avonturen een beetje via het forum)

The node network analysis already processes all changes automatically. Most of the time the impact of your changes should be visible in knooppuntnet within 5 or 10 minutes.

So all pages under following urls should be near up-to-date all the time:

  • https://knooppuntnet.nl/nl/analysis
  • https://knooppuntnet.nl/nl/map

However, yesterday (October 4th) around 10:16 a problem started with the process of getting the data from OpenStreetMap into knooppuntnet. The replication became very very slow until it stopped completely. This is why you did not see your updates. At this moment replication is working again, and the database is slowly catching up. The database should be up-to-date again later today.


The automatic update does not work yet for the monitoring functionality:

  • https://knooppuntnet.nl/nl/monitor

So here a manual re-analysis button will be helpful. This is something I also have wished I had before.

vmarc avatar Oct 05 '24 08:10 vmarc

Thank you, then my issue is solved. Feel free to rename the issue to change the scope to (super) route analysis.

spaanse avatar Oct 05 '24 11:10 spaanse