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
e3c54b26
Commit
e3c54b26
authored
Feb 29, 2008
by
Emmanuel Christophe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout du lambert2
parent
8231d1a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
Code/Projections/otbLambert2EtenduProjection.txx
Code/Projections/otbLambert2EtenduProjection.txx
+4
-12
Code/Projections/otbMapProjection.txx
Code/Projections/otbMapProjection.txx
+2
-0
No files found.
Code/Projections/otbLambert2EtenduProjection.txx
View file @
e3c54b26
...
...
@@ -40,18 +40,10 @@ namespace otb
double falseNorthing=2200000;
std::string ellipsoid = "CE";
// typedef otb::LambertConformalConicForwardProjection LambertProjectionType;
// LambertProjectionType::Pointer lambertProjection = LambertProjectionType::New();
// lambertProjection->SetParameters(parall1, parall2, falseEasting, falseNorthing);
// lambertProjection->SetOrigin(oriPoint, datum);
// lambertProjection->SetEllipsoid(ellipsoid);
//
// this->m_MapProjection->setEllipsoid(ellipsoid);
// this->m_MapProjection->setOrigin(origin);
// this->m_MapProjection->setOrigin(datum);
// this->m_MapProjection->setParametersparall1, parall2, falseEasting, falseNorthing);
this->SetOrigin(origin, datum);
//TODO: 29-02-2008 Emmanuel: when ossim version > 1.7.2 only
// SetOrigin required (remove SetEllipsoid)
this->SetOrigin(origin, datum);
this->SetEllipsoid(ellipsoid);
this->SetParameters(parall1, parall2, falseEasting, falseNorthing);
}
...
...
Code/Projections/otbMapProjection.txx
View file @
e3c54b26
...
...
@@ -288,6 +288,8 @@ namespace otb
{
ossimGpt ossimOrigin(origin[1], origin[0]);
m_MapProjection->setOrigin(ossimOrigin);
//TODO: 29-02-2008 Emmanuel: when ossim version > 1.7.2 only
// SetOrigin required (remove SetDatum)
m_MapProjection->setDatum(ossimOrigin.datum());
}
...
...
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