ibesora / vt-optimizer

A small NodeJS cli tool to inspect and optimize Mapbox Vector Tiles files
MIT License
65 stars 12 forks source link

Output Size of properties and geometries #8

Open frodrigo opened 4 years ago

frodrigo commented 4 years ago

Do you think it should be possible to output information about the size of properties and geometries?

ibesora commented 4 years ago

It should be possible to output information about the number of different attributes for example but I don't think that knowing the disk size of that information would be an easy task as some times the information is gzipped. Do you think knowing the uncompressed size would be enough?

frodrigo commented 4 years ago

Yes. I was thinking mainly about uncompressed size.

My use case it optimize tiles having the possibility to change how tiles are built.