Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.

web


web / lib/jobs/handlers/geocode-batch-job

lib/jobs/handlers/geocode-batch-job

Defines the job handler for geocoding unique locations from an imported file.

This job extracts unique location values from the location field and geocodes them. Unlike the previous implementation, it does not process coordinates (lat/lon) - those are read directly from field mappings during event creation.

The geocoded results are stored as a map from location string to coordinates, allowing multiple rows with the same location to share the same geocoding result.

Variables

geocodeBatchJob

const geocodeBatchJob: object

Type declaration

slug

slug: "geocode-batch" = JOB_TYPES.GEOCODE_BATCH

handler()

handler: (context) => Promise<{ output: Record<string, unknown>; }>

Parameters
context

JobHandlerContext

Returns

Promise<{ output: Record<string, unknown>; }>

Last updated on