Skip to content
Permalink
Browse files

reshuffle point clouds test data and add ept with hierarchhy

  • Loading branch information
PeterPetrik committed Nov 11, 2020
1 parent ccdff23 commit ba74c4f77832754ac9c1bd370d6e8a21d79a30da
Showing with 540 additions and 3 deletions.
  1. +1 −1 tests/src/providers/testqgseptprovider.cpp
  2. +1 −1 tests/src/python/test_qgspointcloudattributecombobox.py
  3. +1 −1 tests/src/python/test_qgspointcloudattributemodel.py
  4. +9 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-build.json
  5. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/0-0-0-0.laz
  6. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/1-0-0-0.laz
  7. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/1-0-1-0.laz
  8. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/1-1-0-0.laz
  9. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/1-1-1-0.laz
  10. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/1-1-1-1.laz
  11. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/2-2-2-1.laz
  12. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/2-2-2-2.laz
  13. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/2-2-3-1.laz
  14. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/2-3-2-1.laz
  15. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/2-3-3-1.laz
  16. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/3-5-4-3.laz
  17. BIN tests/testdata/point_clouds/ept/lone-star-laszip/ept-data/3-5-4-4.laz
  18. +13 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/0-0-0-0.json
  19. +1 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/2-2-2-1.json
  20. +1 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/2-2-2-2.json
  21. +1 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/2-2-3-1.json
  22. +1 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/2-3-2-1.json
  23. +1 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-hierarchy/2-3-3-1.json
  24. +338 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-sources/0.json
  25. +66 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept-sources/list.json
  26. +106 −0 tests/testdata/point_clouds/ept/lone-star-laszip/ept.json
  27. 0 tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept-build.json
  28. BIN tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept-data/0-0-0-0.bin
  29. 0 tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept-hierarchy/0-0-0-0.json
  30. 0 tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept-sources/file-cropped.json
  31. 0 tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept-sources/manifest.json
  32. 0 tests/testdata/point_clouds/{entwine → ept/sunshine-coast}/ept.json
@@ -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" ) );
@@ -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)
@@ -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)
@@ -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.
You can’t perform that action at this time.