[polygon] fixed problem with import error
handling of import problems when OGR libraray not available
[test_data] fix in test