added pg->ora for Lines and Polygons