geo_combine 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ruby.yml +53 -0
  3. data/.gitignore +2 -0
  4. data/.rubocop.yml +20 -0
  5. data/.rubocop_todo.yml +165 -0
  6. data/Gemfile +3 -1
  7. data/README.md +80 -1
  8. data/Rakefile +4 -2
  9. data/bin/geocombine +1 -0
  10. data/geo_combine.gemspec +5 -0
  11. data/lib/geo_combine/bounding_box.rb +7 -1
  12. data/lib/geo_combine/ckan_metadata.rb +10 -8
  13. data/lib/geo_combine/cli.rb +3 -1
  14. data/lib/geo_combine/esri_open_data.rb +2 -0
  15. data/lib/geo_combine/exceptions.rb +3 -0
  16. data/lib/geo_combine/fgdc.rb +2 -2
  17. data/lib/geo_combine/formats.rb +2 -0
  18. data/lib/geo_combine/formatting.rb +3 -1
  19. data/lib/geo_combine/geo_blacklight_harvester.rb +211 -0
  20. data/lib/geo_combine/geoblacklight.rb +20 -6
  21. data/lib/geo_combine/geometry_types.rb +2 -0
  22. data/lib/geo_combine/iso19139.rb +2 -1
  23. data/lib/geo_combine/ogp.rb +13 -11
  24. data/lib/geo_combine/railtie.rb +2 -0
  25. data/lib/geo_combine/subjects.rb +2 -0
  26. data/lib/geo_combine/version.rb +3 -1
  27. data/lib/geo_combine.rb +7 -3
  28. data/lib/tasks/geo_combine.rake +57 -26
  29. data/lib/xslt/fgdc2html.xsl +38 -9
  30. data/lib/xslt/iso2html.xsl +1107 -1070
  31. data/spec/features/fgdc2html_spec.rb +53 -1
  32. data/spec/features/iso2html_spec.rb +17 -2
  33. data/spec/fixtures/docs/princeton_fgdc.xml +374 -0
  34. data/spec/fixtures/docs/repos.json +3224 -0
  35. data/spec/fixtures/docs/simple_xml.xml +10 -0
  36. data/spec/fixtures/docs/simple_xslt.xsl +11 -0
  37. data/spec/fixtures/docs/stanford_iso.xml +652 -0
  38. data/spec/fixtures/docs/tufts_fgdc.xml +977 -0
  39. data/spec/fixtures/indexing/basic_geoblacklight.json +27 -0
  40. data/spec/fixtures/indexing/geoblacklight.json +33 -0
  41. data/spec/fixtures/indexing/layers.json +16119 -0
  42. data/spec/fixtures/indexing/test.txt +1 -0
  43. data/spec/fixtures/json_docs.rb +2 -0
  44. data/spec/fixtures/xml_docs.rb +9 -1659
  45. data/spec/helpers.rb +7 -7
  46. data/spec/lib/geo_combine/bounding_box_spec.rb +18 -0
  47. data/spec/lib/geo_combine/ckan_metadata_spec.rb +34 -11
  48. data/spec/lib/geo_combine/esri_open_data_spec.rb +23 -2
  49. data/spec/lib/geo_combine/fgdc_spec.rb +41 -10
  50. data/spec/lib/geo_combine/formatting_spec.rb +13 -5
  51. data/spec/lib/geo_combine/geo_blacklight_harvester_spec.rb +194 -0
  52. data/spec/lib/geo_combine/geoblacklight_spec.rb +41 -11
  53. data/spec/lib/geo_combine/iso19139_spec.rb +26 -14
  54. data/spec/lib/geo_combine/ogp_spec.rb +28 -8
  55. data/spec/lib/geo_combine_spec.rb +7 -4
  56. data/spec/lib/tasks/geo_combine_spec.rb +45 -0
  57. data/spec/spec_helper.rb +19 -84
  58. data/spec/support/fixtures.rb +9 -0
  59. metadata +103 -6
  60. data/.coveralls.yml +0 -1
  61. data/.travis.yml +0 -7
