공공기관 api를 긁으려다가 째째하게 좌표는 공개 안해준다고 해서 어찌어찌 주소지가 기입된 600개의 엑셀파일을 얻었습니다.

 

여기에 있는 주소지로 순방향 지오코딩을 실시했는데

 

유독 신주소. 그러니까 모래내길, 늘샘길 등의 주소에서는 좌표값 반환이 안되더군요.

 

쓴 기능은 getFromLocationName() 입니다.

 

//좌표구하기
        Geocoder coder = new Geocoder(mapView.this);
        try{
         List<Address> geocodeResults = coder.getFromLocationName(addr, 3);
         Iterator<Address> locations = geocodeResults.iterator();
         String locInfo = "";
         while (locations.hasNext()) {
          
    Address loc = locations.next();
    locInfo += String.format("Location : %f, %f",
      loc.getLatitude(), loc.getLongitude());
    i_lat = String.format("%f", loc.getLatitude());
    i_lon = String.format("%f", loc.getLongitude());
   }
         
         Log.i("mapview", "locInfo : " + locInfo);
        } catch (Exception e) {
   // TODO: handle exception
  }

 

제가 잘못쓰고 있는건가요 아니면 신주소를 받아올수 있는 다른방법이 있나요?