node-mapnik icon indicating copy to clipboard operation
node-mapnik copied to clipboard

Limit size of vtile during creation

Open springmeyer opened this issue 11 years ago • 0 comments

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

springmeyer avatar Jan 23 '15 08:01 springmeyer