Skip to content

Commit

Permalink
Add point and line test datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 4, 2016
1 parent 14d438d commit 042a3db
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/plugins/processing/tests/testdata/lines.geojson
@@ -0,0 +1,11 @@
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 6.0, 2.0 ], [ 9.0, 2.0 ], [ 9.0, 3.0 ], [ 11.0, 5.0 ] ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.0, -1.0 ], [ 1.0, -1.0 ] ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.0, 0.0 ], [ 2.0, 2.0 ], [ 3.0, 2.0 ], [ 3.0, 3.0 ] ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 3.0, 1.0 ], [ 5.0, 1.0 ] ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 7.0, -3.0 ], [ 10.0, -3.0 ] ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 6.0, -3.0 ], [ 10.0, 1.0 ] ] } }
]
}
14 changes: 14 additions & 0 deletions python/plugins/processing/tests/testdata/points.geojson
@@ -0,0 +1,14 @@
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 1.0, 1.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 3.0, 3.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 5.0, 2.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 4.0, 1.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 0.0, -5.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 8.0, -1.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 7.0, -1.0 ] } },
{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 0.0, -1.0 ] } }
]
}

0 comments on commit 042a3db

Please sign in to comment.