Addng a string check

for the output geometry to see which headers should be strings or not.
Additionally setting old -9999 from left join to NA for ivan's table.
prop_main duplication

fixed an issue where there were two 'prop_main' headers and needed to be
shortened.
closing the polygon

reason the polygons weren't selected is because they didn't have a
closing loop.