line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2008-2014 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.01. |
5
|
1
|
|
|
1
|
|
3007
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
6
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
49
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Geo::GML::Util; |
9
|
1
|
|
|
1
|
|
18
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
65
|
|
10
|
|
|
|
|
|
|
$VERSION = '0.16'; |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
6
|
use base 'Exporter'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
601
|
|
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
|
|
6
|
use constant NS_GML => 'http://www.opengis.net/gml'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
70
|
|
51
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_32 => 'http://www.opengis.net/gml/3.2'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
44
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# used in various schemas |
54
|
1
|
|
|
1
|
|
5
|
use constant NS_GMD_2005 => 'http://www.isotc211.org/2005/gmd'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
39
|
|
55
|
1
|
|
|
1
|
|
4
|
use constant NS_SMIL_20 => 'http://www.w3.org/2001/SMIL20/'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
44
|
|
56
|
1
|
|
|
1
|
|
5
|
use constant NS_XLINK_1999 => 'http://www.w3.org/1999/xlink'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
47
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_200 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
55
|
|
60
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_211 => NS_GML; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
49
|
|
61
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_212 => NS_GML; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
43
|
|
62
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_2120 => NS_GML; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
47
|
|
63
|
1
|
|
|
1
|
|
4
|
use constant NS_GML_2121 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
52
|
|
64
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_300 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
65
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_301 => NS_GML; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
48
|
|
66
|
1
|
|
|
1
|
|
4
|
use constant NS_GML_310 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
67
|
1
|
|
|
1
|
|
4
|
use constant NS_GML_311 => NS_GML; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
55
|
|
68
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_321 => NS_GML_32; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
43
|
|
69
|
|
|
|
|
|
|
|
70
|
1
|
|
|
1
|
|
5
|
use constant NS_GML_SF => 'http://www.opengis.net/gmlsf'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
53
|
|
71
|
1
|
|
|
1
|
|
4
|
use constant NS_GML_311_SF => NS_GML_SF; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
57
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1; |