legends module¶
Module of sample legends for some commonly used geospatial datasets.
ee_table_to_legend(in_table, out_file)
¶
Converts an Earth Engine color table to a dictionary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
in_table
|
str
|
The input file path (*.txt) to the Earth Engine color table. |
required |
out_file
|
str
|
The output file path (*.txt) to the legend dictionary. |
required |
Source code in geemap/legends.py
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 |
|