% title "SoT" %> <% subtitle "příprava na State of Trails".html_safe %>
OSM | OSM diff | KČT | |
---|---|---|---|
Double checked | <%= oga = stat(@osm_guideposts.joins(:guidepost).where('guideposts.id IS NOT NULL').count, :osm_guideposts_with_associated_kct_guidepost) %> (<%= proc(oga,og) %>) | <%= oga %> | <%= kg %> |
Nový ref | <%= ogrg = OsmGuidepost.where('(osm_guideposts.kctref is NOT NULL)').select{|og| og.kctref.match(/[A-ZŠšua-z][A-ZŚšuŘa-z]\s?\d\d\d.?/) }.count %> (<%= proc(ogrg,og) %>) | <%= ogrg - oga %> | <%= kg %> |
Nějaké ref | <%= ogr = stat(@osm_guideposts.where('kctref IS NOT NULL').count, :osm_guideposts_with_kctref) %> (<%= proc(ogr,og) %>) | <%= ogr - ogrg %> | <%= kg %> |
Existuje | <%= og %> | <%= og - ogr %> | <%= kg %> |
OSM | OSM diff | KČT | |
---|---|---|---|
Double checked | <%= pom = stat(@osm_trails.joins(:trail).where('trails.id IS NOT NULL').count, :osm_trails_with_associated_kct_trail) %> (<%= proc(stat(@osm_trails.joins(:trail).where('trails.id IS NOT NULL').count, :osm_trails_with_associated_kct_trail),ot) %>) | <%= oldpom = pom %> | <%= kt %> |
Nový ref | <%= pom = @osm_trails.where("kctref IS NOT NULL AND (kctref REGEXP '^(0|1|2|3|4|5|6|7|8|9){4,4}$')").count %>(<%= proc(pom,ot)%>) | <%= pom - oldpom %><% oldpom = pom %> | <%= kt %> |
Nějaké ref | <%= pom = stat(@osm_trails.where('kctref IS NOT NULL').count, :osm_trails_with_kctref) %> (<%= proc(stat(@osm_trails.where('kctref IS NOT NULL').count, :osm_trails_with_kctref),ot) %>) | <%= pom - oldpom %><% oldpom = pom %> | <%= kt %> |
Existuje | <%= ot %> | <%= ot - oldpom %> | <%= kt %> |
V OSM je značených tras, z toho má kctref a je ověřeně přiřazeno k trase KČT. Jako nekompletní je označeno <%= otnc = stat(@osm_trails_incomplete_count, :osm_trails_incomplete) %> tras.