removed teh dumbness on templates

also added logic to test lat/lon floats and exclude zeros, blanks and
crazy values