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,4 +1,4 @@
1
- require 'singleton'
1
+ require "singleton"
2
2
 
3
3
  class Error < StandardError
4
4
  end
@@ -13,7 +13,7 @@ module Relaton
13
13
  @processors = {}
14
14
  end
15
15
 
16
- def register processor
16
+ def register(processor)
17
17
  raise Error unless processor < :: Relaton::Processor
18
18
  p = processor.new
19
19
  puts "[relaton] processor \"#{p.short}\" registered"
@@ -27,10 +27,5 @@ module Relaton
27
27
  def supported_processors
28
28
  @processors.keys
29
29
  end
30
-
31
- def processors
32
- @processors
33
- end
34
30
  end
35
31
  end
36
-
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.1.0".freeze
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  This gem is in active development.
19
19
  DESCRIPTION
20
20
 
21
- spec.homepage = "https://github.com/riboseinc/asciidoctor-iso"
21
+ spec.homepage = "https://github.com/riboseinc/relaton"
22
22
  spec.license = "BSD-2-Clause"
23
23
 
24
24
  spec.bindir = "bin"
@@ -27,22 +27,21 @@ Gem::Specification.new do |spec|
27
27
  spec.test_files = `git ls-files -- {spec}/*`.split("\n")
28
28
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
29
29
 
30
- spec.add_dependency "asciidoctor", "~> 1.5.7"
31
- spec.add_dependency "isobib", "~> 0.1.8"
32
- spec.add_dependency "rfcbib", "~> 0.1.0"
30
+ spec.add_dependency "algoliasearch"
33
31
  spec.add_dependency "gbbib", "~> 0.1.0"
34
- spec.add_dependency "iso-bib-item", "~> 0.1.6"
35
32
  spec.add_dependency "iev", "~> 0.1.0"
33
+ spec.add_dependency "isobib", "~> 0.2.0"
34
+ spec.add_dependency "rfcbib", "~> 0.1.0"
36
35
 
37
36
  spec.add_development_dependency "bundler", "~> 1.15"
38
37
  spec.add_development_dependency "byebug", "~> 9.1"
39
38
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
40
39
  spec.add_development_dependency "guard", "~> 2.14"
41
40
  spec.add_development_dependency "guard-rspec", "~> 4.7"
41
+ spec.add_development_dependency "pry-byebug"
42
42
  spec.add_development_dependency "rake", "~> 12.0"
43
43
  spec.add_development_dependency "rspec", "~> 3.6"
44
44
  spec.add_development_dependency "rubocop", "~> 0.50"
45
45
  spec.add_development_dependency "simplecov", "~> 0.15"
46
46
  spec.add_development_dependency "timecop", "~> 0.9"
47
- spec.add_development_dependency "metanorma", "~> 0.2.5"
48
47
  end
@@ -2,88 +2,92 @@ require "spec_helper"
2
2
 
3
3
  RSpec.describe Relaton::Db do
4
4
  it "rejects an illegal reference prefix" do
5
- system "rm testcache.json testcache2.json"
6
- db = Relaton::Db.new("testcache.json", "testcache2.json")
7
- expect{db.fetch("XYZ XYZ", nil, {})}.to output(/does not have a recognised prefix/).to_stderr
8
- db.save()
9
- expect(File.exist?("testcache.json")).to be true
10
- expect(File.exist?("testcache2.json")).to be true
11
- testcache = File.read "testcache.json"
12
- expect(testcache).to eq "{}"
13
- testcache = File.read "testcache2.json"
14
- expect(testcache).to eq "{}"
5
+ system "rm testcache testcache2"
6
+ db = Relaton::Db.new("testcache", "testcache2")
7
+ expect { db.fetch("XYZ XYZ", nil, {}) }.to output(/does not have a recognised prefix/).to_stderr
8
+ # expect(File.exist?("testcache")).to be true
9
+ # expect(File.exist?("testcache2")).to be true
10
+ testcache = PStore.new "testcache"
11
+ testcache.transaction do
12
+ expect(testcache.roots.size).to eq 0
13
+ end
14
+ testcache = PStore.new "testcache2"
15
+ testcache.transaction do
16
+ expect(testcache.roots.size).to eq 0
17
+ end
15
18
  end
