初衷是一个渲染PostgreSQL/PostGIS中存储地理数据的易安装的应用程序,它应当的职责是从数据库中取数据,然后转换成客户端(Web、手机端)需要的格式(栅格切片、矢量切片),并通过REST API返回。
docker pull 镜像地址
- Clone the project,
- run
npm install
, thennode app.js
, - now you can access your tile from
/vt/tile/:z/:x:y?sql=select the_geom_webmercator as the_geom from table_name
.
PS: The server can only server data in EPSG:3857
projection which store in postgis.