File: join_to_nearest_self.gml

package info (click to toggle)
qgis 3.22.16%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,186,020 kB
  • sloc: cpp: 1,275,562; python: 194,091; xml: 15,597; perl: 3,471; sh: 3,368; sql: 2,485; ansic: 2,219; yacc: 1,056; lex: 574; javascript: 504; lisp: 411; makefile: 227
file content (122 lines) | stat: -rw-r--r-- 6,002 bytes parent folder | download | duplicates (10)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://ogr.maptools.org/ join_to_nearest_self.xsd"
     xmlns:ogr="http://ogr.maptools.org/"
     xmlns:gml="http://www.opengis.net/gml">
  <gml:boundedBy>
    <gml:Box>
      <gml:coord><gml:X>0.201140250855188</gml:X><gml:Y>-4.827594070695552</gml:Y></gml:coord>
      <gml:coord><gml:X>7.971265678449257</gml:X><gml:Y>2.74139110604333</gml:Y></gml:coord>
    </gml:Box>
  </gml:boundedBy>
                                                                                                
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.0">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>1,1</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.2</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>1.4142135623731</ogr:distance>
      <ogr:feature_x>1</ogr:feature_x>
      <ogr:feature_y>1</ogr:feature_y>
      <ogr:nearest_x>2</ogr:nearest_x>
      <ogr:nearest_y>2</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.1">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.13409350057012,2.74139110604333</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.2</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>1.3549276143601</ogr:distance>
      <ogr:feature_x>3.13409350057012</ogr:feature_x>
      <ogr:feature_y>2.74139110604333</ogr:feature_y>
      <ogr:nearest_x>2</ogr:nearest_x>
      <ogr:nearest_y>2</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.2">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>2,2</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.1</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>1.3549276143601</ogr:distance>
      <ogr:feature_x>2</ogr:feature_x>
      <ogr:feature_y>2</ogr:feature_y>
      <ogr:nearest_x>3.13409350057012</ogr:nearest_x>
      <ogr:nearest_y>2.74139110604333</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.3">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>5.25860889395667,1.57856328392246</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.4</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>1.69120460054011</ogr:distance>
      <ogr:feature_x>5.25860889395667</ogr:feature_x>
      <ogr:feature_y>1.57856328392246</ogr:feature_y>
      <ogr:nearest_x>3.68392246294185</ogr:nearest_x>
      <ogr:nearest_y>0.961687571265678</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.4">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.68392246294185,0.961687571265678</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.3</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>1.69120460054011</ogr:distance>
      <ogr:feature_x>3.68392246294185</ogr:feature_x>
      <ogr:feature_y>0.961687571265678</ogr:feature_y>
      <ogr:nearest_x>5.25860889395667</ogr:nearest_x>
      <ogr:nearest_y>1.57856328392246</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.5">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0.201140250855188,-4.82759407069555</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.8</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>3.61692644124198</ogr:distance>
      <ogr:feature_x>0.201140250855188</ogr:feature_x>
      <ogr:feature_y>-4.82759407069555</ogr:feature_y>
      <ogr:nearest_x>0.220296465222349</ogr:nearest_x>
      <ogr:nearest_y>-1.21071835803877</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.6">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>7.97126567844926,0.609122006841505</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.7</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>2.03648094068824</ogr:distance>
      <ogr:feature_x>7.97126567844926</ogr:feature_x>
      <ogr:feature_y>0.609122006841505</ogr:feature_y>
      <ogr:nearest_x>7.18198403648803</ogr:nearest_x>
      <ogr:nearest_y>-1.26818700114025</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.7">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>7.18198403648803,-1.26818700114025</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.6</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>2.03648094068824</ogr:distance>
      <ogr:feature_x>7.18198403648803</ogr:feature_x>
      <ogr:feature_y>-1.26818700114025</ogr:feature_y>
      <ogr:nearest_x>7.97126567844926</ogr:nearest_x>
      <ogr:nearest_y>0.609122006841505</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
  <gml:featureMember>
    <ogr:join_to_nearest_self fid="points.8">
      <ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0.220296465222349,-1.21071835803877</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:fid_2>points.0</ogr:fid_2>
      <ogr:n>1</ogr:n>
      <ogr:distance>2.34418712152302</ogr:distance>
      <ogr:feature_x>0.220296465222349</ogr:feature_x>
      <ogr:feature_y>-1.21071835803877</ogr:feature_y>
      <ogr:nearest_x>1</ogr:nearest_x>
      <ogr:nearest_y>1</ogr:nearest_y>
    </ogr:join_to_nearest_self>
  </gml:featureMember>
</ogr:FeatureCollection>