From: Richard Fairhurst Date: Fri, 8 Jun 2007 10:36:36 +0000 (+0000) Subject: Extra check that nodes/segments in ways are visible X-Git-Tag: live~8397 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5bc1730d89053486d39af6923d8ee7132402fe0c?hp=1c4c93b2c3e57f6fdd5d6fe9f64c389afee39a2f Extra check that nodes/segments in ways are visible --- diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 541926c74..c5a7c30ea 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -484,7 +484,9 @@ def readwayquery(id) " FROM current_way_segments,current_segments,current_nodes AS n1,current_nodes AS n2 "+ " WHERE current_way_segments.id=#{id} "+ " AND segment_id=current_segments.id "+ + " AND current_segments.visible=1 "+ " AND n1.id=node_a and n2.id=node_b "+ + " AND n1.visible=1 AND n2.visible=1 "+ " ORDER BY sequence_id" end diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index ebdcf8d19..c9a70b79e 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -78,7 +78,7 @@
-Come the the first OpenStreetMap Conference - The State of the Map 14th-15th July, 2007, Manchester, UK. +Come to the first OpenStreetMap Conference, The State of the Map: 14th-15th July 2007, Manchester, UK.