PageRenderTime 223ms CodeModel.GetById 80ms app.highlight 4ms RepoModel.GetById 81ms app.codeStats 1ms

/Geocoding/Artem.GoogleGeocoding/GeoAddressType.cs

#
C# | 137 lines | 35 code | 29 blank | 73 comment | 0 complexity | ae8032b85096e7e0e2aaf24c91a75c16 MD5 | raw file
  1using System;
  2using System.Collections.Generic;
  3using System.Linq;
  4using System.Text;
  5
  6namespace Artem.Google.Net {
  7
  8    /// <summary>
  9    /// 
 10    /// </summary>
 11    public static class GeoAddressType {
 12
 13        #region Static Fields
 14
 15        /// <summary>
 16        /// indicates a precise street address
 17        /// </summary>
 18        public const string street_address = "street_address";
 19
 20        /// <summary>
 21        /// indicates a named route (such as "US 101"). 
 22        /// </summary>
 23        public const string route = "route";
 24
 25        /// <summary>
 26        /// indicates a major intersection, usually of two major roads. 
 27        /// </summary>
 28        /// 
 29        public const string intersection = "intersection";
 30
 31        /// <summary>
 32        /// indicates a political entity. Usually, this type indicates a polygon of some civil administration. 
 33        /// </summary>
 34        public const string political = "political";
 35
 36        /// <summary>
 37        /// indicates the national political entity, and is typically the highest order type returned by the Geocoder.
 38        /// </summary>
 39        public const string country = "country";
 40
 41        /// <summary>
 42        /// indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states. Not all nations exhibit these administrative levels. 
 43        /// </summary>
 44        public const string administrative_area_level_1 = "administrative_area_level_1";
 45
 46        /// <summary>
 47        /// indicates a second-order civil entity below the country level. Within the United States, these administrative levels are counties. Not all nations exhibit these administrative levels. 
 48        /// </summary>
 49        public const string administrative_area_level_2 = "administrative_area_level_2";
 50
 51        /// <summary>
 52        /// indicates a third-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. 
 53        /// </summary>
 54        public const string administrative_area_level_3 = "administrative_area_level_3";
 55
 56        /// <summary>
 57        /// indicates a commonly-used alternative name for the entity. 
 58        /// </summary>
 59        public const string colloquial_area = "colloquial_area";
 60
 61        /// <summary>
 62        /// indicates an incorporated city or town political entity. 
 63        /// </summary>
 64        public const string locality = "locality";
 65
 66        /// <summary>
 67        /// indicates an first-order civil entity below a locality 
 68        /// </summary>
 69        public const string sublocality = "sublocality";
 70
 71        /// <summary>
 72        /// indicates a named neighborhood 
 73        /// </summary>
 74        public const string neighborhood = "neighborhood";
 75
 76        /// <summary>
 77        /// indicates a named location, usually a building or collection of buildings with a common name 
 78        /// </summary>
 79        public const string premise = "premise";
 80
 81        /// <summary>
 82        /// indicates a first-order entity below a named location, usually a singular building within a collection of buildings with a common name 
 83        /// </summary>
 84        public const string subpremise = "subpremise";
 85
 86        /// <summary>
 87        /// indicates a postal code as used to address postal mail within the country. 
 88        /// </summary>
 89        public const string postal_code = "postal_code";
 90
 91        /// <summary>
 92        /// indicates a prominent natural feature. 
 93        /// </summary>
 94        public const string natural_feature = "natural_feature";
 95
 96        /// <summary>
 97        /// indicates an airport. 
 98        /// </summary>
 99        public const string airport = "airport";
100
101        /// <summary>
102        /// indicates a named park. 
103        /// </summary>
104        public const string park = "park";
105
106        /// <summary>
107        /// indicates a named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category such as "Empire State Building" or "Statue of Liberty." 
108        /// </summary>
109        public const string point_of_interest = "point_of_interest";
110
111        /// <summary>
112        /// indicates a specific postal box. 
113        /// </summary>
114        public const string post_box = "post_box";
115
116        /// <summary>
117        /// indicates the precise street number. 
118        /// </summary>
119        public const string street_number = "street_number";
120
121        /// <summary>
122        /// indicates the floor of a building address. 
123        /// </summary>
124        public const string floor = "floor";
125
126        /// <summary>
127        /// indicates the room of a building address. 
128        /// </summary>
129        public const string room = "room";
130
131        public const string postal_code_prefix = "postal_code_prefix";
132
133        public const string establishment = "establishment";
134
135        #endregion
136    }
137}