SELECT ST_AsMVT('test', 4096, 'geom', q) FROM (SELECT code, name, geom FROM cadastre_area) q;
for testing purposes and getting
as a result. What's the proper way to pass it down to the browser?
I'm not really sure what the second argument stands for. The docs say "bounds is the geometric bounds of the tile contents without buffer." So are these the abstract coordinates of the tile space, or geographic ones (defined in 3857?).
The queries now pass just fine, but return the data shifted to the south of the map.