New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make osmflat more compact (especially when compressed) #70
Conversation
Such a big difference! I wonder how much better it would be if you reduce integer sizes to 38 bytes instead of 40? |
Not much / anything at all: Most structures would only be a few bit smaller, and flatdata rounds up to the next byte. It would only help if a structure had 4 references, each saving 2 bits. |
* Store granularity explicitly instead of pre-multiplied numbers * Move Ids to separate optional sub-archive * Reduce bits needed for coordinates from 40 to 32 * Remove unused header information
How do you do your size benchmarking? Is there a script somewhere? |
+1 for documenting the command lines which produced the above numbers |
Comparison:
Comparing:
Before:
After:
Observations: