Skip to content
Snippets Groups Projects
Commit d1a29279 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

Continue fixes for vectordata tests

parent dc7eaadf
No related branches found
No related tags found
1 merge request!528Support of ITK 5.x in OTB
Pipeline #16053 canceled
......@@ -181,8 +181,6 @@ ubuntu-24-gdal-bindings:
extends: .common-build
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:24.04
only:
changes:
- SuperBuild/CMake/External_gdal.cmake
refs:
- /^release-[0-9]+\.[0-9]+$/
script:
......
VectorData (0x5f0da4bc59e0)
RTTI typeinfo: otb::VectorData<double, 2u, double>
Reference Count: 2
Modified Time: 168
Debug: Off
Object Name:
Observers:
none
Source: (0x5f0da4bc7870)
Source output name: Primary
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 18
UpdateMTime: 169
RealTimeStamp: 0 seconds
+Root (Root)
+Document (ToulouseRoad-examples)
+Line () 6 points
-> Metadata: VectorData Keyword list: - Size: 1
number (Integer64): 1
+Line () 4 points
-> Metadata: VectorData Keyword list: - Size: 1
number (Integer64): 2
+Line () 9 points
-> Metadata: VectorData Keyword list: - Size: 1
number (Integer64): 3
+Line () 4 points
-> Metadata: VectorData Keyword list: - Size: 1
number (Integer64): 4
VectorData (0x6352a94019f0)
RTTI typeinfo: otb::VectorData<double, 2u, double>
Reference Count: 2
Modified Time: 280
Debug: Off
Object Name:
Observers:
none
Source: (0x6352a9403880)
Source output name: Primary
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 18
UpdateMTime: 281
RealTimeStamp: 0 seconds
+Root (Root)
+Document (Paths)
+Line () 2 points
+Document (Paths)
+Line () 2 points
-> Metadata: VectorData Keyword list: - Size: 5
Name (String): Tessellated
description (String): If the <tessellate> tag has a value of 1, the line will contour to the underlying terrain
......@@ -8,7 +25,7 @@
extrude (Integer): 0
visibility (Integer): 0
+Line () 2 points
+Line () 2 points
-> Metadata: VectorData Keyword list: - Size: 5
Name (String): Untessellated
description (String): If the <tessellate> tag has a value of 0, the line follow a simple straight-line path from point to point
......@@ -16,7 +33,7 @@
extrude (Integer): 0
visibility (Integer): 0
+Line () 11 points
+Line () 11 points
-> Metadata: VectorData Keyword list: - Size: 6
Name (String): Absolute
description (String): Transparent purple line
......@@ -25,7 +42,7 @@
extrude (Integer): 0
visibility (Integer): 0
+Line () 11 points
+Line () 11 points
-> Metadata: VectorData Keyword list: - Size: 6
Name (String): Absolute Extruded
description (String): Transparent green wall with yellow outlines
......@@ -34,7 +51,7 @@
extrude (Integer): 1
visibility (Integer): 0
+Line () 11 points
+Line () 11 points
-> Metadata: VectorData Keyword list: - Size: 6
Name (String): Relative
description (String): Black line (10 pixels wide), height tracks terrain
......@@ -43,7 +60,7 @@
extrude (Integer): 0
visibility (Integer): 0
+Line () 11 points
+Line () 11 points
-> Metadata: VectorData Keyword list: - Size: 6
Name (String): Relative Extruded
description (String): Opaque blue walls with red outline, height tracks terrain
......
VectorData (0x63e21111b9f0)
RTTI typeinfo: otb::VectorData<double, 2u, double>
Reference Count: 2
Modified Time: 94
Debug: Off
Object Name:
Observers:
none
Source: (0x63e21111d880)
Source output name: Primary
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 18
UpdateMTime: 95
RealTimeStamp: 0 seconds
+Root (Root)
+Document (KmlFile)
+Collection ()
+Point () [-123.939, 49.1646]
+Polygon () 7 points, 0 interior rings
......@@ -135,8 +135,8 @@ void VectorData<TPrecision, VDimension, TValuePrecision>::PrintSelf(std::ostream
boost::tie(ai, a_end) = boost::adjacent_vertices(*it, m_DataTree);
for (; ai != a_end; ai++) {
indentcounts++;
break;
}
//os << "\n";
}
}
......
......@@ -45,7 +45,6 @@ int otbVectorDataKeywordlist(int itkNotUsed(argc), char* argv[])
auto itPair = data->GetIteratorPair();
auto it = itPair.first;
data->Print(fout,indent);
while (it != itPair.second)
{
if (data->Get(it)->GetMetaDataDictionary().HasKey(otb::MetaDataKey::VectorDataKeywordlistKey))
......
......@@ -86,9 +86,6 @@ void ConcatenateVectorDataFilter<TVectorData>::GenerateData()
auto outputPtr = this->GetOutput();
auto inputPtr = this->GetInput(0);
//outputPtr->SetRoot(inputPtr->GetRoot());
otbMsgDevMacro("InputPtr Childrenlist size : " << inputPtr->GetChildrenList(inputPtr->GetRoot()).size());
typename DataNodeType::Pointer outputDocument = inputPtr->GetChildrenList(inputPtr->GetRoot()).at(0);
outputPtr->Add(outputDocument,outputPtr->GetRoot());
// Adding the layer to the data tree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment