|
export interface Poi { |
|
id: string; |
|
lat: number; |
|
lng: number; |
|
address: string; |
|
ts_created: string; |
|
ts_updated: string; |
|
error: string | null; |
|
state: string | null; |
|
data: { |
|
footfall: { |
|
avg_daily_number: number; |
|
daytype_hour_distribution: { |
|
day_type: string; |
|
hour: number; |
|
percentage: number; |
|
}[]; |
|
week_distribution: { |
|
indice_base_100: number; |
|
week: number; |
|
}[]; |
|
}; |
|
mode: { |
|
soft_mode: number; |
|
vehicle: number; |
|
}; |
|
origin_top_10: { |
|
commune: string; |
|
percentage: number; |
|
}[]; |
|
section: { |
|
avg_speed: number; |
|
commune: string; |
|
department: string; |
|
geometry: string; |
|
iris: string; |
|
length: number; |
|
max_speed: number; |
|
name: string; |
|
nbr_direction: number; |
|
region: string; |
|
}; |
|
socio_demography: { |
|
age: string; |
|
gender: string; |
|
percentage: number; |
|
social_group: string; |
|
}[]; |
|
traffic: { |
|
avg_daily_flow: number; |
|
daytype_hour_distribution: { |
|
day_type: string; |
|
hour: number; |
|
percentage: number; |
|
}[]; |
|
}; |
|
trip_purpose: { |
|
percentage: number; |
|
trip_purpose_group: string; |
|
}[]; |
|
}; |
|
} |
|
|