#geo-json #convert #osmosis #polygon #poly

app poly2geojson

从Osmosis POLY转换为GeoJSON

4个版本

0.1.3 2024年8月3日
0.1.2 2021年5月13日
0.1.1 2020年12月28日
0.1.0 2020年12月26日

#154 in 科学

Download history 108/week @ 2024-07-29 26/week @ 2024-08-05

每月 134 次下载

GPL-3.0-or-later

6KB
92 代码行

描述

这是一个从POLY文件(Osmosis多边形过滤器文件格式)到GeoJSON的快速转换器。

如何安装最新版本

访问 https://github.com/frafra/poly2geojson/releases 下载适用于x86_64的编译好的Linux二进制文件,或使用 cargo 编译并安装。

cargo install poly2geojson

如何从Git构建

Cargo应该已安装。

cargo build --release

如何运行

poly2geojson < test.poly > test.geojson

依赖项

~2.7–4MB
~77K SLoC