nofxx / georuby

This is intended as a holder for geometric data. The data model roughly follows the OGC.
MIT License
245 stars 55 forks source link

kml_spec.rb failure #23

Closed cbaines closed 11 years ago

cbaines commented 11 years ago

I get the following error message when running the tests:

Failures:

  1) GeoRuby::KmlParser should parse a GeoRuby::SimpleFeatures::LineString correctly
     Failure/Error: g.as_kml.gsub(/\n/,'').should eql(LINEARRING)
     SystemStackError:
       stack level too deep
     # ./lib/geo_ruby/simple_features/linear_ring.rb:18:in `orig_kml_representation'
     # ./lib/geo_ruby/simple_features/linear_ring.rb:18:in `orig_kml_representation'
     # ./lib/geo_ruby/simple_features/linear_ring.rb:18:in `kml_representation'
     # ./lib/geo_ruby/simple_features/geometry.rb:139:in `as_kml'
     # ./spec/geo_ruby/kml_spec.rb:40
nofxx commented 11 years ago

Tests running fine here. Ruby 2.0.0p247, fastercsv 1.5.5, linux 3.9.9. If you can replicate the error please reopen.