Opened 8 years ago
Closed 8 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.
Note:
See TracTickets
for help on using tickets.
Patch at https://git.osgeo.org/gogs/postgis/postgis/pulls/13.