User Discussions > How To?

Suggestions to Programmatically Audit .list File

(1/2) > >>

Hoss6884:
Inevitably, I sometimes come across errors or omissions when updating my list file (i.e. concurrencies I didn't know I had or didn't capture).  I'd like to do a mass audit of my .list file at some point to make sure I'm 100% accurate with segments and waypoint names, but before I invest the time, does anyone have any suggestions on how to do it programmatically?  I'm willing to dust off my coding skills, if necessary.

michih:
I'm not sure, maybe I got you wrong..... Try to answer paritally...


--- Quote from: Hoss6884 on December 28, 2019, 02:36:00 pm ---i.e. concurrencies I didn't know I had or didn't capture
--- End quote ---

It is not necessary to had these because concurrencies are automatically detected and you are credited for it - if the concurrent routes are of different systems, it counts for all systems.


--- Quote from: Hoss6884 on December 28, 2019, 02:36:00 pm ---I'd like to do a mass audit of my .list file at some point to make sure I'm 100% accurate with segments and waypoint names
--- End quote ---

That you have valid waypoints? Don't you know your user log file: http://travelmapping.net/logs/users/hoss6884.log
Everything looks fine for you. An example with errors.

Hoss6884:
Thanks for the response.

I’m sorry that I should have been clearer with my original question.  I understand I get credit for concurrencies regardless whether they are included in my file, but I would still like to be able to capture them if I don’t have them listed.  Same if a waypoint name changes - I know I still get credit but would like to have the most updated waypoint listed.


--- Quote from: michih on December 28, 2019, 02:43:42 pm ---I'm not sure, maybe I got you wrong..... Try to answer paritally...


--- Quote from: Hoss6884 on December 28, 2019, 02:36:00 pm ---i.e. concurrencies I didn't know I had or didn't capture
--- End quote ---

It is not necessary to had these because concurrencies are automatically detected and you are credited for it - if the concurrent routes are of different systems, it counts for all systems.


--- Quote from: Hoss6884 on December 28, 2019, 02:36:00 pm ---I'd like to do a mass audit of my .list file at some point to make sure I'm 100% accurate with segments and waypoint names
--- End quote ---

That you have valid waypoints? Don't you know your user log file: http://travelmapping.net/logs/users/hoss6884.log
Everything looks fine for you. An example with errors.

--- End quote ---

michih:

--- Quote from: Hoss6884 on December 28, 2019, 03:46:13 pm ---I’m sorry that I should have been clearer with my original question.  I understand I get credit for concurrencies regardless whether they are included in my file, but I would still like to be able to capture them if I don’t have them listed.  Same if a waypoint name changes - I know I still get credit but would like to have the most updated waypoint listed.
--- End quote ---

Got it :) I would also be interested in getting rid off alt labels from my user list file. It's all processed during the site update which generates the DB for the production server.

There is  python (standard, used by site update) and cpp (optional) code doing it: https://github.com/TravelMapping/DataProcessing/tree/master/siteupdate

I think that it should be this. Jim has a server and users can get space there. It's possible to clone hwy data, user data and the data processing repo so that you can set up your own instance to run a site update. It's mostly used by hwy data managers to make sure that Jim's site update won't fail with their modifications. I also use it to check that my latest list file changes are correct. And I can compare the log file stats to the one on the site.

You could try to get familar with the site update code and modify it to your purpose. You could output a log file or directly modify your list file or whatever.
Only yakra and Jim are currently familar with the code if you have any (more) detailed question.

Jim:
This is something that came up quite a while ago in an old thread:

http://forum.travelmapping.net/index.php?topic=1827.msg4443#msg4443

I would like to add this feature when time permits.  Opening a GitHub Issue.

Navigation

[0] Message Index

[#] Next page

Go to full version