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
efaadfb5
Commit
efaadfb5
authored
Mar 31, 2021
by
Julien Osman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Apply orbit changes in SarIMI
parent
8532b2ba
Pipeline
#7283
passed with stages
in 106 minutes and 7 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Modules/Core/Metadata/src/otbSarImageMetadataInterface.cxx
Modules/Core/Metadata/src/otbSarImageMetadataInterface.cxx
+6
-6
No files found.
Modules/Core/Metadata/src/otbSarImageMetadataInterface.cxx
View file @
efaadfb5
...
...
@@ -251,12 +251,12 @@ std::vector<Orbit> SarImageMetadataInterface::GetOrbitsGeom(const MetadataSuppli
std
::
string
path_root
=
"orbitList.orbit["
+
oss
.
str
()
+
"]"
;
Orbit
orbit
;
std
::
istringstream
(
mds
.
GetAs
<
std
::
string
>
(
path_root
+
".time"
))
>>
orbit
.
time
;
orbit
.
pos
X
=
mds
.
GetAs
<
double
>
(
path_root
+
".x_pos"
);
orbit
.
pos
Y
=
mds
.
GetAs
<
double
>
(
path_root
+
".y_pos"
);
orbit
.
pos
Z
=
mds
.
GetAs
<
double
>
(
path_root
+
".z_pos"
);
orbit
.
vel
X
=
mds
.
GetAs
<
double
>
(
path_root
+
".x_vel"
);
orbit
.
vel
Y
=
mds
.
GetAs
<
double
>
(
path_root
+
".y_vel"
);
orbit
.
vel
Z
=
mds
.
GetAs
<
double
>
(
path_root
+
".z_vel"
);
orbit
.
pos
ition
=
mds
.
GetAs
<
double
>
(
path_root
+
".x_pos"
);
orbit
.
pos
ition
=
mds
.
GetAs
<
double
>
(
path_root
+
".y_pos"
);
orbit
.
pos
ition
=
mds
.
GetAs
<
double
>
(
path_root
+
".z_pos"
);
orbit
.
vel
ocity
=
mds
.
GetAs
<
double
>
(
path_root
+
".x_vel"
);
orbit
.
vel
ocity
=
mds
.
GetAs
<
double
>
(
path_root
+
".y_vel"
);
orbit
.
vel
ocity
=
mds
.
GetAs
<
double
>
(
path_root
+
".z_vel"
);
orbitVector
.
push_back
(
std
::
move
(
orbit
));
}
return
orbitVector
;
...
...
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