mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
datashader_cli: add page (#10373)
* datashader_cli: add page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
8ac3ec8e69
commit
24e09b04c1
1 changed files with 16 additions and 0 deletions
16
pages/common/datashader_cli.md
Normal file
16
pages/common/datashader_cli.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# datashader_cli
|
||||||
|
|
||||||
|
> Quick visualization of large datasets using CLI based on datashader.
|
||||||
|
> More information: <https://github.com/wybert/datashader-cli>.
|
||||||
|
|
||||||
|
- Create a shaded scatter plot of points and save it to a png file and set the background color:
|
||||||
|
|
||||||
|
`datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}`
|
||||||
|
|
||||||
|
- Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.):
|
||||||
|
|
||||||
|
`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo true`
|
||||||
|
|
||||||
|
- Use matplotlib to render the image:
|
||||||
|
|
||||||
|
`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo {{true}} --matplotlib true`
|
Loading…
Add table
Reference in a new issue