| | |
| | | |
| | | <!-- 按项目统计数字高程模型面积 --> |
| | | <select id="countDemAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> |
| | | select name "m1", 0.0 "area" |
| | | select name "m1", |
| | | (select coalesce(sum(b.area), 0) from lf.sys_meta b |
| | | inner join lf.sys_dir c on b.dircode = c.code |
| | | where c.name = '数字高程模型' and b.type in ('dem', 'tif', 'tiff') and b.depcode like a.code || '%') "area" |
| | | from lf.sys_dir a |
| | | where pid = 0 |
| | | order by code; |
| | | </select> |
| | | |
| | | <!-- 按项目统计三维地形模型面积 --> |
| | | <!-- 按项目统计三维地形模型面积:mpt --> |
| | | <select id="countMptAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> |
| | | select name "m1", 0.0 "area" |
| | | from lf.sys_dir a |
| | |
| | | order by code; |
| | | </select> |
| | | |
| | | <!-- 按项目统计倾斜摄影模型面积 --> |
| | | <!-- 按项目统计倾斜摄影模型面积:osgb --> |
| | | <select id="countOsgbAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> |
| | | select name "m1", 0.0 "area" |
| | | select name "m1", |
| | | (select coalesce(sum(area), 0) from lf.sys_meta b where b.type = 'osgb' and b.depcode like a.code || '%') "area" |
| | | from lf.sys_dir a |
| | | where pid = 0 |
| | | order by code; |
| | | </select> |
| | | |
| | | <!-- 按项目统计激光点云模型面积 --> |
| | | <!-- 按项目统计激光点云模型面积:las,laz --> |
| | | <select id="countLasAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> |
| | | select name "m1", 0.0 "area" |
| | | select name "m1", |
| | | (select coalesce(sum(area), 0),count(*) from lf.sys_meta b where b.type in ('las', 'laz') and b.depcode like a.code || '%') "area" |
| | | from lf.sys_dir a |
| | | where pid = 0 |
| | | order by code; |