【文件属性】:
文件名称:Windshaft-inaturalist:环绕 Windshaft 的包装器为 iNaturalist 提供地图拼贴器
文件大小:14KB
文件格式:ZIP
更新时间:2021-06-17 21:23:29
JavaScript
Windshaft-innaturalist
环绕 Windshaft 的包装器,为 iNaturalist 提供地图拼贴器。 很多灵感来自
OS X 安装
# assuming you use homebrew
brew install mapnik
brew install redis
brew install postgis
npm install
跑步
节点应用程序.js
运行测试
npm 测试
应用程序接口
渲染网格平铺
渲染一个 PNG 磁贴,总结与请求参数匹配的观察总数。 表示为具有不透明度的网格,表示观察密度。 单元格大小是固定的并基于缩放级别。
/observations/grid/:z/:x/:y.png
参数
名称
必需的
类型
描述
X
真的
整数
XYZ 平铺方案中的 X 值
是
真的
整数
XYZ 平铺方案中的 Y 值
z
真的
整数
XYZ 平铺方