Opened 3 years ago

Closed 3 years ago

#3714 closed enhancement (fixed)

ST_AsMVT suboptimal integer encoding

Reported by: Björn Harrtell Owned by: Björn Harrtell
Priority: medium Milestone: PostGIS 2.4.0
Component: postgis Version: master
Keywords: Cc:

Description

The current code encodes any integer value as int64 but could inspect the sign of the value to encode as uint64 or sint64 instead which will result in a more compact encoding for the reasons explained here:

https://developers.google.com/protocol-buffers/docs/encoding#signed-integers.

Change History (3)

comment:1 Changed 3 years ago by robe

Owner: changed from pramsey to Björn Harrtell

comment:3 Changed 3 years ago by Björn Harrtell

Resolution: fixed
Status: newclosed

In 15316:

Improved integer encoding for ST_AsMVT
Closes #3714

Note: See TracTickets for help on using tickets.