'Testing EWKT.'

def test_ewkt(self):

    srids = ((-1), 32140)
    for srid in srids:
        for p in self.geometries.polygons:
            ewkt = (u'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)
