Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
otb
otb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 305
    • Issues 305
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Issues
  • #2156

Closed
Open
Created Feb 25, 2021 by minaahmed@minaahmed

OTB to generate RPC sensor model

When I run the generate RPC sensor model from Anaconda environment, I get the file generated but with the below error?

Can you help to solve such issue

021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Default RAM limit for OTB is 256 MB
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: GDAL maximum cache size is 634 MB
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: OTB will use at most 1 threads
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Elevation management: setting default height above ellipsoid to 0 meters
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Optimization in progress ...
2021-02-24 13:25:25 (WARNING): file ../Modules/Adapters/OSSIMAdapters/src/otbRPCSolverAdapter.cxx, line 103, Only 21 ground control points are provided, can not estimate a RPC model with elevation support (at least 40 points required). Elevation support will be disabled for RPC estimation. All coefficients related to elevation will be set to zero, and elevation will have no effect on the resulting transform.
2021-02-24 13:25:26 (INFO) GenerateRPCSensorModel: Done.

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-22-7291cd9ae800> in <module>
      1 # The following line execute the application
----> 2 GenerateRPCSensorModel.ExecuteAndWriteOutput()

~/anaconda3/envs/backup/lib/otb/python/otbApplication.py in ExecuteAndWriteOutput(self)
   2853 
   2854     def ExecuteAndWriteOutput(self):
-> 2855         return _otbApplication.Application_ExecuteAndWriteOutput(self)
   2856 
   2857     def ConnectImage(self, arg2, app, out):

RuntimeError: (TransformFailureException) Transform: 0x56202ea36540, Parameters: 151188, 1.94913e+06, 0
Edited Feb 25, 2021 by Julien Osman
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None