lib/geos/coordinate_sequence.rb
def to_georss(*args)
      xml = Geos::Helper.xml_options(*args)[0]

      xml.georss(:where) do
        xml.gml(:LineString) do
          xml.gml(:posList) do
            xml << self.to_a.collect do |p|
              "#{p[1]} #{p[0]}"
            end.join(' ')
          end
        end
      end
    end
def to_georss(*args)
      xml = Geos::Helper.xml_options(*args)[0]

      xml.georss(:where) do
        xml.gml(:LineString) do
          xml.gml(:posList) do
            xml << self.to_a.collect do |p|
              "#{p[1]} #{p[0]}"
            end.join(' ')
          end
        end
      end
    end
def to_georss ( * args ) xml = Geos :: Helper . xml_options ( args ) [ 0 ] xml . georss ( :where ) do xml . gml ( :LineString ) do xml . gml ( :posList ) do xml << self . to_a . collect do | p | "#{p[1]} #{p[0]}" end . join ( ' ' ) end end end end
Build some XmlMarkup for GeoRSS GML. You should include the
 appropriate georss and gml XML namespaces in your document.
Build some XmlMarkup for GeoRSS GML . You should include the appropriate georss and gml XML namespaces in your document .