function get_time(db_file)
    % show_maps(db_file)
    conn=sqlite(db_file)
    sql="SELECT * FROM images;";
    res=fetch(conn,sql);
    close(conn);
    tr=[];
    trl=[];
    for i=1:size(res,1)
        t=str2num(res.time(i));
        tr=[tr,t(1)];
    end
    limits=find(diff(tr)>0.5e5);
    limits=[1,limits,size(res,1)];
    figure(20);
    for li=1:(length(limits)-1)
      idx_set=limits(li):limits(li+1);
      tr=[];
      for i=1:length(idx_set)
         lat=jsondecode(res.lat(idx_set(i)));
         lon=jsondecode(res.lon(idx_set(i)));
         tr=[tr;lat,lon];
      end
      geoplot(tr(:,1),tr(:,2),'-')
      hold on;
    end
    hold off;

%         %geoplot(points(:,1),points(:,2),'ButtonDownFcn',{@a1,i});
%         %hold on;
%         trl=[trl;lat',lon'];
%        %plot(t)
%     end
%%    figure(10);
%%    plot(diff(tr)>0.5e5)
end