You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE OR REPLACE
FUNCTION f_agp(z integer, x integer, y integer)
RETURNS byteaAS $$
DECLARE
mvt bytea;
BEGINSELECT INTO mvt ST_AsMVT(tile, 'f_agp', 4096, 'geom') FROM (
SELECT
ST_AsMVTGeom(
ST_Transform(geometry, 3857),
ST_TileEnvelope(z, x, y),
4096, 64, true) AS geom,name,class,gnid,xzname
FROM pdc_agp
WHERE geometry&& ST_Transform(ST_TileEnvelope(z, x, y), 4490)
) as tile WHERE geom IS NOT NULL;
RETURN mvt;
END
$$ LANGUAGE plpgsql IMMUTABLE STRICT PARALLEL SAFE;
However, i visit /catalog did not take effect
The text was updated successfully, but these errors were encountered:
this is my config
then i create a function
However, i visit /catalog did not take effect
The text was updated successfully, but these errors were encountered: