用于绘制给定坐标集的最近点的程序包
pydistance的Python项目详细描述
pydistance
A library for visualizing the closest point to a set of points.
开始
安装python3软件包
pip3 install pydistance
用法
$ pyd --help
Usage: pyd [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
distance Dumb command to test the distance_matrix api
enrich Enrich the locations with lat, lng information
plot Plot all employee addresses and the best determined office...
要使用,请创建文本文件并运行plot命令。
cat <<EOFToronto, Ontario, CanadaPalo Alto, California, USAMt. Everest, NepalBerlin, GermanyEOF > addrs.txt pyd plot --adrs-file=addrs.txt
许可证
麻省理工学院