Class | GeoRuby::SimpleFeatures::EWKBParser |
In: |
lib/geo_ruby/simple_features/ewkb_parser.rb
|
Parent: | Object |
Parses EWKB strings and notifies of events (such as the beginning of the definition of geometry, the value of the SRID…) the factory passed as argument to the constructor.
factory = GeometryFactory::new ewkb_parser = EWKBParser::new(factory) ewkb_parser.parse(<EWKB String>) geometry = @factory.geometry
You can also use directly the static method Geometry.from_ewkb