Module: GeoRuby::SimpleFeatures

Included in:
GeoJSONParser, GeorssParser
Defined in:
lib/geo_ruby/ewk/ewkb_parser.rb,
lib/geo_ruby/ewk/ewkt_parser.rb,
lib/geo_ruby/simple_features.rb,
lib/geo_ruby/simple_features/point.rb,
lib/geo_ruby/simple_features/circle.rb,
lib/geo_ruby/simple_features/helper.rb,
lib/geo_ruby/simple_features/polygon.rb,
lib/geo_ruby/simple_features/envelope.rb,
lib/geo_ruby/simple_features/geometry.rb,
lib/geo_ruby/simple_features/line_string.rb,
lib/geo_ruby/simple_features/linear_ring.rb,
lib/geo_ruby/simple_features/multi_point.rb,
lib/geo_ruby/simple_features/multi_polygon.rb,
lib/geo_ruby/simple_features/geometry_factory.rb,
lib/geo_ruby/simple_features/multi_line_string.rb,
lib/geo_ruby/simple_features/geometry_collection.rb

Defined Under Namespace

Classes: Circle, EWKBFormatError, EWKBParser, EWKTFormatError, EWKTParser, Envelope, Geometry, GeometryCollection, GeometryFactory, HexEWKBParser, LineString, LinearRing, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, TokenizerStructure, UnpackStructure

Constant Summary collapse

Z_MASK =

indicates the presence of Z coordinates in EWKB strings

0x80000000
M_MASK =

indicates the presence of M coordinates in EWKB strings.

0x40000000
SRID_MASK =

indicate the presence of a SRID in EWKB strings.

0x20000000
GEORSS_NS =

GeoRSS namespace

'http://www.georss.org/georss'
GML_NS =

GML Namespace

'http://www.opengis.net/gml'
W3CGEO_NS =

W3CGeo Namespace

'http://www.w3.org/2003/01/geo/wgs84_pos#'
KML_NS =

KML Namespace

'http://earth.google.com/kml/2.1'
DEFAULT_SRID =

TODO: Should this move to simple_features.rb instead? Default SRID is WGS84, see en.wikipedia.org/wiki/Spatial_reference_system

4326