script to query the index generated by node-density-index;
precursor to code to be built into cgimap.