Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
ae8ccf9c
Commit
ae8ccf9c
authored
Apr 08, 2020
by
Julien Osman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: Remove dependency to GDAL3 methods. Add my email to .mailmap file.
parent
d3501c26
Pipeline
#4145
passed with stages
in 16 minutes and 44 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
11 deletions
+2
-11
.mailmap
.mailmap
+1
-0
Modules/Adapters/GdalAdapters/include/otbSpatialReference.h
Modules/Adapters/GdalAdapters/include/otbSpatialReference.h
+0
-5
Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx
Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx
+0
-5
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
+1
-1
No files found.
.mailmap
View file @
ae8ccf9c
...
...
@@ -54,6 +54,7 @@ Julien Malik <julien.malik@c-s.fr> Julien Malik <julien.m
Julien Michel <julien.michel@cnes.fr>
Julien Michel <julien.michel@cnes.fr> Julien Michel <julien.michel@c-s.fr>
Julien Michel <julien.michel@cnes.fr> Julien Michel <julien.michel@orfeo-toolbox.org>
Julien Osman <julien.osman@c-s.fr>
Laurențiu Nicola <lnicola@dend.ro> Laurentiu Nicola <lnicola@dend.ro>
Laurențiu Nicola <lnicola@dend.ro> Laurențiu Nicola <grayshade@gmail.com>
Luc Hermitte <luc.hermitte@c-s.fr> Luc Hermitte <luc.hermitte@cnes.fr>
...
...
Modules/Adapters/GdalAdapters/include/otbSpatialReference.h
View file @
ae8ccf9c
...
...
@@ -176,11 +176,6 @@ public:
*/
static
void
UTMFromGeoPoint
(
double
lon
,
double
lat
,
unsigned
int
&
zone
,
hemisphere
&
hem
);
/**
* Returns the internal OGRSpatialReference
*/
OGRSpatialReference
*
getOGRSpatialReference
();
private:
/// Constructor from wrapped type. ref will be cloned.
SpatialReference
(
const
OGRSpatialReference
*
ref
);
...
...
Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx
View file @
ae8ccf9c
...
...
@@ -294,11 +294,6 @@ void SpatialReference::UTMFromGeoPoint(double lon, double lat, unsigned int& zon
assert
(
zone
<=
60
);
}
OGRSpatialReference
*
SpatialReference
::
getOGRSpatialReference
()
{
return
m_SR
.
get
();
}
#if GDAL_VERSION_NUM >= 3000000
void
SpatialReference
::
SetAxisMappingStrategy
(
OSRAxisMappingStrategy
strategy
)
{
...
...
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
View file @
ae8ccf9c
...
...
@@ -1176,7 +1176,7 @@ void GDALImageIO::Write(const void* buffer)
if
(
m_epsgCode
!=
0
)
{
auto
spatialReference
=
SpatialReference
::
FromEPSG
(
m_epsgCode
);
m_Dataset
->
GetDataSet
()
->
Set
SpatialRef
(
spatialReference
.
getOGRSpatialReference
());
m_Dataset
->
GetDataSet
()
->
Set
Projection
(
spatialReference
.
ToWkt
().
c_str
());
}
// Convert buffer from void * to unsigned char *
...
...
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