zoukankan      html  css  js  c++  java
  • 取区域/扇区边界点

    Fir边界

    string sql = @"select t.fir_id
                        ,t.fir_code
                        ,ap.name PNT
                        ,sd.shape_desc_pk
                        ,sd.shape_name
                        ,sd.shape
                        ,sd.south_or_north||sd.latitude arc_lat
                        ,sd.east_or_west||sd.longitude arc_long
                        ,sd.long_radius arc_distance
                        ,sd.short_radius
                        ,ap.south_or_north||ap.latitude geo_lat
                        ,ap.east_or_west||ap.longitude geo_long
                        ,ap.point_type POINT_TYPE
                        ,sap.shape_area_point_seq NO_SEQ
                        from {0}.fir t,{0}.fir_shape_desc fsd,{0}.shape_desc sd,{0}.shape_area_point sap,{0}.AREA_POINT ap
                        where t.fir_id=fsd.fir_id
                        and fsd.shape_desc_pk=sd.shape_desc_pk
                        and t.fir_id={1}
                        and sd.shape_desc_pk= sap.shape_desc_pk
                        and sap.area_point_id=ap.area_point_id
                        order by sd.shape_desc_pk, sap.shape_area_point_seq";

    管制扇区边界

    select t.area_control_sector_id
                        ,t.name
                        ,ap.name PNT
                        ,sd.shape_desc_pk
                        ,sd.shape_name
                        ,sd.shape
                        ,sd.south_or_north||sd.latitude arc_lat
                        ,sd.east_or_west||sd.longitude arc_long
                        ,sd.long_radius arc_distance
                        ,sd.short_radius
                        ,ap.south_or_north||ap.latitude geo_lat
                        ,ap.east_or_west||ap.longitude geo_long
                        ,ap.point_type POINT_TYPE
                        ,sap.shape_area_point_seq NO_SEQ
                        from {0}.AREA_CONTROL_SECTOR t,{0}.ACC_SECTOR_SHAPE_DESC fsd,{0}.shape_desc sd,{0}.shape_area_point sap,{0}.AREA_POINT ap
                        where t.area_control_sector_id=fsd.area_control_sector_id
                        and fsd.shape_desc_pk=sd.shape_desc_pk
                        and t.area_control_sector_id={1}
                        and sd.shape_desc_pk= sap.shape_desc_pk
                        and sap.area_point_id=ap.area_point_id
                        order by sd.shape_desc_pk, sap.shape_area_point_seq

    转载于:https://www.cnblogs.com/mol1995/p/7553600.html

  • 相关阅读:
    Atitit sql计划任务与查询优化器统计信息模块
    Atitit  数据库的事件机制触发器与定时任务attilax总结
    Atitit 图像处理知识点体系知识图谱 路线图attilax总结 v4 qcb.xlsx
    Atitit 图像处理 深刻理解梯度原理计算.v1 qc8
    Atiti 数据库系统原理 与数据库方面的书籍 attilax总结 v3 .docx
    Atitit Mysql查询优化器 存取类型 范围存取类型 索引存取类型 AND or的分析
    Atitit View事件分发机制
    Atitit 基于sql编程语言的oo面向对象大规模应用解决方案attilax总结
    Atitti 存储引擎支持的国内点与特性attilax总结
    Atitit 深入理解软件的本质 attilax总结 软件三原则"三次原则"是DRY原则和YAGNI原则的折
  • 原文地址:https://www.cnblogs.com/twodog/p/12139338.html
Copyright © 2011-2022 走看看