relaton 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -0
  3. data/.travis.yml +9 -1
  4. data/Gemfile.lock +18 -134
  5. data/README.adoc +7 -4
  6. data/Rakefile +6 -0
  7. data/lib/relaton/db.rb +92 -45
  8. data/lib/relaton/registry.rb +2 -7
  9. data/lib/relaton/version.rb +1 -1
  10. data/relaton.gemspec +5 -6
  11. data/spec/relaton/relaton_spec.rb +72 -68
  12. data/spec/support/iso_111111119115_1.xml +0 -0
  13. data/spec/support/iso_19115_1.xml +117 -0
  14. data/spec/support/iso_19115_2.xml +97 -0
  15. data/spec/support/list_entries.xml +113 -0
  16. metadata +34 -74
  17. data/spec/support/_fr_standard_26020.html +0 -828
  18. data/spec/support/_fr_standard_32557.html +0 -843
  19. data/spec/support/_fr_standard_32579.html +0 -768
  20. data/spec/support/_fr_standard_39229.html +0 -880
  21. data/spec/support/_fr_standard_44361.html +0 -606
  22. data/spec/support/_fr_standard_53798.html +0 -850
  23. data/spec/support/_fr_standard_57104.html +0 -805
  24. data/spec/support/_fr_standard_66197.html +0 -768
  25. data/spec/support/_fr_standard_67039.html +0 -704
  26. data/spec/support/_fr_standard_73118.html +0 -775
  27. data/spec/support/_ru_standard_26020.html +0 -831
  28. data/spec/support/_ru_standard_32557.html +0 -841
  29. data/spec/support/_ru_standard_32579.html +0 -772
  30. data/spec/support/_ru_standard_39229.html +0 -872
  31. data/spec/support/_ru_standard_44361.html +0 -597
  32. data/spec/support/_ru_standard_53798.html +0 -843
  33. data/spec/support/_ru_standard_57104.html +0 -803
  34. data/spec/support/_ru_standard_66197.html +0 -767
  35. data/spec/support/_ru_standard_67039.html +0 -695
  36. data/spec/support/_ru_standard_73118.html +0 -768
  37. data/spec/support/_standard_26020.html +0 -840
  38. data/spec/support/_standard_32557.html +0 -848
  39. data/spec/support/_standard_32579.html +0 -779
  40. data/spec/support/_standard_39229.html +0 -879
  41. data/spec/support/_standard_44361.html +0 -606
  42. data/spec/support/_standard_53798.html +0 -850
  43. data/spec/support/_standard_57104.html +0 -810
  44. data/spec/support/_standard_66197.html +0 -774
  45. data/spec/support/_standard_67039.html +0 -704
  46. data/spec/support/_standard_73118.html +0 -775
  47. data/spec/support/algolia_resp_page_0.json +0 -130
  48. data/spec/support/algolia_resp_page_1.json +0 -148
