[postgis-devel] MVT API Q?

Sandro Santilli strk at kbt.io
Mon Sep 25 21:57:30 PDT 2017


On Mon, Sep 25, 2017 at 03:06:50PM -0700, Paul Ramsey wrote:

> But, the features fed into ST_AsMVTGeom will have been themselves selected
> using a bbox. If that is the same bbox as fed into ST_AsMVTGeom (makes
> sense) then it's possible that there are features that *should* be in the
> tile (because they fall within the buffered area, but not within the bbox
> itself) are *not* in the tile.
> 
> I'd expect a user to provide the same box to ST_AsMVTGeom as they use in
> the WHERE clause, but that means potentially there will be features missing.

Are you asking why not passing an expanded box directly ?

Or given your above description I'd say the expectance of using the
same box for filtering and as a parameter to ST_AsMVTGeom is wrong
and an HINT about that could be added to the manual...

--strk;



More information about the postgis-devel mailing list