Class: FeatureGeometry

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/geocoder_types.rb

Constant Summary collapse

CENTER =
1
BOUNDS =
2
WKBGEOMETRY =
3
WKTGEOMETRY =
4
WKBGEOMETRYSIMPLIFIED =
5
WKTGEOMETRYSIMPLIFIED =
6
DISPLAYBOUNDS =
7
SOURCE =
8
S2COVERING =
9
FIELDS =
{
  CENTER => {:type => ::Thrift::Types::STRUCT, :name => 'center', :class => ::GeocodePoint},
  BOUNDS => {:type => ::Thrift::Types::STRUCT, :name => 'bounds', :class => ::GeocodeBoundingBox, :optional => true},
  WKBGEOMETRY => {:type => ::Thrift::Types::STRING, :name => 'wkbGeometry', :binary => true, :optional => true},
  WKTGEOMETRY => {:type => ::Thrift::Types::STRING, :name => 'wktGeometry', :optional => true},
  WKBGEOMETRYSIMPLIFIED => {:type => ::Thrift::Types::STRING, :name => 'wkbGeometrySimplified', :binary => true, :optional => true},
  WKTGEOMETRYSIMPLIFIED => {:type => ::Thrift::Types::STRING, :name => 'wktGeometrySimplified', :optional => true},
  DISPLAYBOUNDS => {:type => ::Thrift::Types::STRUCT, :name => 'displayBounds', :class => ::GeocodeBoundingBox, :optional => true},
  SOURCE => {:type => ::Thrift::Types::STRING, :name => 'source', :optional => true},
  S2COVERING => {:type => ::Thrift::Types::LIST, :name => 's2Covering', :element => {:type => ::Thrift::Types::I64}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



195
# File 'lib/thrift/geocoder_types.rb', line 195

def struct_fields; FIELDS; end

#validateObject



197
198
# File 'lib/thrift/geocoder_types.rb', line 197

def validate
end