transbigdata.visualization_od
- transbigdata.visualization_od(oddata, col=['slon', 'slat', 'elon', 'elat'], zoom='auto', height=500, accuracy=500, mincount=0)
The input is the OD data and the column. The output is the visualization result based on kepler
- 参数:
oddata (DataFrame) – OD data
col (List) – The column name. The user can choose a non-weight Origin-Destination (OD) data, in the sequence of [origin longitude, origin latitude, destination longitude, destination latitude]. For this, The aggregation is automatic. Or, the user can also input a weighted OD data, in the sequence of [origin longitude, origin latitude, destination longitude, destination latitude, count]
zoom (number) – Map zoom level (Optional). Default value: auto
height (number) – The height of the map frame
accuracy (number) – Grid size
mincount (number) – The minimum OD counts, OD with less counts will not be displayed
- 返回:
vmap – Visualizations provided by keplergl
- 返回类型:
keplergl.keplergl.KeplerGl