Method: MapWKT::Geometry::Point#wkt
- Defined in:
- lib/mapwkt/wkt/point.rb
#wkt ⇒ Object
Returns this Point’s WKT representation, rounded to 7 decimal places.
100 101 102 |
# File 'lib/mapwkt/wkt/point.rb', line 100 def wkt "POINT(#{self.longitude_f} #{self.latitude_f})" end |