16
19
 
17
20
  it "gets an ISO reference and caches it" do
18
- mock_algolia 1
19
- mock_http_net 2
20
- system "rm testcache.json testcache2.json"
21
- db = Relaton::Db.new("testcache.json", "testcache2.json")
21
+ stub_isobib
22
+ system "rm testcache testcache2"
23
+ db = Relaton::Db.new("testcache", "testcache2")
22
24
  bib = db.fetch("ISO 19115-1", nil, {})
23
- expect(bib).to include "<bibitem type=\"international-standard\" id=\"ISO19115-1\">"
24
- db.save()
25
- expect(File.exist?("testcache.json")).to be true
26
- expect(File.exist?("testcache2.json")).to be true
27
- testcache = File.read "testcache.json"
28
- expect(testcache).to include "<bibitem type=\\\"international-standard\\\" id=\\\"ISO19115-1\\\">"
29
- testcache = File.read "testcache2.json"
30
- expect(testcache).to include "<bibitem type=\\\"international-standard\\\" id=\\\"ISO19115-1\\\">"
25
+ db.fetch("ISO 19115-1", nil, {})
26
+ expect(bib).to be_instance_of IsoBibItem::IsoBibliographicItem
27
+ expect(bib.to_xml).to include "<bibitem type=\"international-standard\" id=\"ISO19115-1\">"
28
+ expect(File.exist?("testcache")).to be true
29
+ expect(File.exist?("testcache2")).to be true
30
+ testcache = PStore.new "testcache"
31
+ testcache.transaction true do
32
+ expect(testcache["ISO 19115-1"]["bib"].to_xml).to include "<bibitem type=\"international-standard\" id=\"ISO19115-1\">"
33
+ end
34
+ testcache = PStore.new "testcache2"
35
+ testcache.transaction do
36
+ expect(testcache["ISO 19115-1"]["bib"].to_xml).to include "<bibitem type=\"international-standard\" id=\"ISO19115-1\">"
37
+ end
31
38
  end
32
39
 
33
40
  it "deals with a non-existant ISO reference" do
34
- mock_algolia 2
35
- system "rm testcache.json testcache2.json"
36
- db = Relaton::Db.new("testcache.json", "testcache2.json")
41
+ stub_isobib
42
+ system "rm testcache testcache2"
43
+ db = Relaton::Db.new("testcache", "testcache2")
37
44
  bib = db.fetch("ISO 111111119115-1", nil, {})
38
45
  expect(bib).to be_nil
39
- db.save()
40
- expect(File.exist?("testcache.json")).to be true
41
- expect(File.exist?("testcache2.json")).to be true
42
- testcache = File.read "testcache.json"
43
- expect(testcache).to include %("ISO 111111119115-1":null)
44
- testcache = File.read "testcache2.json"
45
- expect(testcache).to include %("ISO 111111119115-1":null)
46
+ expect(File.exist?("testcache")).to be true
47
+ expect(File.exist?("testcache2")).to be true
48
+ testcache = PStore.new "testcache"
49
+ testcache.transaction do
50
+ expect(testcache["ISO 111111119115-1"]["fetched"].to_s).to eq Date.today.to_s
51
+ expect(testcache["ISO 111111119115-1"]["bib"]).to eq "not_found"
52
+ end
53
+ testcache = PStore.new "testcache2"
54
+ testcache.transaction do
55
+ expect(testcache["ISO 111111119115-1"]["fetched"].to_s).to eq Date.today.to_s
56
+ expect(testcache["ISO 111111119115-1"]["bib"]).to eq "not_found"
57
+ end
46
58
  end
47
59
 
