node-mapnik
node-mapnik copied to clipboard
Limit size of vtile during creation
After digging into #370 I've learned that node-mapnik should detect and avoid writing vtiles over 64 MB. Currently the only limit to how large messages can be written is node::Buffer::kMaxLength
libprotobuf has an internal limit of 64 MB when parsing messages. But no such safegaurds exist when creating protobuf objects or serializing them.
/cc @BergWerkGIS