@@ -1,130 +0,0 @@
1
- {
2
- "hits": [
3
- {
4
- "category": "standard",
5
- "path": "/sites/isoorg/contents/data/standard/07/31/73118",
6
- "uuid": "fa0eb80c-8af0-4b39-a369-c6ceb6e73181",
7
- "title": "ISO 19115-1:2014/Amd 1:2018 ",
8
- "status": "Published",
9
- "year": 2018,
10
- "order": 11,
11
- "objectID": "73118_0",
12
- "_highlightResult": {
13
- "title": {
14
- "value": "ISO <em>19115</em>-1:2014/Amd 1:2018 ",
15
- "matchLevel": "full",
16
- "fullyHighlighted": false,
17
- "matchedWords": [
18
- "19115"
19
- ]
20
- }
21
- }
22
- },
23
- {
24
- "category": "standard",
25
- "path": "/sites/isoorg/contents/data/standard/05/37/53798",
26
- "uuid": "21e69a8e-8c93-4d66-8645-331ea63d64ba",
27
- "title": "ISO 19115-1:2014 Geographic information -- Metadata -- Part 1: Fundamentals",
28
- "status": "Published",
29
- "year": 2014,
30
- "order": 11,
31
- "text": "ISO 19115-1:2014 defines the schema required for describing geographic information and services by means of metadata. It provides information about the identification, the extent, the quality, the spatial and temporal aspects, the content, the spatial reference, the portrayal, distribution, and other properties of digital geographic data and services. ISO 19115-1:2014 is applicable to: -the cataloguing of all types of resources, clearinghouse activities, and the full description of datasets and services; -geographic services, geographic datasets, dataset series, and individual geographic features and feature properties. ISO 19115-1:2014 defines: -mandatory and conditional metadata sections, metadata entities, and metadata elements; -the minimum set of metadata required to serve most metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data and services); -optional metadata elements to allow for a more extensive standard description of resources, if required; -a method for extending metadata to fit specialized needs. Though ISO 19115-1:2014 is applicable to digital data and services, its principles can be extended to many other types of resources such as maps, charts, and textual documents as well as non-geographic data. Certain conditional metadata elements might not apply to these other forms of data. ",
32
- "objectID": "53798_0",
33
- "_highlightResult": {
34
- "title": {
35
- "value": "ISO <em>19115</em>-1:2014 Geographic information -- Metadata -- Part 1: Fundamentals",
36
- "matchLevel": "full",
37
- "fullyHighlighted": false,
38
- "matchedWords": [
39
- "19115"
40
- ]
41
- },
42
- "text": {
43
- "value": "ISO <em>19115</em>-1:2014 defines the schema required for describing geographic information and services by means of metadata. It provides information about the identification, the extent, the quality, the spatial and temporal aspects, the content, the spatial reference, the portrayal, distribution, and other properties of digital geographic data and services. ISO <em>19115</em>-1:2014 is applicable to: -the cataloguing of all types of resources, clearinghouse activities, and the full description of datasets and services; -geographic services, geographic datasets, dataset series, and individual geographic features and feature properties. ISO <em>19115</em>-1:2014 defines: -mandatory and conditional metadata sections, metadata entities, and metadata elements; -the minimum set of metadata required to serve most metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data and services); -optional metadata elements to allow for a more extensive standard description of resources, if required; -a method for extending metadata to fit specialized needs. Though ISO <em>19115</em>-1:2014 is applicable to digital data and services, its principles can be extended to many other types of resources such as maps, charts, and textual documents as well as non-geographic data. Certain conditional metadata elements might not apply to these other forms of data. ",
44
- "matchLevel": "full",
45
- "fullyHighlighted": false,
46
- "matchedWords": [
47
- "19115"
48
- ]
49
- }
50
- }
51
- },
52
- {
53
- "category": "standard",
54
- "path": "/sites/isoorg/contents/data/standard/03/92/39229",
55
- "uuid": "f4dd8fb3-e067-4446-9d0f-0ceab0ff5a10",
56
- "title": "ISO 19115-2:2009 Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data",
57
- "status": "Published",
58
- "year": 2014,
59
- "order": 11,
60
- "text": "ISO 19115-2:2009 extends the existing geographic metadata standard by defining the schema required for describing imagery and gridded data. It provides information about the properties of the measuring equipment used to acquire the data, the geometry of the measuring process employed by the equipment, and the production process used to digitize the raw data. This extension deals with metadata needed to describe the derivation of geographic information from raw data, including the properties of the measuring system, and the numerical methods and computational procedures used in the derivation. The metadata required to address coverage data in general is addressed sufficiently in the general part of ISO 19115. ",
61
- "objectID": "39229_0",
62
- "_highlightResult": {
63
- "title": {
64
- "value": "ISO <em>19115</em>-2:2009 Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data",
65
- "matchLevel": "full",
66
- "fullyHighlighted": false,
67
- "matchedWords": [
68
- "19115"
69
- ]
70
- },
71
- "text": {
72
- "value": "ISO <em>19115</em>-2:2009 extends the existing geographic metadata standard by defining the schema required for describing imagery and gridded data. It provides information about the properties of the measuring equipment used to acquire the data, the geometry of the measuring process employed by the equipment, and the production process used to digitize the raw data. This extension deals with metadata needed to describe the derivation of geographic information from raw data, including the properties of the measuring system, and the numerical methods and computational procedures used in the derivation. The metadata required to address coverage data in general is addressed sufficiently in the general part of ISO <em>19115</em>. ",
73
- "matchLevel": "full",
74
- "fullyHighlighted": false,
75
- "matchedWords": [
76
- "19115"
77
- ]
78
- }
79
- }
80
- },
81
- {
82
- "category": "standard",
83
- "path": "/sites/isoorg/contents/data/standard/06/70/67039",
84
- "uuid": "843f94bd-b2e3-41ce-8b4e-b8e2a02d5346",
85
- "title": "ISO 19115-2 Geographic information -- Metadata -- Part 2: Extensions for acquisition and processing",
86
- "status": "Under development",
87
- "year": 2018,
88
- "order": 12,
89
- "objectID": "67039_0",
90
- "_highlightResult": {
91
- "title": {
92
- "value": "ISO <em>19115</em>-2 Geographic information -- Metadata -- Part 2: Extensions for acquisition and processing",
93
- "matchLevel": "full",
94
- "fullyHighlighted": false,
95
- "matchedWords": [
96
- "19115"
97
- ]
98
- }
99
- }
100
- },
101
- {
102
- "category": "standard",
103
- "path": "/sites/isoorg/contents/data/standard/04/43/44361",
104
- "uuid": "ca39ee22-5f51-4009-bc66-f792d4000920",
105
- "title": "ISO 19115:2003/Cor 1:2006 ",
106
- "status": "Withdrawn",
107
- "year": 2014,
108
- "order": 100,
109
- "objectID": "44361_0",
110
- "_highlightResult": {
111
- "title": {
112
- "value": "ISO <em>19115</em>:2003/Cor 1:2006 ",
113
- "matchLevel": "full",
114
- "fullyHighlighted": false,
115
- "matchedWords": [
116
- "19115"
117
- ]
118
- }
119
- }
120
- }
121
- ],
122
- "nbHits": 10,
123
- "page": 0,
124
- "nbPages": 2,
125
- "hitsPerPage": 5,
126
- "processingTimeMS": 1,
127
- "exhaustiveNbHits": true,
128
- "query": "19115",
129
- "params": "facetFilters=%5B%22category%3Astandard%22%5D&hitsPerPage=5&query=19115"
130
- }
@@ -1,148 +0,0 @@
1
- {
2
- "hits": [
3
- {
4
- "category": "standard",
5
- "path": "/sites/isoorg/contents/data/standard/02/60/26020",
6
- "uuid": "b67e7e13-24b2-468c-a011-d9640775c199",
7
- "title": "ISO 19115:2003 Geographic information -- Metadata",
8
- "status": "Withdrawn",
9
- "year": 2014,
10
- "order": 100,
11
- "text": "ISO 19115:2003 defines the schema required for describing geographic information and services. It provides information about the identification, the extent, the quality, the spatial and temporal schema, spatial reference, and distribution of digital geographic data. ISO 19115:2003 is applicable to: the cataloguing of datasets, clearinghouse activities, and the full description of datasets; geographic datasets, dataset series, and individual geographic features and feature properties. ISO 19115:2003 defines: mandatory and conditional metadata sections, metadata entities, and metadata elements; the minimum set of metadata required to serve the full range of metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data); optional metadata elements - to allow for a more extensive standard description of geographic data, if required; a method for extending metadata to fit specialized needs. Though ISO 19115:2003 is applicable to digital data, its principles can be extended to many other forms of geographic data such as maps, charts, and textual documents as well as non-geographic data. NOTE Certain mandatory metadata elements may not apply to these other forms of data. ",
12
- "objectID": "26020_0",
13
- "_highlightResult": {
14
- "title": {
15
- "value": "ISO <em>19115</em>:2003 Geographic information -- Metadata",
16
- "matchLevel": "full",
17
- "fullyHighlighted": false,
18
- "matchedWords": [
19
- "19115"
20
- ]
21
- },
22
- "text": {
23
- "value": "ISO <em>19115</em>:2003 defines the schema required for describing geographic information and services. It provides information about the identification, the extent, the quality, the spatial and temporal schema, spatial reference, and distribution of digital geographic data. ISO <em>19115</em>:2003 is applicable to: the cataloguing of datasets, clearinghouse activities, and the full description of datasets; geographic datasets, dataset series, and individual geographic features and feature properties. ISO <em>19115</em>:2003 defines: mandatory and conditional metadata sections, metadata entities, and metadata elements; the minimum set of metadata required to serve the full range of metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data); optional metadata elements - to allow for a more extensive standard description of geographic data, if required; a method for extending metadata to fit specialized needs. Though ISO <em>19115</em>:2003 is applicable to digital data, its principles can be extended to many other forms of geographic data such as maps, charts, and textual documents as well as non-geographic data. NOTE Certain mandatory metadata elements may not apply to these other forms of data. ",
24
- "matchLevel": "full",
25
- "fullyHighlighted": false,
26
- "matchedWords": [
27
- "19115"
28
- ]
29
- }
30
- }
31
- },
32
- {
33
- "category": "standard",
34
- "path": "/sites/isoorg/contents/data/standard/03/25/32579",
35
- "uuid": "64e2fbe0-553d-4ccc-8581-c4d900aa5de2",
36
- "title": "ISO/TS 19115-3:2016 Geographic information -- Metadata -- Part 3: XML schema implementation for fundamental concepts",
37
- "status": "Published",
38
- "year": 2016,
39
- "order": 11,
40
- "text": "ISO/TS 19115-3:2016 defines an integrated XML implementation of ISO 19115‑1, ISO 19115‑2, and concepts from ISO/TS 19139 by defining the following artefacts: a) a set of XML schema required to validate metadata instance documents conforming to conceptual model elements defined in ISO 19115‑1, ISO 19115‑2, and ISO/TS 19139; b) a set of ISO/IEC 19757‑3 (Schematron) rules that implement validation constraints in the ISO 19115‑1 and ISO 19115‑2 UML models that are not validated by the XML schema; c) an Extensible Stylesheet Language Transformation (XSLT) for transforming ISO 19115-1 metadata encoded using the ISO/TS 19139 XML schema and ISO 19115‑2 metadata encoded using the ISO/TS 19139‑2 XML schema into an equivalent document that is valid against the XML schema defined in this document. ISO/TS 19115-3:2016 describes the procedure used to generate XML schema from ISO geographic information conceptual models related to metadata. The procedure includes creation of an UML model for XML implementation derived from the conceptual UML model. This implementation model does not alter the semantics of the target conceptual model, but adds abstract classes that remove dependencies between model packages, tagged values and stereotypes required by the UML to XML transformation software, and refactors the packaging of a few elements into XML namespaces. The XML schema has been generated systematically from the UML model for XML implementation according to the rules defined in ISO/TS 19139 or ISO 19118. ",
41
- "objectID": "32579_0",
42
- "_highlightResult": {
43
- "title": {
44
- "value": "ISO/TS <em>19115</em>-3:2016 Geographic information -- Metadata -- Part 3: XML schema implementation for fundamental concepts",
45
- "matchLevel": "full",
46
- "fullyHighlighted": false,
47
- "matchedWords": [
48
- "19115"
49
- ]
50
- },
51
- "text": {
52
- "value": "ISO/TS <em>19115</em>-3:2016 defines an integrated XML implementation of ISO <em>19115</em>‑1, ISO <em>19115</em>‑2, and concepts from ISO/TS 19139 by defining the following artefacts: a) a set of XML schema required to validate metadata instance documents conforming to conceptual model elements defined in ISO <em>19115</em>‑1, ISO <em>19115</em>‑2, and ISO/TS 19139; b) a set of ISO/IEC 19757‑3 (Schematron) rules that implement validation constraints in the ISO <em>19115</em>‑1 and ISO <em>19115</em>‑2 UML models that are not validated by the XML schema; c) an Extensible Stylesheet Language Transformation (XSLT) for transforming ISO <em>19115</em>-1 metadata encoded using the ISO/TS 19139 XML schema and ISO <em>19115</em>‑2 metadata encoded using the ISO/TS 19139‑2 XML schema into an equivalent document that is valid against the XML schema defined in this document. ISO/TS <em>19115</em>-3:2016 describes the procedure used to generate XML schema from ISO geographic information conceptual models related to metadata. The procedure includes creation of an UML model for XML implementation derived from the conceptual UML model. This implementation model does not alter the semantics of the target conceptual model, but adds abstract classes that remove dependencies between model packages, tagged values and stereotypes required by the UML to XML transformation software, and refactors the packaging of a few elements into XML namespaces. The XML schema has been generated systematically from the UML model for XML implementation according to the rules defined in ISO/TS 19139 or ISO 19118. ",
53
- "matchLevel": "full",
54
- "fullyHighlighted": false,
55
- "matchedWords": [
56
- "19115"
57
- ]
58
- }
59
- }
60
- },
61
- {
62
- "category": "standard",
63
- "path": "/sites/isoorg/contents/data/standard/03/25/32557",
64
- "uuid": "8d303190-fb5d-4f11-a2cd-f96be0ae26fa",
65
- "title": "ISO/TS 19139:2007 Geographic information -- Metadata -- XML schema implementation",
66
- "status": "Published",
67
- "year": 2014,
68
- "order": 11,
69
- "text": "ISO/TS 19139:2007 defines Geographic MetaData XML (gmd) encoding, an XML Schema implementation derived from ISO 19115. ",
70
- "objectID": "32557_0",
71
- "_highlightResult": {
72
- "title": {
73
- "value": "ISO/TS 19139:2007 Geographic information -- Metadata -- XML schema implementation",
74
- "matchLevel": "none",
75
- "matchedWords": []
76
- },
77
- "text": {
78
- "value": "ISO/TS 19139:2007 defines Geographic MetaData XML (gmd) encoding, an XML Schema implementation derived from ISO <em>19115</em>. ",
79
- "matchLevel": "full",
80
- "fullyHighlighted": false,
81
- "matchedWords": [
82
- "19115"
83
- ]
84
- }
85
- }
86
- },
87
- {
88
- "category": "standard",
89
- "path": "/sites/isoorg/contents/data/standard/05/71/57104",
90
- "uuid": "e735cb7f-a404-42bd-8fbe-ef4f66e5c003",
91
- "title": "ISO/TS 19139-2:2012 Geographic information -- Metadata -- XML schema implementation -- Part 2: Extensions for imagery and gridded data",
92
- "status": "Published",
93
- "year": 2016,
94
- "order": 11,
95
- "text": "ISO 19139-2:2012 defines Geographic Metadata for imagery and gridded data (gmi) encoding. This is an XML Schema implementation derived from ISO 19115-2. ",
96
- "objectID": "57104_0",
97
- "_highlightResult": {
98
- "title": {
99
- "value": "ISO/TS 19139-2:2012 Geographic information -- Metadata -- XML schema implementation -- Part 2: Extensions for imagery and gridded data",
100
- "matchLevel": "none",
101
- "matchedWords": []
102
- },
103
- "text": {
104
- "value": "ISO 19139-2:2012 defines Geographic Metadata for imagery and gridded data (gmi) encoding. This is an XML Schema implementation derived from ISO <em>19115</em>-2. ",
105
- "matchLevel": "full",
106
- "fullyHighlighted": false,
107
- "matchedWords": [
108
- "19115"
109
- ]
110
- }
111
- }
112
- },
113
- {
114
- "category": "standard",
115
- "path": "/sites/isoorg/contents/data/standard/06/61/66197",
116
- "uuid": "9e000719-6f4b-4061-b05a-156d0efb0a5f",
117
- "title": "ISO/TS 19157-2:2016 Geographic information -- Data quality -- Part 2: XML schema implementation",
118
- "status": "Published",
119
- "year": 2016,
120
- "order": 11,
121
- "text": "ISO/TS 19157-2:2016 defines data quality encoding in XML. It is an XML schema implementation derived from ISO 19157:2013 and the data quality related concepts from ISO 19115‑2. ",
122
- "objectID": "66197_0",
123
- "_highlightResult": {
124
- "title": {
125
- "value": "ISO/TS 19157-2:2016 Geographic information -- Data quality -- Part 2: XML schema implementation",
126
- "matchLevel": "none",
127
- "matchedWords": []
128
- },
129
- "text": {
130
- "value": "ISO/TS 19157-2:2016 defines data quality encoding in XML. It is an XML schema implementation derived from ISO 19157:2013 and the data quality related concepts from ISO <em>19115</em>‑2. ",
131
- "matchLevel": "full",
132
- "fullyHighlighted": false,
133
- "matchedWords": [
134
- "19115"
135
- ]
136
- }
137
- }
138
- }
139
- ],
140
- "nbHits": 10,
141
- "page": 1,
142
- "nbPages": 2,
143
- "hitsPerPage": 5,
144
- "processingTimeMS": 1,
145
- "exhaustiveNbHits": true,
146
- "query": "19115",
147
- "params": "facetFilters=%5B%22category%3Astandard%22%5D&hitsPerPage=5&page=1&query=19115"
148
- }