Maria Sophia <mari…@comprehension.com> wrote:
> Blaine wrote:
>>> I've already run a half-dozen tests on my own local roads, but I want to
>>> see how well the Linux/macOS/Win script works in roads elsewhere in the US.
>>>
>> Moki Dugway
>> Shafer Canyon
>> Burr Trail
>> Guardsman Pass
>
> Perfect! Thank you for providing a random test sample, which helps
> us improve the program as it's tested on control conditions now.
>
> With more eyes on the program & results, we can improve it together!
Which is impossible with python code posted on usenet as you cannot
guarantee preservation of whitespace.
As I've told you many times, it would be much more helpful for you to post
code where it makes sense i.e. github
Here's your code on a gh account thet only took 5 min to set up. Am sure
you could do the same with a throwaway email address once you've verified
it
https://github.com/ithinkiam-ng/roadCurvature/blob/main/mountaincurves.py
Of course, the code doesn't work given the issues above. I encourage Arlen
to edit it to make it work.
It is also impossible for others to test as we don't have an example
dataset to run it on. I also encourage him to share a test file.
My observations of the code are:
* no consideration for the gradient of road. a significant issue on
"mountain roads"
* the curvature calc is hugely dependent on the gps track. Slight
variations will make big differences.
* the curvature calc is based only on three points which again is highly
dependent on the gps resolution/accuracy. It could potentially find
non-existent bends.
* no checking of travel direction.
* no checking of side of the road. A rh turn will naturally be tighter then
a lh turn *of the same bend*.
Given the above, have you tested the code for the same road but measured by
different people at different times? Have you compared the script with real
world, physical measurements of the bends?
You really, really do need to add gradient information. You're completely
ignoring the third dimension which is nonsensical. It's like drawing a
straight line on a map of the world and saying that's the shortest route
for a flight between LA and London.
Of course, this whole exercise is based on the predicate of "abnormal"
wear. It seems obvious that constantly driving up and down high gradient,
twisty roads will wear tyres faster than a daily commute into the city.
This is entirely *normal* and predicable wear.
Finally, this is of course completely off-topic for a Windows 10 ng.