Commits

irasally committed 51a72c3

タイトルなどを汎用的にした

Comments (0)

Files changed (1)

   private
   def create_document
     KML::Document.new(
-                      :name => 'Driving cource - GW 2012',
-                      :description => 'GWドライブ走行ルートの記録',
+                      :name => 'GPS to Kml',
+                      :description => 'gpsロガーの記録をkmlに変換',
                       :styles => [
                                   KML::Style.new(
-                                                 :id => 'driving_root',
+                                                 :id => 'base_style',
                                                  :line_style => KML::LineStyle.new(:color => '6f9314ff', :width => 4), # color: Transparency, Blue, Green, Red
                                                  )
                                  ] )
   end
   def create_placemark(latitudes, idx = 0)
     KML::Placemark.new(
-                       :name => "Driving root 20120509-#{idx}",
-                       :description => 'driving_root',
-                       :style_url => '#driving_root',
+                       :name => "Gps to Kml-#{idx}",
+                       :description => 'gpsロガーの結果をkmlに変換した',
+                       :style_url => '#base_style',
                        :geometry => KML::LineString.new(
                                                         :extrude => true,
                                                         :tessellate => false,