aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api/kml
diff options
context:
space:
mode:
authorMichel Etienne2013-06-28 15:41:57 +0200
committerMichel Etienne2013-06-28 15:41:57 +0200
commit3529f9d5f2851b65fcf94b5a4ec3b722b9f6c64c (patch)
treeeab7c9adfda90b4e06ddd06716e98da65bd4b3aa /app/views/api/kml
parente8bf323e77a548e3ea7e9ab8e1e13e90764046c4 (diff)
downloadchouette-core-3529f9d5f2851b65fcf94b5a4ec3b722b9f6c64c.tar.bz2
remove projection attributes from stop areas and access points in database
Diffstat (limited to 'app/views/api/kml')
-rw-r--r--app/views/api/kml/stop_areas/_stop_area.kml.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/api/kml/stop_areas/_stop_area.kml.erb b/app/views/api/kml/stop_areas/_stop_area.kml.erb
index 1383fbf66..401bff052 100644
--- a/app/views/api/kml/stop_areas/_stop_area.kml.erb
+++ b/app/views/api/kml/stop_areas/_stop_area.kml.erb
@@ -11,9 +11,9 @@
<longitude><%= stop_area.longitude.to_s.html_safe %></longitude>
<latitude><%= stop_area.latitude.to_s.html_safe %></latitude>
<long_lat_type><%= stop_area.long_lat_type.to_s.html_safe %></long_lat_type>
- <x><%= stop_area.x.to_s.html_safe %></x>
- <y><%= stop_area.y.to_s.html_safe %></y>
- <projection_type><%= stop_area.projection_type.to_s.html_safe %></projection_type>
+ <x><%= stop_area.projection_x.to_s.html_safe %></x>
+ <y><%= stop_area.projection_y.to_s.html_safe %></y>
+ <projection_type><%= stop_area.projection.to_s.html_safe %></projection_type>
<country_code><%= stop_area.country_code.to_s.html_safe %></country_code>
<street_name><%= stop_area.street_name.to_s.html_safe %></street_name>