| | |
| | | if (json.getJSONObject("properties").get("Name")!= null) { |
| | | shpDTO.put("name",json.getJSONObject("properties").getString("Name")); |
| | | } |
| | | if (json.getJSONObject("properties").get("TYPE")!= null) { |
| | | shpDTO.put("name",json.getJSONObject("properties").getString("TYPE")); |
| | | } |
| | | // 所属公司名称 |
| | | if (json.getJSONObject("properties").get("name_1")!= null) { |
| | | shpDTO.put("firmName",json.getJSONObject("properties").getString("name_1")); |
| | | } |
| | | if (json.getJSONObject("properties").get("QYMC")!= null) { |
| | | shpDTO.put("firmName",json.getJSONObject("properties").getString("QYMC")); |
| | | } |
| | | dtoList.add(shpDTO); |
| | | } catch (NumberFormatException e) { |
| | | System.err.println("处理单个特征时发生错误:" + e.getMessage()); |