private GeoMark reverse_geocode(final String text){
  for (  String t : text.split(" ")) {
    if (t.length() < 9)     continue;
    String[] c=t.split(",");
    if (c.length != 2)     continue;
    try {
      double lat=Double.parseDouble(c[0]);
      double lon=Double.parseDouble(c[1]);
      GeoMark mark=cityNear(lat,lon);
      if (mark == null)       continue;
      return mark;
    }
 catch (    NumberFormatException e) {
      continue;
    }
  }
  return null;
}

private GeoMark reverse_geocode ( final String text ) { for ( String t : text . split ( " " ) ) { if ( t . length ( ) < 9 ) continue ; String [ ] c = t . split ( "," ) ; if ( c . length != 2 ) continue ; try { double lat = Double . parseDouble ( c [ 0 ] ) ; double lon = Double . parseDouble ( c [ 1 ] ) ; GeoMark mark = cityNear ( lat , lon ) ; if ( mark == null ) continue ; return mark ; } catch ( NumberFormatException e ) { continue ; } } return null ; }
find the geolocation for coordinates in a text
