Fix failing WKT format tests
Fix failing KML format tests
Fix failing GML format test
Merge pull request #2759 from tschaub/test-failures

Fix test failures.