48
-
49
- private
50
-
51
- # rubocop:disable Naming/UncommunicativeBlockParamName, Naming/VariableName
52
- # rubocop:disable Metrics/AbcSize
53
- # Mock xhr rquests to Algolia.
54
- def mock_algolia(num)
55
- index = double 'index'
56
- expect(index).to receive(:search) do |text, facetFilters:, page: 0|
57
- expect(text).to be_instance_of String
58
- expect(facetFilters[0]).to eq 'category:standard'
59
- JSON.parse File.read "spec/support/algolia_resp_page_#{page}.json"
60
- end.exactly(num).times
61
- expect(Algolia::Index).to receive(:new).with('all_en').and_return index
60
+ it "list all elements as a serialization" do
61
+ stub_isobib 2
62
+ system "rm testcache testcache2"
63
+ db = Relaton::Db.new("testcache", "testcache2")
64
+ db.fetch "ISO 19115-1", nil, {}
65
+ db.fetch "ISO 19115-2", nil, {}
66
+ file = "spec/support/list_entries.xml"
67
+ File.write file, db.to_xml unless File.exist? file
68
+ expect(db.to_xml).to eq File.read file
62
69
  end
63
- # rubocop:enable Naming/UncommunicativeBlockParamName, Naming/VariableName
64
- # rubocop:enable Metrics/AbcSize
65
70
 
66
- # Mock http get pages requests.
67
- def mock_http_net(num)
68
- expect(Net::HTTP).to receive(:get_response).with(kind_of(URI)) do |uri|
69
- if uri.path.match? %r{\/contents\/}
70
- # When path is from json response then redirect.
71
- resp = Net::HTTPMovedPermanently.new '1.1', '301', 'Moved Permanently'
72
- resp['location'] = "/standard/#{uri.path.match(/\d+\.html$/)}"
73
- else
74
- # In other case return success response with body.
75
- resp = double_resp uri
76
- end
77
- resp
78
- end.exactly(num).times
71
+ it "save/load entry" do
72
+ system "rm testcache testcache2"
73
+ db = Relaton::Db.new "testcache", "testcache2"
74
+ db.save_entry "test key", value: "test value"
75
+ expect(db.load_entry("test key")[:value]).to eq "test value"
76
+ expect(db.load_entry("not existed key")).to be_nil
79
77
  end
80
78
 
81
- def double_resp(uri)
82
- resp = double 'resp'
83
- expect(resp).to receive(:body) do
84
- File.read "spec/support/#{uri.path.tr('/', '_')}"
85
- end.at_least :once
86
- expect(resp).to receive(:code).and_return('200').at_most :once
87
- resp
79
+ private
80
+
81
+ def stub_isobib(count = 1)
82
+ expect(Isobib::IsoBibliography).to receive(:get).and_wrap_original do |m, *args|
83
+ expect(args.size).to eq 3
84
+ expect(args[0]).to be_instance_of String
85
+ expect(args[1]).to be_instance_of NilClass
86
+ expect(args[2]).to be_instance_of Hash
87
+ file = "spec/support/" + args[0].downcase.gsub(/[\s-]/, "_") + ".xml"
88
+ File.write file, m.call(*args).to_xml unless File.exist? file
89
+ resp = File.read file
90
+ resp.empty? ? nil : IsoBibItem.from_xml(resp)
91
+ end.exactly(count).times
88
92
  end
89
93
  end
