By gijsnijholt
Hello,
I’m really excited about the managed postgres offering, especially with PostGIS enabled by default.
Unfortunately, it was not compiled with support for protocol buffers (protobuf). I found out during runtime when I got this error message:
django.db.utils.InternalError: Missing libprotobuf-c.
This makes functions like ST_AsMVT() unavailable. They’re at the core of my product (which is a map-based product using dynamic vector tiles).
Are there short-term plans for inclusion of this library? If not, I’m going to have to stick to Droplets instead of Apps.
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey,
I’ve just tested this out and it seems like that the ST_AsMVT() function is available now. I was able to verify this with:
SELECT *
FROM pg_catalog.pg_proc
WHERE proname = 'st_asmvt';
And then used the following sample query to test it out as well:
SELECT ST_AsMVT(tile)
FROM (
SELECT ST_AsMVTGeom(
ST_GeomFromText('POINT(30 10)', 4326), -- Geometry
ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), -- Tile bounding box
4096, -- Size
0, -- Buffer
false -- Clip geom
) AS geom
) AS tile;
If you still have a feature in mind that is missing, the best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.
Hope that helps!
- Bobby.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.