PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/Geocoding/Artem.GoogleGeocoding/GeoAddressType.cs

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