@@ -0,0 +1,652 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <MD_Metadata xmlns="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <fileIdentifier>
4
+ <gco:CharacterString>edu.stanford.purl:bb338jh0716</gco:CharacterString>
5
+ </fileIdentifier>
6
+ <language>
7
+ <LanguageCode codeList="http://www.loc.gov/standards/iso639-2/php/code_list.php" codeListValue="eng" codeSpace="ISO639-2">eng</LanguageCode>
8
+ </language>
9
+ <characterSet>
10
+ <MD_CharacterSetCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="ISOTC211/19115">utf8</MD_CharacterSetCode>
11
+ </characterSet>
12
+ <parentIdentifier>
13
+ <gco:CharacterString>http://purl.stanford.edu/zt526qk7324.mods</gco:CharacterString>
14
+ </parentIdentifier>
15
+ <hierarchyLevel>
16
+ <MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" codeSpace="ISOTC211/19115">dataset</MD_ScopeCode>
17
+ </hierarchyLevel>
18
+ <hierarchyLevelName>
19
+ <gco:CharacterString>dataset</gco:CharacterString>
20
+ </hierarchyLevelName>
21
+ <contact>
22
+ <CI_ResponsibleParty>
23
+ <organisationName>
24
+ <gco:CharacterString>Stanford Geospatial Center</gco:CharacterString>
25
+ </organisationName>
26
+ <positionName>
27
+ <gco:CharacterString>Metadata Analyst</gco:CharacterString>
28
+ </positionName>
29
+ <contactInfo>
30
+ <CI_Contact>
31
+ <phone>
32
+ <CI_Telephone>
33
+ <voice>
34
+ <gco:CharacterString>650-723-2746</gco:CharacterString>
35
+ </voice>
36
+ </CI_Telephone>
37
+ </phone>
38
+ <address>
39
+ <CI_Address>
40
+ <deliveryPoint>
41
+ <gco:CharacterString>Branner Earth Sciences Library</gco:CharacterString>
42
+ </deliveryPoint>
43
+ <deliveryPoint>
44
+ <gco:CharacterString>Mitchell Bldg. 2nd floor</gco:CharacterString>
45
+ </deliveryPoint>
46
+ <deliveryPoint>
47
+ <gco:CharacterString>397 Panama Mall</gco:CharacterString>
48
+ </deliveryPoint>
49
+ <city>
50
+ <gco:CharacterString>Stanford</gco:CharacterString>
51
+ </city>
52
+ <administrativeArea>
53
+ <gco:CharacterString>California</gco:CharacterString>
54
+ </administrativeArea>
55
+ <postalCode>
56
+ <gco:CharacterString>94305</gco:CharacterString>
57
+ </postalCode>
58
+ <country>
59
+ <gco:CharacterString>US</gco:CharacterString>
60
+ </country>
61
+ <electronicMailAddress>
62
+ <gco:CharacterString>brannerlibrary@stanford.edu</gco:CharacterString>
63
+ </electronicMailAddress>
64
+ </CI_Address>
65
+ </address>
66
+ </CI_Contact>
67
+ </contactInfo>
68
+ <role>
69
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact" codeSpace="ISOTC211/19115">pointOfContact</CI_RoleCode>
70
+ </role>
71
+ </CI_ResponsibleParty>
72
+ </contact>
73
+ <dateStamp>
74
+ <gco:Date>2014-10-08</gco:Date>
75
+ </dateStamp>
76
+ <metadataStandardName>
77
+ <gco:CharacterString>ISO 19139 Geographic Information - Metadata - Implementation Specification</gco:CharacterString>
78
+ </metadataStandardName>
79
+ <metadataStandardVersion>
80
+ <gco:CharacterString>2007</gco:CharacterString>
81
+ </metadataStandardVersion>
82
+ <dataSetURI>
83
+ <gco:CharacterString>http://purl.stanford.edu/bb338jh0716</gco:CharacterString>
84
+ </dataSetURI>
85
+ <spatialRepresentationInfo>
86
+ <MD_VectorSpatialRepresentation>
87
+ <topologyLevel>
88
+ <MD_TopologyLevelCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopologyLevelCode" codeListValue="geometryOnly" codeSpace="ISOTC211/19115">geometryOnly</MD_TopologyLevelCode>
89
+ </topologyLevel>
90
+ <geometricObjects>
91
+ <MD_GeometricObjects>
92
+ <geometricObjectType>
93
+ <MD_GeometricObjectTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_GeometricObjectTypeCode" codeListValue="composite" codeSpace="ISOTC211/19115">composite</MD_GeometricObjectTypeCode>
94
+ </geometricObjectType>
95
+ <geometricObjectCount>
96
+ <gco:Integer>11</gco:Integer>
97
+ </geometricObjectCount>
98
+ </MD_GeometricObjects>
99
+ </geometricObjects>
100
+ </MD_VectorSpatialRepresentation>
101
+ </spatialRepresentationInfo>
102
+ <referenceSystemInfo>
103
+ <MD_ReferenceSystem>
104
+ <referenceSystemIdentifier>
105
+ <RS_Identifier>
106
+ <code>
107
+ <gco:CharacterString>26910</gco:CharacterString>
108
+ </code>
109
+ <codeSpace>
110
+ <gco:CharacterString>EPSG</gco:CharacterString>
111
+ </codeSpace>
112
+ <version>
113
+ <gco:CharacterString>8.2.6</gco:CharacterString>
114
+ </version>
115
+ </RS_Identifier>
116
+ </referenceSystemIdentifier>
117
+ </MD_ReferenceSystem>
118
+ </referenceSystemInfo>
119
+ <identificationInfo>
120
+ <MD_DataIdentification>
121
+ <citation>
122
+ <CI_Citation>
123
+ <title>
124
+ <gco:CharacterString>Hydrologic Sub-Area Boundaries: Russian River Watershed, California, 1999</gco:CharacterString>
125
+ </title>
126
+ <date>
127
+ <CI_Date>
128
+ <date>
129
+ <gco:Date>2002-09-01</gco:Date>
130
+ </date>
131
+ <dateType>
132
+ <CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" codeSpace="ISOTC211/19115">publication</CI_DateTypeCode>
133
+ </dateType>
134
+ </CI_Date>
135
+ </date>
136
+ <identifier>
137
+ <MD_Identifier>
138
+ <code>
139
+ <gco:CharacterString>http://purl.stanford.edu/bb338jh0716</gco:CharacterString>
140
+ </code>
141
+ </MD_Identifier>
142
+ </identifier>
143
+ <citedResponsibleParty>
144
+ <CI_ResponsibleParty>
145
+ <organisationName>
146
+ <gco:CharacterString>Circuit Rider Productions</gco:CharacterString>
147
+ </organisationName>
148
+ <role>
149
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="originator" codeSpace="ISOTC211/19115">originator</CI_RoleCode>
150
+ </role>
151
+ </CI_ResponsibleParty>
152
+ </citedResponsibleParty>
153
+ <citedResponsibleParty>
154
+ <CI_ResponsibleParty>
155
+ <organisationName>
156
+ <gco:CharacterString>Circuit Rider Productions</gco:CharacterString>
157
+ </organisationName>
158
+ <contactInfo>
159
+ <CI_Contact>
160
+ <address>
161
+ <CI_Address>
162
+ <city>
163
+ <gco:CharacterString>Windsor</gco:CharacterString>
164
+ </city>
165
+ <administrativeArea>
166
+ <gco:CharacterString>California</gco:CharacterString>
167
+ </administrativeArea>
168
+ <country>
169
+ <gco:CharacterString>US</gco:CharacterString>
170
+ </country>
171
+ <electronicMailAddress>
172
+ <gco:CharacterString>info@circuitriderstudios.com</gco:CharacterString>
173
+ </electronicMailAddress>
174
+ </CI_Address>
175
+ </address>
176
+ </CI_Contact>
177
+ </contactInfo>
178
+ <role>
179
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="publisher" codeSpace="ISOTC211/19115">publisher</CI_RoleCode>
180
+ </role>
181
+ </CI_ResponsibleParty>
182
+ </citedResponsibleParty>
183
+ <presentationForm>
184
+ <CI_PresentationFormCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_PresentationFormCode" codeListValue="mapDigital" codeSpace="ISOTC211/19115">mapDigital</CI_PresentationFormCode>
185
+ </presentationForm>
186
+ <collectiveTitle>
187
+ <gco:CharacterString>Russian River Watershed GIS</gco:CharacterString>
188
+ </collectiveTitle>
189
+ </CI_Citation>
190
+ </citation>
191
+ <abstract>
192
+ <gco:CharacterString>This polygon dataset represents the Hydrologic Sub-Area boundaries for the Russian River basin, as defined by the Calwater 2.2a watershed boundaries. The original CALWATER22 layer (Calwater 2.2a watershed boundaries) was developed as a coverage named calw22a and is administered by the Interagency California Watershed Mapping Committee (ICWMC). </gco:CharacterString>
193
+ </abstract>
194
+ <purpose>
195
+ <gco:CharacterString>This shapefile can be used to map and analyze data at the Hydrologic Sub-Area scale.</gco:CharacterString>
196
+ </purpose>
197
+ <credit>
198
+ <gco:CharacterString>Circuit Rider Productions and National Oceanic and Atmospheric Administration (2002). Hydrologic Sub-Area Boundaries: Russian River Watershed, California, 1999. Circuit Rider Productions.</gco:CharacterString>
199
+ </credit>
200
+ <status>
201
+ <MD_ProgressCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ProgressCode" codeListValue="completed" codeSpace="ISOTC211/19115">completed</MD_ProgressCode>
202
+ </status>
203
+ <pointOfContact>
204
+ <CI_ResponsibleParty>
205
+ <organisationName>
206
+ <gco:CharacterString>Circuit Rider Productions, Inc. </gco:CharacterString>
207
+ </organisationName>
208
+ <positionName>
209
+ <gco:CharacterString>GIS Coordinator </gco:CharacterString>
210
+ </positionName>
211
+ <contactInfo>
212
+ <CI_Contact>
213
+ <phone>
214
+ <CI_Telephone>
215
+ <voice>
216
+ <gco:CharacterString>707.838.6641 </gco:CharacterString>
217
+ </voice>
218
+ </CI_Telephone>
219
+ </phone>
220
+ <address>
221
+ <CI_Address>
222
+ <deliveryPoint>
223
+ <gco:CharacterString>9619 Old Redwood Highway </gco:CharacterString>
224
+ </deliveryPoint>
225
+ <city>
226
+ <gco:CharacterString>Windsor</gco:CharacterString>
227
+ </city>
228
+ <administrativeArea>
229
+ <gco:CharacterString>California</gco:CharacterString>
230
+ </administrativeArea>
231
+ <postalCode>
232
+ <gco:CharacterString>95492 </gco:CharacterString>
233
+ </postalCode>
234
+ <country>
235
+ <gco:CharacterString>US</gco:CharacterString>
236
+ </country>
237
+ </CI_Address>
238
+ </address>
239
+ </CI_Contact>
240
+ </contactInfo>
241
+ <role>
242
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact" codeSpace="ISOTC211/19115">pointOfContact</CI_RoleCode>
243
+ </role>
244
+ </CI_ResponsibleParty>
245
+ </pointOfContact>
246
+ <resourceMaintenance>
247
+ <MD_MaintenanceInformation>
248
+ <maintenanceAndUpdateFrequency>
249
+ <MD_MaintenanceFrequencyCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode" codeListValue="notPlanned" codeSpace="ISOTC211/19115">notPlanned</MD_MaintenanceFrequencyCode>
250
+ </maintenanceAndUpdateFrequency>
251
+ </MD_MaintenanceInformation>
252
+ </resourceMaintenance>
253
+ <descriptiveKeywords>
254
+ <MD_Keywords>
255
+ <keyword>
256
+ <gco:CharacterString>Sonoma County (Calif.)</gco:CharacterString>
257
+ </keyword>
258
+ <keyword>
259
+ <gco:CharacterString>Mendocino County (Calif.)</gco:CharacterString>
260
+ </keyword>
261
+ <keyword>
262
+ <gco:CharacterString>Russian River Watershed (Calif.)</gco:CharacterString>
263
+ </keyword>
264
+ <type>
265
+ <MD_KeywordTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="place" codeSpace="ISOTC211/19115">place</MD_KeywordTypeCode>
266
+ </type>
267
+ <thesaurusName>
268
+ <CI_Citation>
269
+ <title>
270
+ <gco:CharacterString>geonames</gco:CharacterString>
271
+ </title>
272
+ <date>
273
+ <CI_Date>
274
+ <date>
275
+ <gco:Date>2012-11-01</gco:Date>
276
+ </date>
277
+ <dateType>
278
+ <CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">revision</CI_DateTypeCode>
279
+ </dateType>
280
+ </CI_Date>
281
+ </date>
282
+ <edition>
283
+ <gco:CharacterString>3.1</gco:CharacterString>
284
+ </edition>
285
+ <identifier>
286
+ <MD_Identifier>
287
+ <code>
288
+ <gco:CharacterString>http://www.geonames.org/ontology#</gco:CharacterString>
289
+ </code>
290
+ </MD_Identifier>
291
+ </identifier>
292
+ </CI_Citation>
293
+ </thesaurusName>
294
+ </MD_Keywords>
295
+ </descriptiveKeywords>
296
+ <descriptiveKeywords>
297
+ <MD_Keywords>
298
+ <keyword>
299
+ <gco:CharacterString>1999</gco:CharacterString>
300
+ </keyword>
301
+ <type>
302
+ <MD_KeywordTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="temporal" codeSpace="ISOTC211/19115">temporal</MD_KeywordTypeCode>
303
+ </type>
304
+ </MD_Keywords>
305
+ </descriptiveKeywords>
306
+ <descriptiveKeywords>
307
+ <MD_Keywords>
308
+ <keyword>
309
+ <gco:CharacterString>Hydrology</gco:CharacterString>
310
+ </keyword>
311
+ <keyword>
312
+ <gco:CharacterString>Watersheds</gco:CharacterString>
313
+ </keyword>
314
+ <type>
315
+ <MD_KeywordTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme" codeSpace="ISOTC211/19115">theme</MD_KeywordTypeCode>
316
+ </type>
317
+ <thesaurusName>
318
+ <CI_Citation>
319
+ <title>
320
+ <gco:CharacterString>lcsh</gco:CharacterString>
321
+ </title>
322
+ <date>
323
+ <CI_Date>
324
+ <date>
325
+ <gco:Date>2011-04-26</gco:Date>
326
+ </date>
327
+ <dateType>
328
+ <CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">revision</CI_DateTypeCode>
329
+ </dateType>
330
+ </CI_Date>
331
+ </date>
332
+ <identifier>
333
+ <MD_Identifier>
334
+ <code>
335
+ <gco:CharacterString>http://id.loc.gov/authorities/subjects.html</gco:CharacterString>
336
+ </code>
337
+ </MD_Identifier>
338
+ </identifier>
339
+ </CI_Citation>
340
+ </thesaurusName>
341
+ </MD_Keywords>
342
+ </descriptiveKeywords>
343
+ <descriptiveKeywords>
344
+ <MD_Keywords>
345
+ <keyword>
346
+ <gco:CharacterString>Downloadable Data</gco:CharacterString>
347
+ </keyword>
348
+ <thesaurusName uuidref="723f6998-058e-11dc-8314-0800200c9a66"/>
349
+ </MD_Keywords>
350
+ </descriptiveKeywords>
351
+ <resourceConstraints>
352
+ <MD_LegalConstraints>
353
+ <useLimitation>
354
+ <gco:CharacterString>No restrictions on access or use.</gco:CharacterString>
355
+ </useLimitation>
356
+ </MD_LegalConstraints>
357
+ </resourceConstraints>
358
+ <aggregationInfo>
359
+ <MD_AggregateInformation>
360
+ <aggregateDataSetName>
361
+ <CI_Citation>
362
+ <title>
363
+ <gco:CharacterString>Russian River Watershed GIS</gco:CharacterString>
364
+ </title>
365
+ <date>
366
+ <CI_Date>
367
+ <date>
368
+ <gco:Date>2002-10-24</gco:Date>
369
+ </date>
370
+ <dateType>
371
+ <CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" codeSpace="ISOTC211/19115">publication</CI_DateTypeCode>
372
+ </dateType>
373
+ </CI_Date>
374
+ </date>
375
+ <identifier>
376
+ <MD_Identifier>
377
+ <code>
378
+ <gco:CharacterString>http://purl.stanford.edu/zt526qk7324</gco:CharacterString>
379
+ </code>
380
+ </MD_Identifier>
381
+ </identifier>
382
+ <citedResponsibleParty>
383
+ <CI_ResponsibleParty>
384
+ <organisationName>
385
+ <gco:CharacterString>Circuit Rider Productions</gco:CharacterString>
386
+ </organisationName>
387
+ <role>
388
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="originator" codeSpace="ISOTC211/19115">originator</CI_RoleCode>
389
+ </role>
390
+ </CI_ResponsibleParty>
391
+ </citedResponsibleParty>
392
+ <citedResponsibleParty>
393
+ <CI_ResponsibleParty>
394
+ <organisationName>
395
+ <gco:CharacterString>Circuit Rider Productions</gco:CharacterString>
396
+ </organisationName>
397
+ <contactInfo>
398
+ <CI_Contact>
399
+ <address>
400
+ <CI_Address>
401
+ <city>
402
+ <gco:CharacterString>Windsor</gco:CharacterString>
403
+ </city>
404
+ <administrativeArea>
405
+ <gco:CharacterString>California</gco:CharacterString>
406
+ </administrativeArea>
407
+ <country>
408
+ <gco:CharacterString>US</gco:CharacterString>
409
+ </country>
410
+ <electronicMailAddress>
411
+ <gco:CharacterString>info@circuitriderstudios.com</gco:CharacterString>
412
+ </electronicMailAddress>
413
+ </CI_Address>
414
+ </address>
415
+ </CI_Contact>
416
+ </contactInfo>
417
+ <role>
418
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="publisher" codeSpace="ISOTC211/19115">publisher</CI_RoleCode>
419
+ </role>
420
+ </CI_ResponsibleParty>
421
+ </citedResponsibleParty>
422
+ <citedResponsibleParty>
423
+ <CI_ResponsibleParty>
424
+ <organisationName>
425
+ <gco:CharacterString>United States. National Oceanic and Atmospheric Administration</gco:CharacterString>
426
+ </organisationName>
427
+ <role>
428
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="originator" codeSpace="ISOTC211/19115">originator</CI_RoleCode>
429
+ </role>
430
+ </CI_ResponsibleParty>
431
+ </citedResponsibleParty>
432
+ </CI_Citation>
433
+ </aggregateDataSetName>
434
+ <associationType>
435
+ <DS_AssociationTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#DS_AssociationTypeCode" codeListValue="largerWorkCitation" codeSpace="ISOTC211/19115">largerWorkCitation</DS_AssociationTypeCode>
436
+ </associationType>
437
+ <initiativeType>
438
+ <DS_InitiativeTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#DS_InitiativeTypeCode" codeListValue="collection" codeSpace="ISOTC211/19115">collection</DS_InitiativeTypeCode>
439
+ </initiativeType>
440
+ </MD_AggregateInformation>
441
+ </aggregationInfo>
442
+ <spatialRepresentationType>
443
+ <MD_SpatialRepresentationTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="vector" codeSpace="ISOTC211/19115">vector</MD_SpatialRepresentationTypeCode>
444
+ </spatialRepresentationType>
445
+ <language>
446
+ <LanguageCode codeList="http://www.loc.gov/standards/iso639-2/php/code_list.php" codeListValue="eng" codeSpace="ISO639-2">eng</LanguageCode>
447
+ </language>
448
+ <characterSet>
449
+ <MD_CharacterSetCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="ISOTC211/19115">utf8</MD_CharacterSetCode>
450
+ </characterSet>
451
+ <topicCategory>
452
+ <MD_TopicCategoryCode>boundaries</MD_TopicCategoryCode>
453
+ </topicCategory>
454
+ <topicCategory>
455
+ <MD_TopicCategoryCode>inlandWaters</MD_TopicCategoryCode>
456
+ </topicCategory>
457
+ <environmentDescription>
458
+ <gco:CharacterString>Microsoft Windows 7 Version 6.1 (Build 7601) Service Pack 1; Esri ArcGIS 10.2.2.3552</gco:CharacterString>
459
+ </environmentDescription>
460
+ <extent>
461
+ <EX_Extent>
462
+ <description>
463
+ <gco:CharacterString>ground condition</gco:CharacterString>
464
+ </description>
465
+ <temporalElement>
466
+ <EX_TemporalExtent>
467
+ <extent>
468
+ <gml:TimePeriod gml:id="idp82864">
469
+ <gml:beginPosition>1999-01-01T00:00:00</gml:beginPosition>
470
+ <gml:endPosition>1999-12-31T00:00:00</gml:endPosition>
471
+ </gml:TimePeriod>
472
+ </extent>
473
+ </EX_TemporalExtent>
474
+ </temporalElement>
475
+ </EX_Extent>
476
+ </extent>
477
+ <extent>
478
+ <EX_Extent>
479
+ <geographicElement>
480
+ <EX_GeographicBoundingBox>
481
+ <extentTypeCode>
482
+ <gco:Boolean>true</gco:Boolean>
483
+ </extentTypeCode>
484
+ <westBoundLongitude>
485
+ <gco:Decimal>-123.387866</gco:Decimal>
486
+ </westBoundLongitude>
487
+ <eastBoundLongitude>
488
+ <gco:Decimal>-122.522658</gco:Decimal>
489
+ </eastBoundLongitude>
490
+ <southBoundLatitude>
491
+ <gco:Decimal>38.298024</gco:Decimal>
492
+ </southBoundLatitude>
493
+ <northBoundLatitude>
494
+ <gco:Decimal>39.399217</gco:Decimal>
495
+ </northBoundLatitude>
496
+ </EX_GeographicBoundingBox>
497
+ </geographicElement>
498
+ </EX_Extent>
499
+ </extent>
500
+ </MD_DataIdentification>
501
+ </identificationInfo>
502
+ <contentInfo>
503
+ <MD_FeatureCatalogueDescription>
504
+ <complianceCode>
505
+ <gco:Boolean>false</gco:Boolean>
506
+ </complianceCode>
507
+ <language>
508
+ <LanguageCode codeList="http://www.loc.gov/standards/iso639-2/php/code_list.php" codeListValue="eng" codeSpace="ISO639-2">eng</LanguageCode>
509
+ </language>
510
+ <includedWithDataset>
511
+ <gco:Boolean>true</gco:Boolean>
512
+ </includedWithDataset>
513
+ <featureCatalogueCitation>
514
+ <CI_Citation>
515
+ <title>
516
+ <gco:CharacterString>Feature Catalog for Hydrologic Sub-Area Boundaries: Russian River Watershed, California, 1999</gco:CharacterString>
517
+ </title>
518
+ <date>
519
+ <CI_Date>
520
+ <date>
521
+ <gco:Date>2002-09-01</gco:Date>
522
+ </date>
523
+ <dateType>
524
+ <CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" codeSpace="ISOTC211/19115">publication</CI_DateTypeCode>
525
+ </dateType>
526
+ </CI_Date>
527
+ </date>
528
+ <identifier>
529
+ <MD_Identifier>
530
+ <code>
531
+ <gco:CharacterString>476add9f-ea84-472c-a032-e6e8fd85337f</gco:CharacterString>
532
+ </code>
533
+ </MD_Identifier>
534
+ </identifier>
535
+ <citedResponsibleParty>
536
+ <CI_ResponsibleParty>
537
+ <organisationName>
538
+ <gco:CharacterString>Circuit Rider Productions</gco:CharacterString>
539
+ </organisationName>
540
+ <role>
541
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="originator" codeSpace="ISOTC211/19115">originator</CI_RoleCode>
542
+ </role>
543
+ </CI_ResponsibleParty>
544
+ </citedResponsibleParty>
545
+ </CI_Citation>
546
+ </featureCatalogueCitation>
547
+ </MD_FeatureCatalogueDescription>
548
+ </contentInfo>
549
+ <distributionInfo>
550
+ <MD_Distribution>
551
+ <distributionFormat>
552
+ <MD_Format>
553
+ <name>
554
+ <gco:CharacterString>Shapefile</gco:CharacterString>
555
+ </name>
556
+ <version gco:nilReason="missing"/>
557
+ </MD_Format>
558
+ </distributionFormat>
559
+ <distributor>
560
+ <MD_Distributor>
561
+ <distributorContact>
562
+ <CI_ResponsibleParty>
563
+ <organisationName>
564
+ <gco:CharacterString>Stanford Geospatial Center</gco:CharacterString>
565
+ </organisationName>
566
+ <contactInfo>
567
+ <CI_Contact>
568
+ <phone>
569
+ <CI_Telephone>
570
+ <voice>
571
+ <gco:CharacterString>650-723-2746</gco:CharacterString>
572
+ </voice>
573
+ </CI_Telephone>
574
+ </phone>
575
+ <address>
576
+ <CI_Address>
577
+ <deliveryPoint>
578
+ <gco:CharacterString>Mitchell Bldg. 2nd floor</gco:CharacterString>
579
+ </deliveryPoint>
580
+ <deliveryPoint>
581
+ <gco:CharacterString>397 Panama Mall</gco:CharacterString>
582
+ </deliveryPoint>
583
+ <city>
584
+ <gco:CharacterString>Stanford</gco:CharacterString>
585
+ </city>
586
+ <administrativeArea>
587
+ <gco:CharacterString>California</gco:CharacterString>
588
+ </administrativeArea>
589
+ <postalCode>
590
+ <gco:CharacterString>94305</gco:CharacterString>
591
+ </postalCode>
592
+ <country>
593
+ <gco:CharacterString>US</gco:CharacterString>
594
+ </country>
595
+ <electronicMailAddress>
596
+ <gco:CharacterString>brannerlibrary@stanford.edu</gco:CharacterString>
597
+ </electronicMailAddress>
598
+ </CI_Address>
599
+ </address>
600
+ </CI_Contact>
601
+ </contactInfo>
602
+ <role>
603
+ <CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="distributor" codeSpace="ISOTC211/19115">distributor</CI_RoleCode>
604
+ </role>
605
+ </CI_ResponsibleParty>
606
+ </distributorContact>
607
+ </MD_Distributor>
608
+ </distributor>
609
+ <transferOptions>
610
+ <MD_DigitalTransferOptions>
611
+ <transferSize>
612
+ <gco:Real>0.3</gco:Real>
613
+ </transferSize>
614
+ <onLine>
615
+ <CI_OnlineResource>
616
+ <linkage>
617
+ <URL>http://purl.stanford.edu/bb338jh0716</URL>
618
+ </linkage>
619
+ <protocol>
620
+ <gco:CharacterString>http</gco:CharacterString>
621
+ </protocol>
622
+ <name>
623
+ <gco:CharacterString>rr_cw22a_russ_hsa.shp</gco:CharacterString>
624
+ </name>
625
+ <function>
626
+ <CI_OnLineFunctionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" codeSpace="ISOTC211/19115">download</CI_OnLineFunctionCode>
627
+ </function>
628
+ </CI_OnlineResource>
629
+ </onLine>
630
+ </MD_DigitalTransferOptions>
631
+ </transferOptions>
632
+ </MD_Distribution>
633
+ </distributionInfo>
634
+ <dataQualityInfo>
635
+ <DQ_DataQuality>
636
+ <scope>
637
+ <DQ_Scope>
638
+ <level>
639
+ <MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" codeSpace="ISOTC211/19115">dataset</MD_ScopeCode>
640
+ </level>
641
+ </DQ_Scope>
642
+ </scope>
643
+ <lineage>
644
+ <LI_Lineage>
645
+ <statement>
646
+ <gco:CharacterString>RR_cw22a_russ_hsa.shp was developed by Colin Brooks (CDFG and IHRMP). This layer represents the Hydrologic Sub-Area boundaries for the Russian River basin, as defined by the Calwater 2.2a watershed boundaries. The original CALWATER22 layer (Calwater 2.2a watershed boundaries) was developed as a coverage named calw22a and is administered by the Interagency California Watershed Mapping Committee (ICWMC). </gco:CharacterString>
647
+ </statement>
648
+ </LI_Lineage>
649
+ </lineage>
650
+ </DQ_DataQuality>
651
+ </dataQualityInfo>
652
+ </MD_Metadata>