Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
771c330c
Commit
771c330c
authored
12 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: remove useless class member attribute
parent
e2b1f22b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/Rasterization/otbRasterization.cxx
+6
-6
6 additions, 6 deletions
Applications/Rasterization/otbRasterization.cxx
with
6 additions
and
6 deletions
Applications/Rasterization/otbRasterization.cxx
+
6
−
6
View file @
771c330c
...
@@ -148,14 +148,15 @@ private:
...
@@ -148,14 +148,15 @@ private:
void
DoExecute
()
void
DoExecute
()
{
{
otb
::
ogr
::
DataSource
::
Pointer
ogrDS
;
UInt8ImageType
::
Pointer
referenceImage
;
UInt8ImageType
::
Pointer
referenceImage
;
m_O
grDS
=
otb
::
ogr
::
DataSource
::
New
(
GetParameterString
(
"in"
),
otb
::
ogr
::
DataSource
::
Modes
::
read
);
o
grDS
=
otb
::
ogr
::
DataSource
::
New
(
GetParameterString
(
"in"
),
otb
::
ogr
::
DataSource
::
Modes
::
read
);
bool
validInputProjRef
=
false
;
bool
validInputProjRef
=
false
;
std
::
string
inputProjectionRef
=
""
;
std
::
string
inputProjectionRef
=
""
;
otb
::
ogr
::
DataSource
::
const_iterator
lit
=
m_O
grDS
->
begin
();
otb
::
ogr
::
DataSource
::
const_iterator
lit
=
o
grDS
->
begin
();
// Retrieve extent
// Retrieve extent
double
ulx
,
uly
,
lrx
,
lry
;
double
ulx
,
uly
,
lrx
,
lry
;
...
@@ -163,7 +164,7 @@ private:
...
@@ -163,7 +164,7 @@ private:
try
try
{
{
inputProjectionRef
=
m_O
grDS
->
GetGlobalExtent
(
ulx
,
uly
,
lrx
,
lry
);
inputProjectionRef
=
o
grDS
->
GetGlobalExtent
(
ulx
,
uly
,
lrx
,
lry
);
}
}
catch
(
itk
::
ExceptionObject
&
err
)
catch
(
itk
::
ExceptionObject
&
err
)
{
{
...
@@ -178,7 +179,7 @@ private:
...
@@ -178,7 +179,7 @@ private:
try
try
{
{
inputProjectionRef
=
m_O
grDS
->
GetGlobalExtent
(
ulx
,
uly
,
lrx
,
lry
,
true
);
inputProjectionRef
=
o
grDS
->
GetGlobalExtent
(
ulx
,
uly
,
lrx
,
lry
,
true
);
extentAvailable
=
true
;
extentAvailable
=
true
;
}
}
catch
(
itk
::
ExceptionObject
&
err
)
catch
(
itk
::
ExceptionObject
&
err
)
...
@@ -310,7 +311,7 @@ private:
...
@@ -310,7 +311,7 @@ private:
}
}
m_OGRDataSourceRendering
=
OGRDataSourceToMapFilterType
::
New
();
m_OGRDataSourceRendering
=
OGRDataSourceToMapFilterType
::
New
();
m_OGRDataSourceRendering
->
AddOGRDataSource
(
m_O
grDS
);
m_OGRDataSourceRendering
->
AddOGRDataSource
(
o
grDS
);
m_OGRDataSourceRendering
->
SetOutputSize
(
size
);
m_OGRDataSourceRendering
->
SetOutputSize
(
size
);
m_OGRDataSourceRendering
->
SetOutputOrigin
(
origin
);
m_OGRDataSourceRendering
->
SetOutputOrigin
(
origin
);
m_OGRDataSourceRendering
->
SetOutputSpacing
(
spacing
);
m_OGRDataSourceRendering
->
SetOutputSpacing
(
spacing
);
...
@@ -342,7 +343,6 @@ private:
...
@@ -342,7 +343,6 @@ private:
}
}
otb
::
ogr
::
DataSource
::
Pointer
m_OgrDS
;
OGRDataSourceToMapFilterType
::
Pointer
m_OGRDataSourceRendering
;
OGRDataSourceToMapFilterType
::
Pointer
m_OGRDataSourceRendering
;
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment