| | |
| | | /** |
| | | * 1.OSGB检查:.osgb + *倾斜摄影*.xls/.xlsx |
| | | */ |
| | | public void checkOsgb(String path) { |
| | | public void checkOsgb(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 2.表格数据检查:.xls/.xlsx(排除元数据) |
| | | */ |
| | | public void checkXls() { |
| | | public void checkXls(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 3.点云检查:.laz + *激光点云*.xls/.xlsx |
| | | */ |
| | | public void checkLaz() { |
| | | public void checkLaz(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 4.高程检查:.tif/.prj/.tfw/.tif.ovr + *地形图*.dwg |
| | | */ |
| | | public void checkDem() { |
| | | public void checkDem(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 5.属性检查:*dlg*.gdb + *地形图*.dwg |
| | | */ |
| | | public void checkAttrs() { |
| | | public String checkAttrs(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A5成果质检_属性检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("SJZY", fme.sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 6.拓扑检查:*地形图*.dwg |
| | | */ |
| | | public void checkTopology() { |
| | | public String checkTopology(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A4成果质检_拓扑检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_MCDRC", fme.polyTolerance)); |
| | | list.add(new NameValueEntity("S_XCDRC", fme.lineTolerance)); |
| | | list.add(new NameValueEntity("S_DCDRC", fme.pointTolerance)); |
| | | list.add(new NameValueEntity("OFFSET_GCD", fme.gcdOffset)); |
| | | list.add(new NameValueEntity("OFFSET_KZD", fme.kzdOffset)); |
| | | list.add(new NameValueEntity("Range_OFFSET", fme.rangeOffset)); |
| | | list.add(new NameValueEntity("XG_MAX", fme.xgMax)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 7.图面整饰检查:.dwg |
| | | */ |
| | | public void checkDecorate() { |
| | | public String checkDecorate(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A10成果质检_图面整饰检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_XLS2", fme.xlsList)); |
| | | list.add(new NameValueEntity("S_XLS", "$(OrgUserStorage)\\质检配置文件\\质检配置表总.xlsx")); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 8.原点检查:*剖面图*.dwg |
| | | */ |
| | | public void checkOrigin() { |
| | | public String checkOrigin(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A11成果质检_原点检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 9.栅格检查:.tif/.prj/.tfw/.tif.ovr + .xls/.xlsx |
| | | */ |
| | | public void checkDom() { |
| | | public String checkDom(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A7成果质检_栅格检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("SJZY", fme.sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_CoordinateSystem", fme.coordinateSystem)); |
| | | list.add(new NameValueEntity("DMYX_FBL", fme.imgResolution)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 11.元数据检查:*元数据*.xls/.xlsx |
| | | */ |
| | | public void checkMeta() { |
| | | |
| | | public String checkMeta(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/B5入库质检_元数据检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("SJZY", fme.sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 12.入库质检总:.zip/.7z + .xls/.xlsx |
| | | * 12.总质检:.zip/.7z + .xls/.xlsx |
| | | */ |
| | | public String checkMain(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/B0入库质检__总", req); |
| | |
| | | List<NameValueEntity> list = new ArrayList<>(); |
| | | list.add(new NameValueEntity("_name", guid)); |
| | | list.add(new NameValueEntity("_priority", 100)); |
| | | list.add(new NameValueEntity("_terminate_on_error", true)); |
| | | list.add(new NameValueEntity("_terminate_on_error", false)); |
| | | list.add(new NameValueEntity("IID", "")); |
| | | list.add(new NameValueEntity("FANOUT_DIR", "$(OrgResultStorage)")); |
| | | list.add(new NameValueEntity("IID_JL", "$(OrgUserStorage)\\质检配置文件\\IID记录表.xlsx")); |