Skip to content

Commit

Permalink
reshuffle point clouds test data and add ept with hierarchhy
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Nov 11, 2020
1 parent ccdff23 commit ba74c4f
Show file tree
Hide file tree
Showing 32 changed files with 540 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/src/providers/testqgseptprovider.cpp
Expand Up @@ -158,7 +158,7 @@ void TestQgsEptProvider::brokenPath()

void TestQgsEptProvider::validLayer()
{
std::unique_ptr< QgsPointCloudLayer > layer = qgis::make_unique< QgsPointCloudLayer >( mTestDataDir + QStringLiteral( "point_clouds/entwine/ept.json" ), QStringLiteral( "layer" ), QStringLiteral( "ept" ) );
std::unique_ptr< QgsPointCloudLayer > layer = qgis::make_unique< QgsPointCloudLayer >( mTestDataDir + QStringLiteral( "point_clouds/ept/sunshine-coast/ept.json" ), QStringLiteral( "layer" ), QStringLiteral( "ept" ) );
QVERIFY( layer->isValid() );

QCOMPARE( layer->crs().authid(), QStringLiteral( "EPSG:28356" ) );
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgspointcloudattributecombobox.py
Expand Up @@ -78,7 +78,7 @@ def testSignals(self):
def testSetLayer(self):
cb = QgsPointCloudAttributeComboBox()
self.assertIsNone(cb.layer())
layer = QgsPointCloudLayer(unitTestDataPath() + '/point_clouds/entwine/ept.json', 'test', 'ept')
layer = QgsPointCloudLayer(unitTestDataPath() + '/point_clouds/ept/sunshine-coast/ept.json', 'test', 'ept')
self.assertTrue(layer.isValid())
cb.setLayer(layer)
self.assertEqual(cb.layer(), layer)
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgspointcloudattributemodel.py
Expand Up @@ -202,7 +202,7 @@ def testTooltip(self):
def testSetLayer(self):
m = QgsPointCloudAttributeModel()
self.assertIsNone(m.layer())
layer = QgsPointCloudLayer(unitTestDataPath() + '/point_clouds/entwine/ept.json', 'test', 'ept')
layer = QgsPointCloudLayer(unitTestDataPath() + '/point_clouds/ept/sunshine-coast/ept.json', 'test', 'ept')
self.assertTrue(layer.isValid())
m.setLayer(layer)
self.assertEqual(m.layer(), layer)
Expand Down
@@ -0,0 +1,9 @@
{
"cacheSize": 64,
"maxNodeSize": 65536,
"minNodeSize": 16384,
"overflowDepth": 0,
"software": "Entwine",
"trustHeaders": true,
"version": "2.0.0"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
{
"0-0-0-0": 41998,
"1-0-0-0": 22108,
"1-0-1-0": 25867,
"1-1-0-0": 37195,
"1-1-1-0": 32867,
"1-1-1-1": 48879,
"2-2-2-1": -1,
"2-2-2-2": -1,
"2-2-3-1": -1,
"2-3-2-1": -1,
"2-3-3-1": -1
}
@@ -0,0 +1 @@
{"2-2-2-1":85048,"3-5-4-3":18266}
@@ -0,0 +1 @@
{"2-2-2-2":59398,"3-5-4-4":21327}
@@ -0,0 +1 @@
{"2-2-3-1":46752}
@@ -0,0 +1 @@
{"2-3-2-1":37423}
@@ -0,0 +1 @@
{"2-3-3-1":41734}

0 comments on commit ba74c4f

Please sign in to comment.