line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2008-2017 by [Mark Overmeer]. |
2
|
|
|
|
|
|
|
# For other contributors see ChangeLog. |
3
|
|
|
|
|
|
|
# See the manual pages for details on the licensing terms. |
4
|
|
|
|
|
|
|
# Pod stripped from pm file by OODoc 2.02. |
5
|
1
|
|
|
1
|
|
126441
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Geo::GML::Util; |
9
|
1
|
|
|
1
|
|
5
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
10
|
|
|
|
|
|
|
$VERSION = '0.17'; |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
7
|
use base 'Exporter'; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
314
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our @gml200 = qw/NS_GML_200 NS_XLINK_1999/; |
15
|
|
|
|
|
|
|
our @gml211 = qw/NS_GML_211 NS_XLINK_1999/; |
16
|
|
|
|
|
|
|
our @gml212 = qw/NS_GML_212 NS_XLINK_1999/; |
17
|
|
|
|
|
|
|
our @gml2120 = qw/NS_GML_2120 NS_XLINK_1999/; |
18
|
|
|
|
|
|
|
our @gml2121 = qw/NS_GML_2121 NS_XLINK_1999/; |
19
|
|
|
|
|
|
|
our @gml300 = qw/NS_GML_300 NS_XLINK_1999 NS_SMIL_20/; |
20
|
|
|
|
|
|
|
our @gml301 = qw/NS_GML_301 NS_XLINK_1999 NS_SMIL_20/; |
21
|
|
|
|
|
|
|
our @gml310 = qw/NS_GML_310 NS_XLINK_1999 NS_SMIL_20/; |
22
|
|
|
|
|
|
|
our @gml311 = qw/NS_GML_311 NS_XLINK_1999 NS_GML_311_SF NS_SMIL_20/; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
our @gml321 = qw/NS_GML_32 NS_GML_321 |
25
|
|
|
|
|
|
|
NS_GMD_2005 NS_SMIL_20 NS_XLINK_1999/; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
our @proto = qw/NS_GML NS_GML_32 NS_GML_SF/; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
our @EXPORT = |
30
|
|
|
|
|
|
|
( @proto |
31
|
|
|
|
|
|
|
, @gml200, @gml211, @gml212, @gml2120, @gml2121 |
32
|
|
|
|
|
|
|
, @gml300, @gml301, @gml310, @gml311, @gml321 |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
our %EXPORT_TAGS = |
36
|
|
|
|
|
|
|
( gml200 => \@gml200 |
37
|
|
|
|
|
|
|
, gml211 => \@gml211 |
38
|
|
|
|
|
|
|
, gml212 => \@gml212 |
39
|
|
|
|
|
|
|
, gml2120 => \@gml2120 |
40
|
|
|
|
|
|
|
, gml2121 => \@gml2121 |
41
|
|
|
|
|
|
|
, gml300 => \@gml300 |
42
|
|
|
|
|
|
|
, gml301 => \@gml301 |
43
|
|
|
|
|
|
|
, gml310 => \@gml310 |
44
|
|
|
|
|
|
|
, gml311 => \@gml311 |
45
|
|
|
|
|
|
|
, gml321 => \@gml321 |
46
|
|
|
|
|
|
|
, protocols => \@proto |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
1
|
|
|
1
|
|
10
|
use constant NS_GML => 'http://www.opengis.net/gml'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
69
|
|
51
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_32 => 'http://www.opengis.net/gml/3.2'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# used in various schemas |
54
|
1
|
|
|
1
|
|
5
|
use constant NS_GMD_2005 => 'http://www.isotc211.org/2005/gmd'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
55
|
1
|
|
|
1
|
|
5
|
use constant NS_SMIL_20 => 'http://www.w3.org/2001/SMIL20/'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
56
|
1
|
|
|
1
|
|
4
|
use constant NS_XLINK_1999 => 'http://www.w3.org/1999/xlink'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
33
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_200 => NS_GML; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
43
|
|
60
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_211 => NS_GML; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
42
|
|
61
|
1
|
|
|
1
|
|
8
|
use constant NS_GML_212 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
57
|
|
62
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_2120 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
63
|
1
|
|
|
1
|
|
7
|
use constant NS_GML_2121 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
84
|
|
64
|
1
|
|
|
1
|
|
8
|
use constant NS_GML_300 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
61
|
|
65
|
1
|
|
|
1
|
|
8
|
use constant NS_GML_301 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
61
|
|
66
|
1
|
|
|
1
|
|
9
|
use constant NS_GML_310 => NS_GML; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
59
|
|
67
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_311 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
68
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_321 => NS_GML_32; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
40
|
|
69
|
|
|
|
|
|
|
|
70
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_SF => 'http://www.opengis.net/gmlsf'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
52
|
|
71
|
1
|
|
|
1
|
|
8
|
use constant NS_GML_311_SF => NS_GML_SF; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
84
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1; |