| | |
| | | shpDTO.put("type",json.getJSONObject("geometry").getString("type")); |
| | | } |
| | | // 名称 |
| | | if (json.getJSONObject("properties").get("name")!= null) { |
| | | shpDTO.put("name",json.getJSONObject("properties").getString("name")); |
| | | if (json.getJSONObject("properties").get("Name")!= null) { |
| | | shpDTO.put("name",json.getJSONObject("properties").getString("Name")); |
| | | } |
| | | // 所属公司名称 |
| | | if (json.getJSONObject("properties").get("name_1")!= null) { |
| | | shpDTO.put("firmName",json.getJSONObject("properties").getString("name_1")); |
| | | } |
| | | dtoList.add(shpDTO); |
| | | } catch (NumberFormatException e) { |