Locks & reporting

Started by David Johns, Sep 01, 2023, 02:00 AM

Previous topic - Next topic

David Johns

I know that each place has a 4 character nomination and this can be included in the report when exporting a planned route. However, what I have noticed is that the rise/fall of a lock is not part of the report, which for me would be quite helpful.
To get around this, I am in the middle of writing a small program in python to scrape the website for the lock along my route to determine the rise or fall of the lock. But, it still does not tell me whether the lock is going up or down.
Something that might be helpful is the icon that denotes a lock in the information. Currently it always 'points' up whether the lock is rising or decending.

Failing that, do you have a means of acessing the database containing this data. I should be able to fill in the blanks where the rise/fall information is missing.

I'd be grateful to hear your thoughts on this.

David Johns

Stephen Atty

Please do not scrape the website as this might get picked up by our abuse monitors and get you blacklisted - best thing to do is raise this a a feature request in the bugtracker and the data can be added to the report.

If there are locks that have the data missing then I guess we need to add that to the \"Help Us\" page

I'm not sure what you mean by \"Something that might be helpful is the icon that denotes a lock in the information. Currently it always 'points' up whether the lock is rising or decending.\"  Can you show us an example - again it can be attached to the bug ticket.

David Johns

Hi,
What I really want is the rise or fall of a lock in the export of a planned route. Obviously depending on which way I am travelling it will be a rise or a fall. I wouldn't have thought this would be difficult to implement with a planned route and we should know whether the locks are going up or down.
All I was going to do was look up the lock location by the id 4 letter code and get the rise/fall from the page. The trouble here is that we don't know whether the lock is going up or coming down.  A vast majority of the lock rise/fall data is there and there aren't many that are unknowns. I wouldn't have thought a simple scrape would get me blocked or banned as it would appear someone is browsing the page.
If it is still a problem for you, then could you perhaps be willing to provide the rise/fall data to me in a csv file, or at least point me in the direction of where I could obtain it.
Regards
David Johns

Stephen Atty

OK so that's a change to the export route functionality - raise it as a feature request via the bugtrracker as leaving it just here as a discussion means it's likely to get lost.

David Johns

Thanks Stephen, I have done that. One other thing if I may. I totally understand cumulative details but I cannot see any use and don't understand the 'link' items, such as link distances and link times. Is there somewhere that explains this?