Added Read method to PolygonFactory to be able to load a polygon from a stream.