Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
py_tools_ds
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Scheffler
py_tools_ds
Merge requests
!26
Fixed issue
#15
(boxObj.get_coordArray_MapXY() returns faulty y-coordinate...
Code
Änderungen prüfen
Branch auschecken
Herunterladen
Patches
Unformatierter Diff
Menüleiste ausklappen
Merged
Fixed issue
#15
(boxObj.get_coordArray_MapXY() returns faulty y-coordinate...
bugfix/fix_get_coordarray
into
master
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
Fixed issue #15 (boxObj.get_coordArray_MapXY() returns faulty y-coordinate...
Daniel Scheffler
requested to merge
bugfix/fix_get_coordarray
into
master
Dec 7, 2020
Overview
0
Commits
1
Pipelines
1
Changes
3
Fixed issue
#15 (closed)
(boxObj.get_coordArray_MapXY() returns faulty y-coordinate array).
Test_boxObj.test_get_coordArray_MapXY() now also validates the output of boxObj.get_coordArray_MapX().
Signed-off-by: Daniel Scheffler
danschef@gfz-potsdam.de
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
38b9f0ec
1 commit,
Dec 7, 2020
3 files
+
50
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
py_tools_ds/geo/vector/geometry.py
+
1
−
1
View file @ 38b9f0ec
Edit in single-file editor
Open in Web IDE
Show full file
@@ -220,7 +220,7 @@ class boxObj(object):
xmin
,
xmax
,
ymin
,
ymax
=
self
.
boundsMap
Xarr
,
Yarr
=
np
.
meshgrid
(
np
.
arange
(
xmin
,
xmax
,
abs
(
self
.
gt
[
1
])),
np
.
arange
(
ym
in
,
ym
ax
,
abs
(
self
.
gt
[
5
])))
np
.
arange
(
ym
ax
,
ym
in
,
-
abs
(
self
.
gt
[
5
])))
if
prj
and
not
prj_equal
(
self
.
prj
,
prj
):
Xarr
,
Yarr
=
transform_coordArray
(
self
.
prj
,
prj
,
Xarr
,
Yarr
)
Loading