| | |
| | | |
| | | String token = gedbService.getToken(); |
| | | GeDb db = gedbService.getGeDb(token); |
| | | String url = String.format("%sgeo-service/entitydb/map/getConfig?dbid=%s&token=%s", config.getHost(), db.getDbid(), token); |
| | | String url = String.format("%sgeo-service/entitydb/map/config?dbid=%s&token=%s", config.getHost(), db.getDbid(), token); |
| | | |
| | | String rs = restTemplate.getForObject(url, String.class); |
| | | if (!StringHelper.isEmpty(rs)) { |
| | |
| | | |
| | | map.put("geometry", g.ExportToWkt()); |
| | | map.put("inSR", 4326); |
| | | map.put("outSR", 4326); |
| | | } |
| | | |
| | | String rs = restTemplate.postForObject(url, map, String.class); |