'Testing EWKT.'

def test01h_ewkt(self):

    srid = 32140
    for p in self.geometries.polygons:
        ewkt = ('SRID=%d;%s' % (srid, p.wkt))
        poly = fromstr(ewkt)
        self.assertEqual(srid, poly.srid)
        self.assertEqual(srid, poly.shell.srid)
        self.assertEqual(srid, fromstr(poly.ewkt).srid)