File without changes
@@ -0,0 +1,117 @@
1
+ <bibitem type="international-standard" id="ISO19115-1">
2
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 1: Fundamentals</title>
3
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
4
+ <uri type="src">https://www.iso.org/standard/53798.html</uri>
5
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
6
+ <uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
7
+ <docidentifier>ISO 19115-1</docidentifier>
8
+ <contributor>
9
+ <role type="publisher"/>
10
+ <organization>
11
+ <name>International Organization for Standardization</name>
12
+ <abbreviation>ISO</abbreviation>
13
+ <uri>www.iso.org</uri>
14
+ </organization>
15
+ </contributor>
16
+ <edition>1</edition>
17
+ <language>en</language>
18
+ <language>fr</language>
19
+ <script>Latn</script>
20
+ <status>
21
+ <stage>60</stage>
22
+ <substage>60</substage>
23
+ </status>
24
+ <copyright>
25
+ <from>2014</from>
26
+ <owner>
27
+ <organization>
28
+ <name>ISO</name>
29
+ <abbreviation></abbreviation>
30
+ </organization>
31
+ </owner>
32
+ </copyright>
33
+ <relation type="obsoletes">
34
+ <bibitem>
35
+ <formattedref>ISO 19115:2003</formattedref>
36
+ </bibitem>
37
+ </relation>
38
+ <relation type="obsoletes">
39
+ <bibitem>
40
+ <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
41
+ </bibitem>
42
+ </relation>
43
+ <relation type="updates">
44
+ <bibitem>
45
+ <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
46
+ </bibitem>
47
+ </relation>
48
+ <relation type="instance">
49
+ <bibitem type="international-standard">
50
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 1: Fundamentals</title>
51
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
52
+ <uri type="src">https://www.iso.org/standard/53798.html</uri>
53
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
54
+ <uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
55
+ <docidentifier>ISO 19115-1</docidentifier>
56
+ <date type="published">
57
+ <on>2014</on>
58
+ </date>
59
+ <contributor>
60
+ <role type="publisher"/>
61
+ <organization>
62
+ <name>International Organization for Standardization</name>
63
+ <abbreviation>ISO</abbreviation>
64
+ <uri>www.iso.org</uri>
65
+ </organization>
66
+ </contributor>
67
+ <edition>1</edition>
68
+ <language>en</language>
69
+ <language>fr</language>
70
+ <script>Latn</script>
71
+ <abstract format="plain" language="en" script="Latn">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.</abstract>
72
+ <abstract format="plain" language="fr" script="Latn">L'ISO 19115-1:2014 définit le schéma requis pour décrire des informations géographiques et des services au moyen de métadonnées. Elle fournit des informations concernant l'identification, l'étendue, la qualité, les aspects spatiaux et temporels, le contenu, la référence spatiale, la représentation des données, la distribution et d'autres propriétés des données géographiques numériques et des services.L'ISO 19115-1:2014 est applicable:-au catalogage de tous les types de ressources, des activités des centres d'informations et à la description complète des jeux de données et des services,-aux services géographiques, jeux de données géographiques, séries de jeux de données, entités géographiques individuelles et propriétés d'entités.L'ISO 19115-1:2014 définit:-des sections relatives aux métadonnées obligatoires et facultatives, aux entités de métadonnées et aux éléments de métadonnées,-le jeu minimal de métadonnées requis pour répondre au besoin de la plupart des applications des métadonnées (la découverte des données, la détermination de l'adéquation des données à une utilisation, l'accès aux données, le transfert des données et l'utilisation des données numériques et des services),-les éléments de métadonnées facultatifs pour permettre une description standard plus poussée des ressources, si cela est nécessaire,-un procédé d'extension des métadonnées pour s'adapter aux besoins spéciaux.L'ISO 19115-1:2014 est applicable aux données numériques et services, ses principes peuvent être étendus à bien d'autres types de ressources telles que les cartes, les graphes et les documents textes, de même qu'à des données non géographiques. Certains éléments de métadonnées conditionnels peuvent ne pas s'appliquer à ces autres formes de données.</abstract>
73
+ <status>
74
+ <stage>60</stage>
75
+ <substage>60</substage>
76
+ </status>
77
+ <copyright>
78
+ <from>2014</from>
79
+ <owner>
80
+ <organization>
81
+ <name>ISO</name>
82
+ <abbreviation></abbreviation>
83
+ </organization>
84
+ </owner>
85
+ </copyright>
86
+ <relation type="obsoletes">
87
+ <bibitem>
88
+ <formattedref>ISO 19115:2003</formattedref>
89
+ </bibitem>
90
+ </relation>
91
+ <relation type="obsoletes">
92
+ <bibitem>
93
+ <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
94
+ </bibitem>
95
+ </relation>
96
+ <relation type="updates">
97
+ <bibitem>
98
+ <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
99
+ </bibitem>
100
+ </relation>
101
+ <editorialgroup>
102
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
103
+ </editorialgroup>
104
+ <ics>
105
+ <code>35.240.70</code>
106
+ <text>IT applications in science</text>
107
+ </ics>
108
+ </bibitem>
109
+ </relation>
110
+ <editorialgroup>
111
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
112
+ </editorialgroup>
113
+ <ics>
114
+ <code>35.240.70</code>
115
+ <text>IT applications in science</text>
116
+ </ics>
117
+ </bibitem>
@@ -0,0 +1,97 @@
1
+ <bibitem type="international-standard" id="ISO19115-2">
2
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data</title>
3
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 2: Extensions pour les images et les matrices</title>
4
+ <uri type="src">https://www.iso.org/standard/39229.html</uri>
5
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:39229:en</uri>
6
+ <uri type="rss">https://www.iso.org/contents/data/standard/03/92/39229.detail.rss</uri>
7
+ <docidentifier>ISO 19115-2</docidentifier>
8
+ <contributor>
9
+ <role type="publisher"/>
10
+ <organization>
11
+ <name>International Organization for Standardization</name>
12
+ <abbreviation>ISO</abbreviation>
13
+ <uri>www.iso.org</uri>
14
+ </organization>
15
+ </contributor>
16
+ <edition>1</edition>
17
+ <language>en</language>
18
+ <language>fr</language>
19
+ <script>Latn</script>
20
+ <status>
21
+ <stage>90</stage>
22
+ <substage>92</substage>
23
+ </status>
24
+ <copyright>
25
+ <from>2009</from>
26
+ <owner>
27
+ <organization>
28
+ <name>ISO</name>
29
+ <abbreviation></abbreviation>
30
+ </organization>
31
+ </owner>
32
+ </copyright>
33
+ <relation type="updates">
34
+ <bibitem>
35
+ <formattedref>ISO 19115-2</formattedref>
36
+ </bibitem>
37
+ </relation>
38
+ <relation type="instance">
39
+ <bibitem type="international-standard">
40
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data</title>
41
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 2: Extensions pour les images et les matrices</title>
42
+ <uri type="src">https://www.iso.org/standard/39229.html</uri>
43
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:39229:en</uri>
44
+ <uri type="rss">https://www.iso.org/contents/data/standard/03/92/39229.detail.rss</uri>
45
+ <docidentifier>ISO 19115-2</docidentifier>
46
+ <date type="published">
47
+ <on>2009</on>
48
+ </date>
49
+ <contributor>
50
+ <role type="publisher"/>
51
+ <organization>
52
+ <name>International Organization for Standardization</name>
53
+ <abbreviation>ISO</abbreviation>
54
+ <uri>www.iso.org</uri>
55
+ </organization>
56
+ </contributor>
57
+ <edition>1</edition>
58
+ <language>en</language>
59
+ <language>fr</language>
60
+ <script>Latn</script>
61
+ <abstract format="plain" language="en" script="Latn">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.</abstract>
62
+ <abstract format="plain" language="fr" script="Latn">L'ISO 19115-2:2009 étend la norme existante sur les métadonnées géographiques en définissant le schéma requis de description des images et des matrices. Elle donne des informations relatives aux propriétés des équipements de mesure utilisés pour obtenir les données, la géométrie du processus de mesure utilisée par ces équipements, et le processus de production utilisé pour numériser les données brutes. Cette extension porte sur les métadonnées nécessaires pour décrire la déduction des informations géographiques à partir de données brutes, y compris les propriétés du système de mesure, et les méthodes numériques et procédures informatiques utilisées pour la déduction. Les métadonnées requises pour aborder les données de couverture en général sont suffisamment abordées dans la partie générale de l'ISO 19115.</abstract>
63
+ <status>
64
+ <stage>90</stage>
65
+ <substage>92</substage>
66
+ </status>
67
+ <copyright>
68
+ <from>2009</from>
69
+ <owner>
70
+ <organization>
71
+ <name>ISO</name>
72
+ <abbreviation></abbreviation>
73
+ </organization>
74
+ </owner>
75
+ </copyright>
76
+ <relation type="updates">
77
+ <bibitem>
78
+ <formattedref>ISO 19115-2</formattedref>
79
+ </bibitem>
80
+ </relation>
81
+ <editorialgroup>
82
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
83
+ </editorialgroup>
84
+ <ics>
85
+ <code>35.240.70</code>
86
+ <text>IT applications in science</text>
87
+ </ics>
88
+ </bibitem>
89
+ </relation>
90
+ <editorialgroup>
91
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
92
+ </editorialgroup>
93
+ <ics>
94
+ <code>35.240.70</code>
95
+ <text>IT applications in science</text>
96
+ </ics>
97
+ </bibitem>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <documents>
3
+ <bibitem type="international-standard" id="ISO19115-1">
4
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 1: Fundamentals</title>
5
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
6
+ <uri type="src">https://www.iso.org/standard/53798.html</uri>
7
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
8
+ <uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
9
+ <docidentifier>ISO 19115-1</docidentifier>
10
+ <contributor>
11
+ <role type="publisher"/>
12
+ <organization>
13
+ <name>International Organization for Standardization</name>
14
+ <abbreviation>ISO</abbreviation>
15
+ <uri>www.iso.org</uri>
16
+ </organization>
17
+ </contributor>
18
+ <edition>1</edition>
19
+ <language>en</language>
20
+ <language>fr</language>
21
+ <script>Latn</script>
22
+ <status>
23
+ <stage>60</stage>
24
+ <substage>60</substage>
25
+ </status>
26
+ <copyright>
27
+ <from>2014</from>
28
+ <owner>
29
+ <organization>
30
+ <name>ISO</name>
31
+ <abbreviation></abbreviation>
32
+ </organization>
33
+ </owner>
34
+ </copyright>
35
+ <relation type="obsoletes">
36
+ <bibitem>
37
+ <formattedref>ISO 19115:2003</formattedref>
38
+ </bibitem>
39
+ </relation>
40
+ <relation type="obsoletes">
41
+ <bibitem>
42
+ <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
43
+ </bibitem>
44
+ </relation>
45
+ <relation type="updates">
46
+ <bibitem>
47
+ <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
48
+ </bibitem>
49
+ </relation>
50
+ <relation type="instance">
51
+ <bibitem>
52
+ <formattedref>ISO 19115:2003</formattedref>
53
+ </bibitem>
54
+ </relation>
55
+ <editorialgroup>
56
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
57
+ </editorialgroup>
58
+ <ics>
59
+ <code>35.240.70</code>
60
+ <text>IT applications in science</text>
61
+ </ics>
62
+ </bibitem>
63
+ <bibitem type="international-standard" id="ISO19115-2">
64
+ <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data</title>
65
+ <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 2: Extensions pour les images et les matrices</title>
66
+ <uri type="src">https://www.iso.org/standard/39229.html</uri>
67
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:39229:en</uri>
68
+ <uri type="rss">https://www.iso.org/contents/data/standard/03/92/39229.detail.rss</uri>
69
+ <docidentifier>ISO 19115-2</docidentifier>
70
+ <contributor>
71
+ <role type="publisher"/>
72
+ <organization>
73
+ <name>International Organization for Standardization</name>
74
+ <abbreviation>ISO</abbreviation>
75
+ <uri>www.iso.org</uri>
76
+ </organization>
77
+ </contributor>
78
+ <edition>1</edition>
79
+ <language>en</language>
80
+ <language>fr</language>
81
+ <script>Latn</script>
82
+ <status>
83
+ <stage>90</stage>
84
+ <substage>92</substage>
85
+ </status>
86
+ <copyright>
87
+ <from>2009</from>
88
+ <owner>
89
+ <organization>
90
+ <name>ISO</name>
91
+ <abbreviation></abbreviation>
92
+ </organization>
93
+ </owner>
94
+ </copyright>
95
+ <relation type="updates">
96
+ <bibitem>
97
+ <formattedref>ISO 19115-2</formattedref>
98
+ </bibitem>
99
+ </relation>
100
+ <relation type="instance">
101
+ <bibitem>
102
+ <formattedref>ISO 19115-2</formattedref>
103
+ </bibitem>
104
+ </relation>
105
+ <editorialgroup>
106
+ <technical_committee number="211" type="technicalCommittee">ISO/TC 211Geographic information/Geomatics</technical_committee>
107
+ </editorialgroup>
108
+ <ics>
109
+ <code>35.240.70</code>
110
+ <text>IT applications in science</text>
111
+ </ics>
112
+ </bibitem>
113
+ </documents>