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
0c7abdd8
Commit
0c7abdd8
authored
12 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: missing renaming of VectorDataToImage -> VectorDataToMap
parent
a4031d83
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Rasterization/otbRasterization.cxx
+5
-5
5 additions, 5 deletions
Applications/Rasterization/otbRasterization.cxx
Code/Common/otbVectorDataStyle.h
+1
-1
1 addition, 1 deletion
Code/Common/otbVectorDataStyle.h
with
6 additions
and
6 deletions
Applications/Rasterization/otbRasterization.cxx
+
5
−
5
View file @
0c7abdd8
...
...
@@ -21,7 +21,7 @@
#include
"otbVectorDataExtractROI.h"
#include
"otbVectorDataProjectionFilter.h"
#include
"otbVectorDataProperties.h"
#include
"otbVectorDataTo
Image
Filter.h"
#include
"otbVectorDataTo
Map
Filter.h"
#include
"otbGeoInformationConversion.h"
#include
"otbRemoteSensingRegion.h"
...
...
@@ -57,7 +57,7 @@ public:
typedef
VectorDataProperties
<
VectorDataType
>
VectorDataPropertiesType
;
// Rasterization
typedef
otb
::
VectorDataTo
Image
Filter
<
VectorDataType
,
UInt8ImageType
>
VectorDataTo
Image
FilterType
;
typedef
otb
::
VectorDataTo
Map
Filter
<
VectorDataType
,
UInt8ImageType
>
VectorDataTo
Map
FilterType
;
// Misc
typedef
otb
::
RemoteSensingRegion
<
double
>
RemoteSensingRegionType
;
...
...
@@ -242,13 +242,13 @@ private:
m_Vdextract
->
SetRegion
(
region
);
m_Vdextract
->
SetInput
(
m_Vproj
->
GetOutput
());
m_VectorDataRendering
=
VectorDataTo
Image
FilterType
::
New
();
m_VectorDataRendering
=
VectorDataTo
Map
FilterType
::
New
();
m_VectorDataRendering
->
SetInput
(
m_Vdextract
->
GetOutput
());
m_VectorDataRendering
->
SetSize
(
size
);
m_VectorDataRendering
->
SetOrigin
(
origin
);
m_VectorDataRendering
->
SetSpacing
(
spacing
);
m_VectorDataRendering
->
SetVectorDataProjectionWKT
(
outputProjectionRef
);
m_VectorDataRendering
->
SetRenderingStyleType
(
VectorDataTo
Image
FilterType
::
Binary
);
m_VectorDataRendering
->
SetRenderingStyleType
(
VectorDataTo
Map
FilterType
::
Binary
);
UInt8ImageType
::
Pointer
outputImage
=
m_VectorDataRendering
->
GetOutput
();
if
(
HasValue
(
"im"
))
...
...
@@ -265,7 +265,7 @@ private:
VectorDataPropertiesType
::
Pointer
m_VdProperties
;
VectorDataProjectionFilterType
::
Pointer
m_Vproj
;
VectorDataExtractROIType
::
Pointer
m_Vdextract
;
VectorDataTo
Image
FilterType
::
Pointer
m_VectorDataRendering
;
VectorDataTo
Map
FilterType
::
Pointer
m_VectorDataRendering
;
};
...
...
This diff is collapsed.
Click to expand it.
Code/Common/otbVectorDataStyle.h
+
1
−
1
View file @
0c7abdd8
...
...
@@ -28,7 +28,7 @@ namespace otb
/** \class VectorDataStyle
* \brief Load style into a mapnik::Map
*
* \sa VectorDataTo
Image
Filter
* \sa VectorDataTo
Map
Filter
*/
class
ITK_EXPORT
VectorDataStyle
:
public
itk
::
LightObject
...
...
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