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
Julien Cabieces
otb
Commits
0821bb9e
Commit
0821bb9e
authored
9 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Avoid explicit calls to OGRVersionProxy member types
parent
d2969376
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
Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
+2
-4
2 additions, 4 deletions
Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
with
2 additions
and
4 deletions
Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
+
2
−
4
View file @
0821bb9e
...
@@ -675,10 +675,8 @@ private:
...
@@ -675,10 +675,8 @@ private:
//and recomputed FID for each features (without holes).
//and recomputed FID for each features (without holes).
//Note : the GetDriver() Method has not been encapsulated in otb::ogr::DataSource,
//Note : the GetDriver() Method has not been encapsulated in otb::ogr::DataSource,
//so we must access the OGR pointer by using .ogr()
//so we must access the OGR pointer by using .ogr()
otb
::
OGRVersionProxy
::
GDALDatasetType
&
gdalDS
=
ogrDS
->
ogr
();
std
::
string
driverName
(
ogrDS
->
ogr
().
GetDriver
()
->
GetName
());
otb
::
OGRVersionProxy
::
GDALDriverType
*
gdalDriver
=
gdalDS
.
GetDriver
();
std
::
string
driverName
(
gdalDriver
->
GetName
());
if
(
driverName
.
find
(
"ESRI Shapefile"
)
!=
std
::
string
::
npos
)
if
(
driverName
.
find
(
"ESRI Shapefile"
)
!=
std
::
string
::
npos
)
{
{
otbAppLogINFO
(
<<
"REPACK the Shapefile ..."
<<
std
::
endl
);
otbAppLogINFO
(
<<
"REPACK the Shapefile ..."
<<
std
::
endl
);
...
...
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