handle bad polygons

if a polygon coming from geonetwork is too long to process for some
browsers it will be truncated and openlayers will not return a proper
geometry