Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
66487b42
Commit
66487b42
authored
Mar 05, 2021
by
Cédric Traizet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STY: improve code formatting
parent
b07214b3
Pipeline
#7121
failed with stages
in 69 minutes and 58 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
+5
-5
No files found.
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
View file @
66487b42
...
...
@@ -1115,7 +1115,7 @@ void GDALImageIO::InternalReadImageInformation()
m_Imd
.
Bands
.
push_back
(
bmd
);
}
ImportMetadata
()
;
ImportMetadata
();
if
(
noDataFound
)
{
...
...
@@ -1956,9 +1956,8 @@ void GDALImageIO::KeywordlistToMetadata(ImageMetadataBase::Keywordlist kwl, int
{
// Projection have already been exported (see InternalWriteImageInformation)
}
else
{
// std::string domain = "OTB";
// std::string path = domain + "/" + kv.first ;
else
{
SetMetadataValue
(
kv
.
first
.
c_str
(),
kv
.
second
.
c_str
(),
band
);
}
}
...
...
@@ -2018,7 +2017,8 @@ void GDALImageIO::GDALMetadataToKeywordlist(const char* const* metadataList, Ima
m_Imd
.
Add
(
MDGeom
::
RPC
,
rpcStruct
);
}
else
{
else
{
kwl
.
emplace
(
fieldName
,
fieldValue
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment