geo_combine 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/lib/geo_combine/fgdc.rb +2 -2
- data/lib/geo_combine/iso19139.rb +2 -2
- data/lib/geo_combine/version.rb +1 -1
- data/lib/xslt/iso2html.xsl +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a7b7ef3140404f61f2c0143e25556163178bb1
|
4
|
+
data.tar.gz: f776389c9604fd18cbdf958c2f68b2efd4181fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b9ecf8ae11b1e211665e5d90921b32a5f53c7d7e07bfbb5b7d7ab46c6cf27e3e759230b94ff6c8197ba4c38b8a1eb11e299dc3e5b879c15907db01f9982e728
|
7
|
+
data.tar.gz: 12e7c094382bc5ea0fe803c2fe7b1aef653102d3082ceb4b9f1068e3d4a1124a571b3b3189030ac5378bcdc3f84cbdf86e3159085460adf565931a2b4b68d419
|
data/lib/geo_combine/fgdc.rb
CHANGED
@@ -8,14 +8,14 @@ module GeoCombine
|
|
8
8
|
# Returns a Nokogiri::XSLT object containing the FGDC to GeoBlacklight XSL
|
9
9
|
# @return [Nokogiri::XSLT]
|
10
10
|
def xsl_geoblacklight
|
11
|
-
Nokogiri::XSLT(File.
|
11
|
+
Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/fgdc2geoBL.xsl')))
|
12
12
|
end
|
13
13
|
|
14
14
|
##
|
15
15
|
# Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
|
16
16
|
# @return [Nokogiri:XSLT]
|
17
17
|
def xsl_html
|
18
|
-
Nokogiri::XSLT(File.
|
18
|
+
Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/fgdc2html.xsl')))
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
data/lib/geo_combine/iso19139.rb
CHANGED
@@ -6,14 +6,14 @@ module GeoCombine
|
|
6
6
|
# XSL
|
7
7
|
# @return [Nokogiri::XSLT]
|
8
8
|
def xsl_geoblacklight
|
9
|
-
Nokogiri::XSLT(File.
|
9
|
+
Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/iso2geoBL.xsl')))
|
10
10
|
end
|
11
11
|
|
12
12
|
##
|
13
13
|
# Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
|
14
14
|
# @return [Nokogiri:XSLT]
|
15
15
|
def xsl_html
|
16
|
-
Nokogiri::XSLT(File.
|
16
|
+
Nokogiri::XSLT(File.open(File.join(File.dirname(__FILE__), '../xslt/iso2html.xsl')))
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
data/lib/geo_combine/version.rb
CHANGED
data/lib/xslt/iso2html.xsl
CHANGED
@@ -37,15 +37,15 @@ http://www.w3.org/TR/xslt
|
|
37
37
|
|
38
38
|
<!-- Import another XSLT file for replacing newlines with HTML <br/>'s: -->
|
39
39
|
|
40
|
-
<xsl:import href="
|
40
|
+
<xsl:import href="utils/replace-newlines.xsl"/>
|
41
41
|
|
42
42
|
<!-- Import another XSLT file for doing other string substitutions: -->
|
43
43
|
|
44
|
-
<xsl:import href="
|
44
|
+
<xsl:import href="utils/replace-string.xsl"/>
|
45
45
|
|
46
46
|
<!-- Import another XSLT file for limiting the number of decimal places: -->
|
47
47
|
|
48
|
-
<xsl:import href="
|
48
|
+
<xsl:import href="utils/strip-digits.xsl"/>
|
49
49
|
|
50
50
|
<!--
|
51
51
|
|