-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问 如果瓦片中有多个图层 如何实现??? #66
Comments
Tiles with multiple layers can be created by concatenating multiple calls to this function using ||. select st_asmvt(tile,'zbytz_mzzb_pg',4096,'geom') tile from |
select st_asmvt(tile,'zbytz_mzzb_pg',4096,'geom') tile from 返回的两行 还是两个瓦片 我想返回一个瓦片 |
with t1 as( --可使用string_agg 合并试试 |
请问 如果瓦片中有多个图层 如何实现???
select st_asmvt(tile,'zbytz_mzzb_pg',4096,'geom') tile from
(select w.gid,w.fldm,w.gbdm,w.mc,w.gxsj,w.lx,st_asmvtgeom(w.geom,st_makeenvelope(106.171875,26.71875,106.875,27.421875, 4326),4096, 0, true) as geom from zbytz_mzzb_pg w) as tile
where tile.geom is not null
这个是一个图层 还要其他图层需要放入到一个tile
The text was updated successfully, but these errors were encountered: