[postgis-users] Add feature id to MVT encoded features

Nikolai Bezdna mofoyoda at gmail.com
Thu Jul 12 03:40:44 PDT 2018


Hello,

I’d like to have a feature id in every feature that was encoded to MVT.
Currently st_asmvt doesn’t have an option to specify a column as a source for feature ids.

According to MVT spec:
https://github.com/mapbox/vector-tile-spec/tree/master/2.1#42-features <https://github.com/mapbox/vector-tile-spec/tree/master/2.1#42-features>
id is an optional property. 
While it’s extremely useful for client-side logic, it’d be great to have such an argument in st_asmvt function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20180712/7980a828/attachment.html>


More information about the postgis-users mailing list