Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
fd25c4ab
Commit
fd25c4ab
authored
Jun 19, 2012
by
Julien Michel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Removing unused option
parent
11e3227d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
Applications/Rasterization/otbRasterization.cxx
Applications/Rasterization/otbRasterization.cxx
+6
-9
No files found.
Applications/Rasterization/otbRasterization.cxx
View file @
fd25c4ab
...
...
@@ -83,11 +83,11 @@ private:
AddParameter
(
ParameterType_Float
,
"szx"
,
"SizeX"
);
SetParameterDescription
(
"szx"
,
"OutputSize[0] (useless if support image is given)"
);
//
MandatoryOff("szx");
MandatoryOff
(
"szx"
);
AddParameter
(
ParameterType_Float
,
"szy"
,
"SizeY"
);
SetParameterDescription
(
"szy"
,
"OutputSize[1] (useless if support image is given)"
);
//
MandatoryOff("szy");
MandatoryOff
(
"szy"
);
AddParameter
(
ParameterType_Int
,
"epsg"
,
"RSID"
);
SetParameterDescription
(
"epsg"
,
"Projection System RSID number (RSID 4326 for WGS84 32631 for UTM31N) (useless if support image is given)"
);
...
...
@@ -95,11 +95,11 @@ private:
AddParameter
(
ParameterType_Float
,
"orx"
,
"OriginX"
);
SetParameterDescription
(
"orx"
,
"OutputOrigin[0] (useless if support image is given)"
);
//
MandatoryOff("orx");
MandatoryOff
(
"orx"
);
AddParameter
(
ParameterType_Float
,
"ory"
,
"OriginY"
);
SetParameterDescription
(
"ory"
,
"OutputOrigin[1] (useless if support image is given)"
);
//
MandatoryOff("ory");
MandatoryOff
(
"ory"
);
AddParameter
(
ParameterType_Float
,
"spx"
,
"SpacingX"
);
SetParameterDescription
(
"spx"
,
"OutputSpacing[0] (useless if support image is given)"
);
...
...
@@ -108,10 +108,7 @@ private:
AddParameter
(
ParameterType_Float
,
"spy"
,
"SpacingY"
);
SetParameterDescription
(
"spy"
,
"OutputSpacing[1] (useless if support image is given)"
);
MandatoryOff
(
"spy"
);
AddParameter
(
ParameterType_Choice
,
"mode"
,
"Rasterization mode"
);
SetParameterDescription
(
"mode"
,
"This parameter allows to choose between rasterization modes"
);
AddParameter
(
ParameterType_String
,
"field"
,
"The attribute field to burn"
);
SetParameterDescription
(
"field"
,
"Name of the attribute field to burn"
);
SetParameterString
(
"field"
,
"DN"
);
...
...
@@ -135,7 +132,7 @@ private:
{
UInt8ImageType
::
Pointer
referenceImage
;
m_OgrDS
=
otb
::
ogr
::
DataSource
::
New
(
GetParameterString
(
"in
putVData
"
),
otb
::
ogr
::
DataSource
::
Modes
::
read
);
m_OgrDS
=
otb
::
ogr
::
DataSource
::
New
(
GetParameterString
(
"in"
),
otb
::
ogr
::
DataSource
::
Modes
::
read
);
// region information
SizeType
size
;
...
...
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