Skip to content

Commit

Permalink
Fix comparison sort order for points to path test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 19, 2021
1 parent 9b6d2eb commit 10789b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Expand Up @@ -11,14 +11,6 @@
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:points_to_path_grouped fid="points_to_path_grouped.0">
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>1,1 5,2</gml:coordinates></gml:LineString></ogr:geometryProperty>
<ogr:id2>2</ogr:id2>
<ogr:begin>1</ogr:begin>
<ogr:end>4</ogr:end>
</ogr:points_to_path_grouped>
</gml:featureMember>
<gml:featureMember>
<ogr:points_to_path_grouped fid="points_to_path_grouped.1">
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>2,2 0,-5 8,-1 7,-1 0,-1</gml:coordinates></gml:LineString></ogr:geometryProperty>
Expand All @@ -35,5 +27,13 @@
<ogr:end>5</ogr:end>
</ogr:points_to_path_grouped>
</gml:featureMember>
<gml:featureMember>
<ogr:points_to_path_grouped fid="points_to_path_grouped.0">
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>1,1 5,2</gml:coordinates></gml:LineString></ogr:geometryProperty>
<ogr:id2>2</ogr:id2>
<ogr:begin>1</ogr:begin>
<ogr:end>4</ogr:end>
</ogr:points_to_path_grouped>
</gml:featureMember>

</ogr:FeatureCollection>
Expand Up @@ -1598,6 +1598,10 @@ tests:
name:
- expected/points_to_path_grouped.gml
type: vector
pk: id2
compare:
fields:
fid: skip

- algorithm: qgis:pointstopath
name: Points to path (close path)
Expand Down

0 comments on commit 10789b1

Please sign in to comment.