当前位置:网站首页>RPC correction based on arcpy API
RPC correction based on arcpy API
2022-06-30 03:54:00 【stone_ tigerLI】
This article is to fill the pit , Previously written RPC The basic principle of , Write from bottom RPC Correction is still very difficult , At present, for the sake of rapid engineering , First I wrote an example based on arcpy in RPC Calibration script .
The core code is as follows :
import os
import arcpy
def OrthoCorrected(in_ras, out_ras_path):
''' Incorporates elevation data and image metadata to accurately line up imagery. :param in_ras: Select the raster dataset that you want to orthorectify. The raster must have rational polynomial coefficients (RPCs) in its metadata. :param out_ras_path: The output path :return: None '''
script_path = os.path.split(os.path.realpath(__file__))[0]
dem_path = os.path.join(script_path,"GMTED2km.tif")
in_ras_path = os.path.split(in_ras)
out_ras = os.path.join(out_ras_path, in_ras_path[1][:-5]+'_rpc.tif')
above :RPC Basic principle
边栏推荐
- Graduation project EMS office management system (b/s structure) +j2ee+sqlserver8.0
- [frequently asked questions] modularization of browser environment and node environment
- dotnet-exec 0.5.0 released
- [operation] write CSV to database on May 28, 2022
- 关于智能视觉组上的机械臂
- Radiant energy, irradiance and radiance
- SDS understanding in redis
- How to use FME to create your own functional software
- 【笔记】2022.5.23 MySQL
- December2020 - true questions and analysis of C language (Level 2) in the youth level examination of the Electronic Society
猜你喜欢

Is the largest layoff and salary cut on the internet coming?

第九天 脚本與資源管理

How to use FME to create your own functional software

(03).NET MAUI实战 基础控件

Simple theoretical derivation of SVM (notes)

(03). Net Maui actual combat basic control
![[Thesis reading | deep reading] dane:deep attributed network embedding](/img/c7/60f36c2748b8cd7544b7ef14dc309e.png)
[Thesis reading | deep reading] dane:deep attributed network embedding
![[Thesis reading | deep reading] role2vec:role based graph embeddings](/img/69/c94700fbbbda20df4e54803c703b48.png)
[Thesis reading | deep reading] role2vec:role based graph embeddings
![[punch in - Blue Bridge Cup] day 4--------- split ('') cannot be used. There is a space after the last number of test cases. Split ()](/img/00/3793a236ee37085cb47dbfa1f0dbff.jpg)
[punch in - Blue Bridge Cup] day 4--------- split ('') cannot be used. There is a space after the last number of test cases. Split ()

When easycvr deploys a server cluster, what is the reason why one is online and the other is offline?
随机推荐
Usage record of unity input system (instance version)
How to view Tencent's 2022 school recruitment salary, the total contract of cabbage is 40W?
[0x0] 校长留的开放问题作业
C [advanced part] C generic [need to be further supplemented: generic interfaces and instances of generic events]
[note] on May 27, 2022, MySQL is operated through pychart
各位大佬,flink 1.13.6,mysql-cdc2.2.0,抽取上来的datetime(6)类
[note] Introduction to data analysis on June 7, 2022
[0x0] open questions left by the principal
Product thinking - is the future of UAV express worth looking forward to?
From 2500 a month, no one wants to go to the programming road of the technical director of a large factory | my ten years
Redis中的SDS理解
laravel9本地安装
[FAQ] page cross domain and interface Cross Domain
Geometric objects in shapely
124 articles in total! Motianlun "high availability architecture" dry goods document sharing (including Oracle, mysql, PG)
December2020 - true questions and analysis of C language (Level 2) in the youth level examination of the Electronic Society
DBT product initial experience
ThingsBoard教程(二三):在规则链中计算二个设备的温度差
学校实训要做一个注册页面,要打开数据库把注册页面输入的内容存进数据库但是
Arrangement of language resources of upgraded version