超级商业
项目描述
supermercado
supermercado
通过添加额外的命令扩展了mercantile
的功能
安装
从pypi
pip install supermercado
本地开发
git clone git@github.com:mapbox/supermercado.git
cd supermercado
pip install -e .
使用
Usage: supermercado [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
burn Burn a stream of GeoJSON into a output...
edges For a stream of [<x>, <y>, <z>] tiles, return...
union Returns the unioned shape of a stream of...
supermercado burn
<{geojson} stream> | supermercado burn <zoom> | <[x, y, z] stream>
接受GeoJSON输入流,并返回给定缩放级别下相交的[x, y, z]
流。
cat data/ellada.geojson | supermercado burn 10 | mercantile shapes | fio collect
supermercado edges
<[x, y, z] stream> | supermercado edges | <[x, y, z] stream>
输出表示输入流中[x, y, z]
边界的[x, y, z]
流。边界瓦片是指与不存在瓦片直接相邻或与空瓦片对角相邻的任何瓦片。
cat data/ellada.geojson | supermercado burn 10 | supermercado edges | mercantile shapes | fio collect | geojsonio
supermercado union
<[x, y, z] stream> | supermercado union | <{geojson} stream>
输出从输入流中[x, y, z]
的并集GeoJSON。类似于mercantile shapes
,但作为整体足迹而不是每个瓦片的单独形状。
cat data/ellada.geojson | supermercado burn 10 | supermercado union | fio collect | geojsonio
疯狂一点
cat data/ellada.geojson | supermercado burn 12 | supermercado edges | supermercado union | fio collect | geojsonio
项目详情
下载文件
下载适用于您平台上的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
supermercado-0.2.0.tar.gz (8.2 kB 查看哈希值)
构建分布
supermercado-0.2.0-py3-none-any.whl (8.1 kB 查看哈希值)
关闭
supermercado-0.2.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 639372b946c31d63196a8fc38dde7eafa4c28ba9472a7a754996eb43b9e8a69b |
|
MD5 | 30d0e46d652e5e33e3c37f6b965ae14b |
|
BLAKE2b-256 | 945a095e804f00d621831e2e896d38168ecec18dfd6238ef0c3da6b1d2e7a83e |
关闭
supermercado-0.2.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c3aab2a0992e324cee83653fb5166781bed92c35d29ae4181125d6a9da1bf222 |
|
MD5 | 2240b504a28f8e3374b7bb6b0dc0870a |
|
BLAKE2b-256 | 55d326d557543a6fa3a9dc90c8a67059b455a4de7ea73fd85df290f4259c08d9 |