def testSchemaReproject(self):
    prj1 = proj.Projection('epsg:4326')
    prj2 = proj.Projection('epsg:3005')
    s = feature.Schema('test', [('geom', geom.Point, 'epsg:4326')])
    assert (s.fields[0].proj == prj1)
    s = s.reproject(prj2, 'reprojected')
    assert ('reprojected' == s.name)
    assert (s.fields[0].proj == prj2)
def testSchemaReproject(self):
    prj1 = proj.Projection('epsg:4326')
    prj2 = proj.Projection('epsg:3005')
    s = feature.Schema('test', [('geom', geom.Point, 'epsg:4326')])
    assert (s.fields[0].proj == prj1)
    s = s.reproject(prj2, 'reprojected')
    assert ('reprojected' == s.name)
    assert (s.fields[0].proj == prj2)