graticule 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/.autotest +13 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +14 -0
  4. data/CHANGELOG.txt +4 -1
  5. data/Gemfile +7 -0
  6. data/LICENSE.txt +1 -1
  7. data/README.md +122 -0
  8. data/Rakefile +78 -0
  9. data/graticule.gemspec +26 -0
  10. data/lib/graticule/cli.rb +3 -1
  11. data/lib/graticule/geocoder/google.rb +33 -4
  12. data/lib/graticule/geocoder/mapquest.rb +52 -59
  13. data/lib/graticule/precision.rb +3 -1
  14. data/lib/graticule/version.rb +1 -1
  15. data/site/index.html +114 -0
  16. data/site/plugin.html +82 -0
  17. data/site/stylesheets/style.css +69 -0
  18. data/test/config.yml.default +33 -0
  19. data/test/fixtures/responses/freethepostcode/not_found.txt +3 -0
  20. data/test/fixtures/responses/freethepostcode/success.txt +2 -0
  21. data/test/fixtures/responses/geocoder_ca/success.xml +12 -0
  22. data/test/fixtures/responses/geocoder_us/success.xml +8 -0
  23. data/test/fixtures/responses/geocoder_us/unknown.xml +1 -0
  24. data/test/fixtures/responses/geonames/missing.xml +4 -0
  25. data/test/fixtures/responses/geonames/success.xml +14 -0
  26. data/test/fixtures/responses/geonames/unknown.xml +4 -0
  27. data/test/fixtures/responses/google/address.json +64 -0
  28. data/test/fixtures/responses/google/badkey.json +4 -0
  29. data/test/fixtures/responses/google/country.json +43 -0
  30. data/test/fixtures/responses/google/limit.json +4 -0
  31. data/test/fixtures/responses/google/locality.json +58 -0
  32. data/test/fixtures/responses/google/region.json +48 -0
  33. data/test/fixtures/responses/google/server_error.json +4 -0
  34. data/test/fixtures/responses/google/street.json +58 -0
  35. data/test/fixtures/responses/google/success.json +64 -0
  36. data/test/fixtures/responses/google/success_multiple_results.json +68 -0
  37. data/test/fixtures/responses/google/zero_results.json +4 -0
  38. data/test/fixtures/responses/host_ip/private.txt +4 -0
  39. data/test/fixtures/responses/host_ip/success.txt +4 -0
  40. data/test/fixtures/responses/host_ip/unknown.txt +4 -0
  41. data/test/fixtures/responses/local_search_maps/empty.txt +1 -0
  42. data/test/fixtures/responses/local_search_maps/not_found.txt +1 -0
  43. data/test/fixtures/responses/local_search_maps/success.txt +1 -0
  44. data/test/fixtures/responses/mapquest/multi_result.xml +317 -0
  45. data/test/fixtures/responses/mapquest/success.xml +54 -0
  46. data/test/fixtures/responses/multimap/missing_params.xml +4 -0
  47. data/test/fixtures/responses/multimap/no_matches.xml +4 -0
  48. data/test/fixtures/responses/multimap/success.xml +19 -0
  49. data/test/fixtures/responses/simple_geo/error.json +4 -0
  50. data/test/fixtures/responses/simple_geo/success.json +255 -0
  51. data/test/fixtures/responses/yahoo/success.xml +3 -0
  52. data/test/fixtures/responses/yahoo/unknown_address.xml +6 -0
  53. data/test/fixtures/responses/yandex/badkey.xml +5 -0
  54. data/test/fixtures/responses/yandex/success.xml +204 -0
  55. data/test/graticule/distance_test.rb +59 -0
  56. data/test/graticule/geocoder/freethepostcode_test.rb +37 -0
  57. data/test/graticule/geocoder/geocoder_ca_test.rb +42 -0
  58. data/test/graticule/geocoder/geocoder_us_test.rb +44 -0
  59. data/test/graticule/geocoder/geocoders.rb +56 -0
  60. data/test/graticule/geocoder/geonames_test.rb +56 -0
  61. data/test/graticule/geocoder/google_signed_test.rb +19 -0
  62. data/test/graticule/geocoder/google_test.rb +138 -0
  63. data/test/graticule/geocoder/host_ip_test.rb +41 -0
  64. data/test/graticule/geocoder/local_search_maps_test.rb +31 -0
  65. data/test/graticule/geocoder/mapquest_test.rb +56 -0
  66. data/test/graticule/geocoder/multi_test.rb +52 -0
  67. data/test/graticule/geocoder/multimap_test.rb +53 -0
  68. data/test/graticule/geocoder/simple_geo_test.rb +45 -0
  69. data/test/graticule/geocoder/yahoo_test.rb +50 -0
  70. data/test/graticule/geocoder/yandex_test.rb +42 -0
  71. data/test/graticule/geocoder_test.rb +24 -0
  72. data/test/graticule/location_test.rb +79 -0
  73. data/test/graticule/precision_test.rb +38 -0
  74. data/test/mocks/uri.rb +53 -0
  75. data/test/test_helper.rb +32 -0
  76. metadata +147 -75
  77. data/README.textile +0 -64
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <response>
3
+ <info>
4
+ <statusCode>0</statusCode>
5
+ <messages/>
6
+ <copyright>
7
+ <imageUrl>http://api.mqcdn.com/res/mqlogo.gif</imageUrl>
8
+ <imageAltText>© 2013 MapQuest, Inc.</imageAltText>
9
+ <text>© 2013 MapQuest, Inc.</text>
10
+ </copyright>
11
+ </info>
12
+ <results>
13
+ <result>
14
+ <providedLocation>
15
+ <location>44 Allen Rd., Lovell, ME 04051</location>
16
+ </providedLocation>
17
+ <locations>
18
+ <location>
19
+ <street>44 Allen Rd</street>
20
+ <adminArea5 type="City">Lovell</adminArea5>
21
+ <adminArea3 type="State">ME</adminArea3>
22
+ <adminArea4 type="County">Oxford County</adminArea4>
23
+ <postalCode>04051-3919</postalCode>
24
+ <adminArea1 type="Country">US</adminArea1>
25
+ <geocodeQuality>POINT</geocodeQuality>
26
+ <geocodeQualityCode>P1AAA</geocodeQualityCode>
27
+ <dragPoint>false</dragPoint>
28
+ <sideOfStreet>L</sideOfStreet>
29
+ <displayLatLng>
30
+ <latLng>
31
+ <lat>44.15175</lat>
32
+ <lng>-70.893</lng>
33
+ </latLng>
34
+ </displayLatLng>
35
+ <linkId>0</linkId>
36
+ <type>s</type>
37
+ <latLng>
38
+ <lat>44.15218</lat>
39
+ <lng>-70.89297</lng>
40
+ </latLng>
41
+ <mapUrl>
42
+ <![CDATA[http://www.mapquestapi.com/staticmap/v4/getmap?key=Fmjtd|luub2hutnu,7w=o5-9utnh0&type=map&size=225,160&pois=purple-1,44.15218,-70.89297,0,0|&center=44.15218,-70.89297&zoom=15&rand=2024978506]]>
43
+ </mapUrl>
44
+ </location>
45
+ </locations>
46
+ </result>
47
+ </results>
48
+ <options>
49
+ <maxResults>-1</maxResults>
50
+ <thumbMaps>true</thumbMaps>
51
+ <ignoreLatLngInput>false</ignoreLatLngInput>
52
+ <boundingBox/>
53
+ </options>
54
+ </response>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <Results xmlns="http://clients.multimap.com/API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi:schemaLocation="http://clients.multimap.com/API http://clients.multimap.com/Schema/geocode_1.2.xsd"
4
+ errorCode="MM_GEOCODE_REQUIRED_PARAMETERS_MISSING" locationCount="0" />
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <Results xmlns="http://clients.multimap.com/API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi:schemaLocation="http://clients.multimap.com/API http://clients.multimap.com/Schema/geocode_1.2.xsd"
4
+ errorCode="MM_GEOCODE_NO_MATCHES" locationCount="0" />
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <Results xmlns="http://clients.multimap.com/API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi:schemaLocation="http://clients.multimap.com/API http://clients.multimap.com/Schema/geocode_1.2.xsd" locationCount="1">
4
+ <Location geocodeQuality="1">
5
+ <Address>
6
+ <Street>Oxford Street</Street>
7
+ <Areas>
8
+ <Area>LONDON</Area>
9
+ </Areas>
10
+ <PostalCode>W1</PostalCode>
11
+ <DisplayName>Oxford Street, LONDON, W1</DisplayName>
12
+ <CountryCode>GB</CountryCode>
13
+ </Address>
14
+ <Point>
15
+ <Lat>51.51452</Lat>
16
+ <Lon>-0.14839</Lon>
17
+ </Point>
18
+ </Location>
19
+ </Results>
@@ -0,0 +1,4 @@
1
+ {
2
+ "code":500,
3
+ "message":"Internal Server Error"
4
+ }
@@ -0,0 +1,255 @@
1
+ {
2
+ "query":
3
+ {
4
+ "latitude":34.482358,
5
+ "longitude":-117.373982,
6
+ "address":"1600 Amphitheatre Parkway, Mountain View,CA"
7
+ },
8
+ "timestamp":1294368549.955,
9
+ "features":
10
+ [
11
+ {
12
+ "handle":"SG_1Otdjh18O9anBbxjYr2TqB_34.487151_-117.354916",
13
+ "name":"06071009902",
14
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
15
+ "bounds":
16
+ [
17
+ -117.386259,
18
+ 34.470181,
19
+ -117.329905,
20
+ 34.506723
21
+ ],
22
+ "href":"http://api.simplegeo.com/1.0/features/SG_1Otdjh18O9anBbxjYr2TqB_34.487151_-117.354916.json",
23
+ "abbr":null,
24
+ "classifiers":
25
+ [
26
+ {
27
+ "category":"US Census",
28
+ "type":"Region",
29
+ "subcategory":"Tract"
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "handle":"SG_2g7VeqkrzCJCyuCbo1Ff2r_34.486667_-117.371184",
35
+ "name":"92392",
36
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
37
+ "bounds":
38
+ [
39
+ -117.49579,
40
+ 34.426755,
41
+ -117.250416,
42
+ 34.564234
43
+ ],
44
+ "href":"http://api.simplegeo.com/1.0/features/SG_2g7VeqkrzCJCyuCbo1Ff2r_34.486667_-117.371184.json",
45
+ "abbr":null,
46
+ "classifiers":
47
+ [
48
+ {
49
+ "category":"Postal Code",
50
+ "type":"Region",
51
+ "subcategory":null
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "handle":"SG_2kp8yDSE3qiOP0dicAHDqg_34.527769_-117.353855",
57
+ "name":"Victorville",
58
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
59
+ "bounds":
60
+ [
61
+ -117.46864,
62
+ 34.435848,
63
+ -117.253907,
64
+ 34.645497
65
+ ],
66
+ "href":"http://api.simplegeo.com/1.0/features/SG_2kp8yDSE3qiOP0dicAHDqg_34.527769_-117.353855.json",
67
+ "abbr":null,
68
+ "classifiers":
69
+ [
70
+ {
71
+ "category":"Municipal",
72
+ "type":"Region",
73
+ "subcategory":"City"
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "handle":"SG_1c5T61jEkGOfZvy5LNOIfT_34.526999_-117.353691",
79
+ "href":"http://api.simplegeo.com/1.0/features/SG_1c5T61jEkGOfZvy5LNOIfT_34.526999_-117.353691.json",
80
+ "abbr":null,
81
+ "attribution":"(c) OpenStreetMap (http://openstreetmap.org/) and contributors CC-BY-SA (http://creativecommons.org/licenses/by-sa/2.0/)",
82
+ "classifiers":
83
+ [
84
+ {
85
+ "category":"Municipality",
86
+ "type":"Region",
87
+ "subcategory":"City"
88
+ }
89
+ ],
90
+ "name":"Victorville",
91
+ "license":"http://creativecommons.org/licenses/by-sa/2.0/",
92
+ "bounds":
93
+ [
94
+ -117.46864,
95
+ 34.435848,
96
+ -117.253907,
97
+ 34.645497
98
+ ]
99
+ },
100
+ {
101
+ "handle":"SG_4Yva8e9vcHH3MScH7KvMZD_34.663870_-117.669800",
102
+ "name":"Assembly District 36",
103
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
104
+ "bounds":
105
+ [
106
+ -118.377303,
107
+ 34.326294,
108
+ -116.96524,
109
+ 34.998637
110
+ ],
111
+ "href":"http://api.simplegeo.com/1.0/features/SG_4Yva8e9vcHH3MScH7KvMZD_34.663870_-117.669800.json",
112
+ "abbr":null,
113
+ "classifiers":
114
+ [
115
+ {
116
+ "category":"Legislative District",
117
+ "type":"Region",
118
+ "subcategory":"Provincial (Lower)"
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ "handle":"SG_1ZlF3w31JV0eG1ukUUcZGr_34.566552_-118.353652",
124
+ "name":"State Senate District 17",
125
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
126
+ "bounds":
127
+ [
128
+ -119.454582,
129
+ 34.210933,
130
+ -117.099583,
131
+ 34.901274
132
+ ],
133
+ "href":"http://api.simplegeo.com/1.0/features/SG_1ZlF3w31JV0eG1ukUUcZGr_34.566552_-118.353652.json",
134
+ "abbr":null,
135
+ "classifiers":
136
+ [
137
+ {
138
+ "category":"Legislative District",
139
+ "type":"Region",
140
+ "subcategory":"Provincial (Upper)"
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "handle":"SG_4JGWCBWthWI7RB522a2Qzb_34.841434_-116.178457",
146
+ "name":"San Bernardino",
147
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
148
+ "bounds":
149
+ [
150
+ -117.802891,
151
+ 33.870831,
152
+ -114.131211,
153
+ 35.809236
154
+ ],
155
+ "href":"http://api.simplegeo.com/1.0/features/SG_4JGWCBWthWI7RB522a2Qzb_34.841434_-116.178457.json",
156
+ "abbr":null,
157
+ "classifiers":
158
+ [
159
+ {
160
+ "category":"Administrative",
161
+ "type":"Region",
162
+ "subcategory":"County"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "handle":"SG_1ZVESZNJmAlJh0isTepcXb_36.218760_-117.499181",
168
+ "name":"Congressional District 25",
169
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
170
+ "bounds":
171
+ [
172
+ -119.651509,
173
+ 34.230677,
174
+ -115.388796,
175
+ 38.713212
176
+ ],
177
+ "href":"http://api.simplegeo.com/1.0/features/SG_1ZVESZNJmAlJh0isTepcXb_36.218760_-117.499181.json",
178
+ "abbr":null,
179
+ "classifiers":
180
+ [
181
+ {
182
+ "category":"Legislative District",
183
+ "type":"Region",
184
+ "subcategory":"National"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "handle":"SG_2MySaPILVQG3MoXrsVehyR_37.215297_-119.663837",
190
+ "name":"California",
191
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
192
+ "bounds":
193
+ [
194
+ -124.482003,
195
+ 32.528832,
196
+ -114.131211,
197
+ 42.009517
198
+ ],
199
+ "href":"http://api.simplegeo.com/1.0/features/SG_2MySaPILVQG3MoXrsVehyR_37.215297_-119.663837.json",
200
+ "abbr":"CA",
201
+ "classifiers":
202
+ [
203
+ {
204
+ "category":"Subnational",
205
+ "type":"Region",
206
+ "subcategory":"State"
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "handle":"SG_3tLT0I5cOUWIpoVOBeScOx_41.316130_-119.116571",
212
+ "name":"America/Los_Angeles",
213
+ "license":"creativecommons.org/publicdomain/zero/1.0/",
214
+ "bounds":
215
+ [
216
+ -124.733253,
217
+ 32.534622,
218
+ -114.039345,
219
+ 49.002892
220
+ ],
221
+ "href":"http://api.simplegeo.com/1.0/features/SG_3tLT0I5cOUWIpoVOBeScOx_41.316130_-119.116571.json",
222
+ "abbr":null,
223
+ "classifiers":
224
+ [
225
+ {
226
+ "category":"Time Zone",
227
+ "type":"Region",
228
+ "subcategory":null
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "handle":"SG_3uwSAEdXVBzK1ZER9Nqkdp_45.687160_-112.493107",
234
+ "name":"United States of America",
235
+ "license":"http://creativecommons.org/publicdomain/mark/1.0/",
236
+ "bounds":
237
+ [
238
+ -179.142471,
239
+ 18.930138,
240
+ 179.78115,
241
+ 71.41218
242
+ ],
243
+ "href":"http://api.simplegeo.com/1.0/features/SG_3uwSAEdXVBzK1ZER9Nqkdp_45.687160_-112.493107.json",
244
+ "abbr":null,
245
+ "classifiers":
246
+ [
247
+ {
248
+ "category":"National",
249
+ "type":"Region",
250
+ "subcategory":null
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ }
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0"?>
2
+ <ResultSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:yahoo:maps" xsi:schemaLocation="urn:yahoo:maps http://api.local.yahoo.com/MapsService/V1/GeocodeResponse.xsd"><Result precision="address" warning="The exact location could not be found, here is the closest match: 701 1st Ave, Sunnyvale, CA 94089"><Latitude>37.416397</Latitude><Longitude>-122.025055</Longitude><Address>701 1st Ave</Address><City>Sunnyvale</City><State>CA</State><Zip>94089-1019</Zip><Country>US</Country></Result></ResultSet>
3
+ <!-- ws01.ydn.re2.yahoo.com uncompressed/chunked Sun Oct 4 17:27:51 PDT 2009 -->
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Error xmlns="urn:yahoo:api">
3
+ The following errors were detected:
4
+ <Message>unable to parse location</Message>
5
+ </Error>
6
+ <!-- ws03.ydn.re2.yahoo.com uncompressed/chunked Sun Oct 4 17:27:52 PDT 2009 -->
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <error>
3
+ <status>401</status>
4
+ <message>invalid key</message>
5
+ </error>
@@ -0,0 +1,204 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <ymaps xmlns="http://maps.yandex.ru/ymaps/1.x" xmlns:x="http://www.yandex.ru/xscript" xmlns:xi="http://www.w3.org/2001/XInclude">
3
+ <GeoObjectCollection>
4
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
5
+ <GeocoderResponseMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
6
+ <request>Россия, Москва, ул. Моховая, д.18</request>
7
+ <found>5</found>
8
+ <results>10</results>
9
+ </GeocoderResponseMetaData>
10
+ </metaDataProperty>
11
+ <featureMember xmlns="http://www.opengis.net/gml">
12
+ <GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x">
13
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
14
+ <GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
15
+ <kind>house</kind>
16
+ <text>Россия, Москва, Моховая улица, 18</text>
17
+ <precision>exact</precision>
18
+ <AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
19
+ <Country>
20
+ <CountryNameCode>RU</CountryNameCode>
21
+ <CountryName>Россия</CountryName>
22
+ <Locality>
23
+ <LocalityName>Москва</LocalityName>
24
+ <Thoroughfare>
25
+ <ThoroughfareName>Моховая улица</ThoroughfareName>
26
+ <Premise>
27
+ <PremiseNumber>18</PremiseNumber>
28
+ </Premise>
29
+ </Thoroughfare>
30
+ </Locality>
31
+ </Country>
32
+ </AddressDetails>
33
+ </GeocoderMetaData>
34
+ </metaDataProperty>
35
+ <name xmlns="http://www.opengis.net/gml">Моховая улица, 18</name>
36
+ <boundedBy xmlns="http://www.opengis.net/gml">
37
+ <Envelope>
38
+ <lowerCorner>37.608176 55.751026</lowerCorner>
39
+ <upperCorner>37.616387 55.755657</upperCorner>
40
+ </Envelope>
41
+ </boundedBy>
42
+ <Point xmlns="http://www.opengis.net/gml">
43
+ <pos>37.612281 55.753342</pos>
44
+ </Point>
45
+ </GeoObject>
46
+ </featureMember>
47
+ <featureMember xmlns="http://www.opengis.net/gml">
48
+ <GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x">
49
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
50
+ <GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
51
+ <kind>house</kind>
52
+ <text>Россия, Московская область, Орехово-Зуево, Моховая улица, 16</text>
53
+ <precision>near</precision>
54
+ <AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
55
+ <Country>
56
+ <CountryNameCode>RU</CountryNameCode>
57
+ <CountryName>Россия</CountryName>
58
+ <AdministrativeArea>
59
+ <AdministrativeAreaName>Московская область</AdministrativeAreaName>
60
+ <Locality>
61
+ <LocalityName>Орехово-Зуево</LocalityName>
62
+ <Thoroughfare>
63
+ <ThoroughfareName>Моховая улица</ThoroughfareName>
64
+ <Premise>
65
+ <PremiseNumber>16</PremiseNumber>
66
+ </Premise>
67
+ </Thoroughfare>
68
+ </Locality>
69
+ </AdministrativeArea>
70
+ </Country>
71
+ </AddressDetails>
72
+ </GeocoderMetaData>
73
+ </metaDataProperty>
74
+ <name xmlns="http://www.opengis.net/gml">Моховая улица, 16</name>
75
+ <boundedBy xmlns="http://www.opengis.net/gml">
76
+ <Envelope>
77
+ <lowerCorner>38.938195 55.805402</lowerCorner>
78
+ <upperCorner>38.946405 55.810026</upperCorner>
79
+ </Envelope>
80
+ </boundedBy>
81
+ <Point xmlns="http://www.opengis.net/gml">
82
+ <pos>38.942300 55.807714</pos>
83
+ </Point>
84
+ </GeoObject>
85
+ </featureMember>
86
+ <featureMember xmlns="http://www.opengis.net/gml">
87
+ <GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x">
88
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
89
+ <GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
90
+ <kind>house</kind>
91
+ <text>Россия, Московская область, Шатурский район, Шатура, Моховая улица, 18</text>
92
+ <precision>exact</precision>
93
+ <AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
94
+ <Country>
95
+ <CountryNameCode>RU</CountryNameCode>
96
+ <CountryName>Россия</CountryName>
97
+ <AdministrativeArea>
98
+ <AdministrativeAreaName>Московская область</AdministrativeAreaName>
99
+ <SubAdministrativeArea>
100
+ <SubAdministrativeAreaName>Шатурский район</SubAdministrativeAreaName>
101
+ <Locality>
102
+ <LocalityName>Шатура</LocalityName>
103
+ <Thoroughfare>
104
+ <ThoroughfareName>Моховая улица</ThoroughfareName>
105
+ <Premise>
106
+ <PremiseNumber>18</PremiseNumber>
107
+ </Premise>
108
+ </Thoroughfare>
109
+ </Locality>
110
+ </SubAdministrativeArea>
111
+ </AdministrativeArea>
112
+ </Country>
113
+ </AddressDetails>
114
+ </GeocoderMetaData>
115
+ </metaDataProperty>
116
+ <name xmlns="http://www.opengis.net/gml">Моховая улица, 18</name>
117
+ <boundedBy xmlns="http://www.opengis.net/gml">
118
+ <Envelope>
119
+ <lowerCorner>39.551106 55.562490</lowerCorner>
120
+ <upperCorner>39.559317 55.567143</upperCorner>
121
+ </Envelope>
122
+ </boundedBy>
123
+ <Point xmlns="http://www.opengis.net/gml">
124
+ <pos>39.555211 55.564816</pos>
125
+ </Point>
126
+ </GeoObject>
127
+ </featureMember>
128
+ <featureMember xmlns="http://www.opengis.net/gml">
129
+ <GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x">
130
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
131
+ <GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
132
+ <kind>street</kind>
133
+ <text>Россия, Московская область, Дубна, Моховая улица</text>
134
+ <precision>street</precision>
135
+ <AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
136
+ <Country>
137
+ <CountryNameCode>RU</CountryNameCode>
138
+ <CountryName>Россия</CountryName>
139
+ <AdministrativeArea>
140
+ <AdministrativeAreaName>Московская область</AdministrativeAreaName>
141
+ <Locality>
142
+ <LocalityName>Дубна</LocalityName>
143
+ <Thoroughfare>
144
+ <ThoroughfareName>Моховая улица</ThoroughfareName>
145
+ </Thoroughfare>
146
+ </Locality>
147
+ </AdministrativeArea>
148
+ </Country>
149
+ </AddressDetails>
150
+ </GeocoderMetaData>
151
+ </metaDataProperty>
152
+ <name xmlns="http://www.opengis.net/gml">Моховая улица</name>
153
+ <boundedBy xmlns="http://www.opengis.net/gml">
154
+ <Envelope>
155
+ <lowerCorner>37.200098 56.746648</lowerCorner>
156
+ <upperCorner>37.204284 56.748163</upperCorner>
157
+ </Envelope>
158
+ </boundedBy>
159
+ <Point xmlns="http://www.opengis.net/gml">
160
+ <pos>37.200745 56.746949</pos>
161
+ </Point>
162
+ </GeoObject>
163
+ </featureMember>
164
+ <featureMember xmlns="http://www.opengis.net/gml">
165
+ <GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x">
166
+ <metaDataProperty xmlns="http://www.opengis.net/gml">
167
+ <GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
168
+ <kind>street</kind>
169
+ <text>Россия, Московская область, Озерский район, Озеры, улица Моховая</text>
170
+ <precision>street</precision>
171
+ <AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
172
+ <Country>
173
+ <CountryNameCode>RU</CountryNameCode>
174
+ <CountryName>Россия</CountryName>
175
+ <AdministrativeArea>
176
+ <AdministrativeAreaName>Московская область</AdministrativeAreaName>
177
+ <SubAdministrativeArea>
178
+ <SubAdministrativeAreaName>Озерский район</SubAdministrativeAreaName>
179
+ <Locality>
180
+ <LocalityName>Озеры</LocalityName>
181
+ <Thoroughfare>
182
+ <ThoroughfareName>улица Моховая</ThoroughfareName>
183
+ </Thoroughfare>
184
+ </Locality>
185
+ </SubAdministrativeArea>
186
+ </AdministrativeArea>
187
+ </Country>
188
+ </AddressDetails>
189
+ </GeocoderMetaData>
190
+ </metaDataProperty>
191
+ <name xmlns="http://www.opengis.net/gml">улица Моховая</name>
192
+ <boundedBy xmlns="http://www.opengis.net/gml">
193
+ <Envelope>
194
+ <lowerCorner>38.539415 54.859891</lowerCorner>
195
+ <upperCorner>38.539450 54.861559</upperCorner>
196
+ </Envelope>
197
+ </boundedBy>
198
+ <Point xmlns="http://www.opengis.net/gml">
199
+ <pos>38.539415 54.859891</pos>
200
+ </Point>
201
+ </GeoObject>
202
+ </featureMember>
203
+ </GeoObjectCollection>
204
+ </ymaps>