diff options
| author | Marc Florisson | 2013-07-23 09:43:31 +0200 | 
|---|---|---|
| committer | Marc Florisson | 2013-07-23 09:43:31 +0200 | 
| commit | e40a44ffdb011bd1fae6d8e3960570f6222d3994 (patch) | |
| tree | 8e19b0f165934812fe3dc01f9296318ba8abfb7e /app/exporters | |
| parent | 59f686b05bd0bd98fb10c39f19074e7261f75a76 (diff) | |
| download | chouette-core-e40a44ffdb011bd1fae6d8e3960570f6222d3994.tar.bz2 | |
fix models select to export
Diffstat (limited to 'app/exporters')
| -rw-r--r-- | app/exporters/chouette/kml/exporter.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/app/exporters/chouette/kml/exporter.rb b/app/exporters/chouette/kml/exporter.rb index 046d5d29f..aca4a1d09 100644 --- a/app/exporters/chouette/kml/exporter.rb +++ b/app/exporters/chouette/kml/exporter.rb @@ -43,14 +43,14 @@ class Chouette::Kml::Exporter          Chouette::Kml::StopAreaExporter.save( stop_areas, temp_dir, kml_export, "Quay")          commercial_stop_areas = lines_collected.collect(&:commercial_stop_areas).flatten.uniq.sort_by(&:name) -        Chouette::Kml::StopAreaExporter.save( stop_areas, temp_dir, kml_export, "CommercialStopPoint") +        Chouette::Kml::StopAreaExporter.save( commercial_stop_areas, temp_dir, kml_export, "CommercialStopPoint")          if(options[:o].present?) # Add all objects            stop_places = referential.stop_areas.stop_place.sort_by(&:name) -          Chouette::Kml::StopAreaExporter.save( stop_areas, temp_dir, kml_export, "StopPlace") +          Chouette::Kml::StopAreaExporter.save( stop_places, temp_dir, kml_export, "StopPlace")            itls = referential.stop_areas.itl.sort_by(&:name) -          Chouette::Kml::StopAreaExporter.save( stop_areas, temp_dir, kml_export, "ITL") +          Chouette::Kml::StopAreaExporter.save( itls, temp_dir, kml_export, "ITL")            connection_links = referential.connection_links.sort_by(&:name)            Chouette::Kml::ConnectionLinkExporter.save( connection_links, temp_dir, kml_export)  | 
