make functions static, disable main for use as library
experimental OSM index for planet
remove O_TRUNC option, output fill percentage of index grid
use 14 bit instead of 8+8 bit spatial index. load ways into node ref blocks.
node reference lists can have exact length, no need for blocks.
rename gridroot to grid. insert way blocks at head to avoid pointer chasing.