File: test_output_pgsql_int4.osm

package info (click to toggle)
osm2pgsql 1.4.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,124 kB
  • sloc: cpp: 41,466; ansic: 1,366; python: 564; sh: 19; makefile: 15
file content (95 lines) | stat: -rw-r--r-- 5,642 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6">
 <node id="1" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000000000000000000" />
   <tag k="name" v="longer than long" />
 </node>
 <node id="2" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000000000" />
   <tag k="name" v="long (ten billion)" />
 </node>
 <node id="3" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="2147483648" />
   <tag k="name" v="postgresql one more than int4 type" />
 </node>
 <node id="4" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="2147483647" />
   <tag k="name" v="postgresql max int4 type" />
 </node>
 <node id="5" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000" />
   <tag k="name" v="ten thousand" />
 </node>
 <node id="6" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000" />
   <tag k="name" v="minus ten thousand" />
 </node>
 <node id="7" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-2147483648" />
   <tag k="name" v="postgresql min int4 type" />
 </node>
 <node id="8" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-2147483649" />
   <tag k="name" v="postgresql one less than min int4 type" />
 </node>
 <node id="9" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000000000" />
   <tag k="name" v="minus long (minus ten billion)" />
 </node>
 <node id="10" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000000000000000000" />
   <tag k="name" v="minus longer than long" />
 </node>
 <node id="11" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000000000000000000-20000000000000000000" />
   <tag k="name" v="range, longer than long" />
 </node>
 <node id="12" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000000000-20000000000" />
   <tag k="name" v="range, 15 billion" />
 </node>
 <node id="13" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="2147483646-2147483648" />
   <tag k="name" v="range, mean is max int4" />
 </node>
 <node id="14" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="10000-20000" />
   <tag k="name" v="range, 15 thousand" />
 </node>
 <node id="15" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000--20000" />
   <tag k="name" v="range, negative 15 thousand" />
 </node>
 <node id="16" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-2147483647--2147483649" />
   <tag k="name" v="range, mean is min int4" />
 </node>
 <node id="17" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000000000--20000000000" />
   <tag k="name" v="range, negative 15 billion" />
 </node>
 <node id="18" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-10000000000000000000--20000000000000000000" />
   <tag k="name" v="range, negative longer than long" />
 </node>
 <node id="19" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="" />
   <tag k="name" v="invalid, empty value" />
 </node>
 <node id="20" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="-" />
   <tag k="name" v="invalid, single minus sign" />
 </node>
 <node id="21" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="--" />
   <tag k="name" v="invalid, two minus signs" />
 </node>
 <node id="22" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="abc" />
   <tag k="name" v="invalid, not a number" />
 </node>
 <node id="23" visible="true" version="1" changeset="1" timestamp="2018-10-31T10:20:19Z" user="a" uid="1" lat="51.4779481" lon="-0.0014863">
   <tag k="population" v="0" />
   <tag k="name" v="valid 0" />
 </node>
</osm>