def get_geojson_for_dt(user_id, start_local_dt, end_local_dt): logging.debug("Getting geojson for %s -> %s" % (start_local_dt, end_local_dt)) tl = esdtl.get_cleaned_timeline_from_dt(user_id, start_local_dt, end_local_dt) tl.fill_start_end_places() return get_geojson_for_timeline(user_id, tl)
def get_geojson_for_dt(user_id, start_local_dt, end_local_dt): logging.debug("Getting geojson for %s -> %s" % (start_local_dt, end_local_dt)) tl = esdtl.get_cleaned_timeline_from_dt(user_id, start_local_dt, end_local_dt) tl.fill_start_end_places() return get_geojson_for_timeline(user_id, tl)