mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
K-nearest neighbour joins from the Processing toolbox! This algorithm takes an input vector layer and creates a new vector layer that is an with additional attributes in its attribute table The additional attributes and their values are taken from a second vector layer, where features are joined by finding the closest features from each layer. By default only the single nearest feature is joined, but optionally the join can use the n-nearest neighboring features instead. If a maximum distance is specified, then only features which are closer than this distance will be matched.
49 lines
2.8 KiB
XML
49 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ogr:FeatureCollection
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://ogr.maptools.org/ snap_lines_3857.xsd"
|
|
xmlns:ogr="http://ogr.maptools.org/"
|
|
xmlns:gml="http://www.opengis.net/gml">
|
|
<gml:boundedBy>
|
|
<gml:Box>
|
|
<gml:coord><gml:X>-111319.4907932723</gml:X><gml:Y>-557305.2572745769</gml:Y></gml:coord>
|
|
<gml:coord><gml:X>1263118.772597438</gml:X><gml:Y>589605.7184501204</gml:Y></gml:coord>
|
|
</gml:Box>
|
|
</gml:boundedBy>
|
|
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.0">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>664056.507372498,256164.946276216 963271.043268034,178910.815565725 1263118.77259744,589605.71845012</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.1">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>-111319.490793272,-111325.142866386 111319.490793272,-111325.142866386</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.2">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>222638.981586547,-0.000000000708115 203336.794650833,238136.038774373 246182.324006617,233067.497373915 364841.971476963,202083.784506753</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.3">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>333958.47237982,-334111.171401961 333958.47237982,-557305.257274577</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.4">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>779236.435552915,-334111.171401961 1113194.90793273,-334111.171401961</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.5">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>648614.757823928,-318649.196224542 862884.352006337,-182767.696351667 1012154.59764253,36015.6211455719 1136357.53225559,94594.3964176019</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:snap_lines_3857 fid="lines.6">
|
|
</ogr:snap_lines_3857>
|
|
</gml:featureMember>
|
|
</ogr:FeatureCollection>
|