Class: Geokit::Geocoders::YandexGeocoder

Inherits:
Geocoder
  • Object
show all
Defined in:
lib/geokit/geocoders/yandex_geocoder.rb

Constant Summary collapse

KIND_ACCURACY_MAP =
{
  'country'   => 1,
  'province'  => 2,
  'area'      => 3,
  # 5 postal code
  'locality'  => 4,
  'street'    => 6,
  'route'     => 6,
  # 7 kreuzung
  'house'     => 8,
  'metro'     => 8,
  'railway'   => 8,
  # 9 building
  # district hydro vegetation cemetery bridge km other
  #  0 #unknown
}
PRECISIONS =

9 building district hydro vegetation cemetery bridge km other

0 #unknown
%w{unknown country state state city zip zip+4 street address building}