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

  • 相关阅读:
    OSGi系列 Apache Felix初体检
    OSGi系列 我理解的OSGi
    OSGi系列 开发服务端Web应用之一:Servlet实现
    10 Productivity Tips
    在DotNetNuke中通过修改ascx文件源码自定义界面
    DNN4.3.3的版本开发的模块.没登陆DNN的情况下,按钮的事件有时候执行,有时候怎么点都不执行
    DotNetNuke(DNN)网站发布、部署、迁移和重建
    使用3dmax 9.0导入Illustrator 文件时提示"Line in file exceeds 255 characters"
    ”A page can have only one serverside Form tag“错误
    DotNetNuke出错:“Runat 属性必须具有值 Server(The Runat attribute must have the value Server Error)"
  • 原文地址:https://www.cnblogs.com/twodog/p/12139336.html
Copyright © 2011-2022 走看看