[postgis-devel] ST_AsMVT

Sandro Santilli strk at kbt.io
Sat Sep 17 22:48:31 PDT 2016


On Sat, Sep 17, 2016 at 05:47:39PM -0700, Paul Norman wrote:
> On 9/17/2016 8:09 AM, Sandro Santilli wrote:

> >Using a row-by-row approach, makes it impossible to build such
> >dictionary, which is why my early attemps were just at producing
> >the geometric part, very much like the GML output works, delegating
> >composition of the whole final product to the caller (which could
> >eventually also be a ROW-taking wrapper).
> 
> You're right. Joining different layers is fine, but each layer has
> some common information that is needed.
> 
> Should it be an aggregate function then?

Probably, which means you'd also need to define a type
to represent the state (including the dictionary, for example).
It's enough stuff that might be better to move into its own
extension.

--strk;



More information about the postgis-devel mailing list