GMT:通用制图工具指南与安装教程

需积分: 10 1 下载量 59 浏览量 更新于2024-07-16 收藏 6.68MB PDF 举报
GMT (Generic Mapping Tools) 是一套功能强大的开源地理信息系统软件,主要用于地图制作、数据处理和可视化分析。它不仅支持绘制各种类型的地图,包括线性、对数和指数坐标轴,还具备多项高级功能,如数据拟合、滤波和线性回归分析,使得用户能够进行复杂的地理数据分析。 GMT的核心特点在于其跨平台能力,能够在Unix-like系统(如Linux、macOS)、Windows和Cygwin等环境中无缝运行。它的设计哲学强调了命令行接口的灵活性,命令格式清晰明了,可以根据需要组合不同的模块执行特定任务。命令行操作涉及到的标准输入输出流、重定向、管道以及通配符的使用,都是为了提高用户的效率和适应不同工作场景。 对于初学者和专业人士,手册提供了丰富的学习资源,包括参考手册、中文社区以及安装指南。在Linux环境下,安装步骤包括预编译版安装、通过Conda包管理器或源代码编译。特别提到,针对中文支持,手册指导如何配置操作系统以支持中文字体,并提供适用于不同发行版的解决方案。 Windows环境下的安装则涉及安装包、在cygwin、MSYS2和MinGW-w64中的部署,以及在Bash on Ubuntu for Windows上的应用。同样关注中文支持,Windows用户需要进行相应的准备工作,确保 GMT 能够正确显示和处理中文字符。 macOS下的安装途径多样,包括使用Homebrew、Conda、官方安装包或Macports。无论是在哪个平台上,学习和掌握GMT的操作方法是至关重要的,因为它在地球科学、地理信息科学等领域有着广泛的应用。 GMT作为一款强大的地理信息处理工具,其易用的命令行接口、跨平台兼容性以及丰富的功能使其成为科研人员和地图制作者的必备工具。了解和掌握其安装、配置及命令使用方法,将有助于提升地理数据处理和可视化的效率。

insert overwrite table discountdw.dwd_sd_adds_order_bill_inc partition(dt = '2023-06-06') select t1.order_bill_id, t1.counterfoil_no, t1.acceptor, date_format(to_utc_timestamp(cast(t1.expiry_date as bigint) ,'GMT-8'),'YYYY-MM-dd'), t2.company_id, t1.cert_no, t1.company_name, t1.third_order_id, t1.counterfoil_amt/10000, t1.transaction_amt/10000, t1.rate, '3bp' as service_tariffing, ((DATEDIFF(to_utc_timestamp(t1.expiry_date ,'GMT-8'),to_utc_timestamp(t1.transaction_date ,'GMT-8') ) + adjust_days)* 0.0003 *(counterfoil_amt))/ 360 as service_fee, 360 as total_days, DATEDIFF(to_utc_timestamp(t1.expiry_date ,'GMT-8'),to_utc_timestamp(t1.transaction_date ,'GMT-8') ) + adjust_days as modulation_date, t3.channel_type, t3.bank_name, date_format(to_utc_timestamp(cast(t1.transaction_date as bigint) ,'GMT-8'),'YYYY-MM-dd'), t1.order_status_code, t1.order_status_msg, t4.fee_amt, t4.status, t1.tenant_id, t5.revenue, to_utc_timestamp(cast(t1.create_date as bigint) ,'GMT-8'), to_utc_timestamp(cast(t1.update_date as bigint) ,'GMT-8') from (select * from discountdw.ods_adds_order_bill_inc where dt ='2023-06-06' and channel_id=101110004 )t1 left join (select * from mecdw.ods_company_full where platform_id='sdpjw')t2 on t1.cert_no=t2.cert_no and t1.tenant_id=t2.tenant_id left join discountdw.dim_adds_product_full t3 on t1.partner_id=t3.partner_id and t1.product_id=t3.product_id left join (select * from mecdw.dwd_sc_fee_record_full where dt='2023-06-06' and biz_type=2 ) t4 on t1.order_bill_id=t4.third_id left join (select * from discountdw.ods_sd_order_ext_inc where dt='2023-06-06') t5 on t1.order_bill_id=t5.order_bill_id left join sdpjwdw.dim_holiday_info_full t6 on date_format(to_utc_timestamp(t1.expiry_date ,'GMT-8'),'YYYY-MM-dd') = t6.civic_holiday ;

2023-06-09 上传