close #15, start feature ID at 0 to match js array indexing