osm-ToniE / ptna

Public Transport Network Analysis for OSM
GNU General Public License v3.0
21 stars 5 forks source link

change criteria for amount of diffs #29

Closed osm-ToniE closed 6 years ago

osm-ToniE commented 6 years ago

an new analysis report is compared with an old one (*.html.save). The size of the diff is used to decide whether to upload the new report or not, whether someting has changed or not. OSM Data time stamp and the AREAs time stamp always differ, so the size is always > 0.

Do not take the size of the diff (104, 200, 204, ...) to decide this. Do take the number of lines in the diff file (4 or 6).

Example including boundary information 100,101c100,101

OSM-Base Time : 2018-08-30 23:11:02 UTC Areas Time : 2018-08-30 22:28:02 UTC

< OSM-Base Time : 2018-08-29 23:11:02 UTC < Areas Time : 2018-08-29 22:28:02 UTC