'Test with a srid unknown from GDAL'

@skipUnless(HAS_GDAL, u'GDAL    is    required.')
def test_custom_srid(self):

    pnt = Point(111200, 220900, srid=999999)
    self.assertTrue(pnt.ewkt.startswith(u'SRID=999999;POINT    (111200.0'))
    self.assertIsInstance(pnt.ogr, gdal.OGRGeometry)
    self.assertIsNone(pnt.srs)
    c2w = gdal.CoordTransform(gdal.SpatialReference(u'+proj=mill    +lat_0=0    +lon_0=0    +x_0=0    +y_0=0    +R_A    +ellps=WGS84    +datum=WGS84    +units=m    +no_defs'), gdal.SpatialReference(4326))
    new_pnt = pnt.transform(c2w, clone=True)
    self.assertEqual(new_pnt.srid, 4326)
    self.assertAlmostEqual(new_pnt.x, 1, 3)
    self.assertAlmostEqual(new_pnt.y, 2, 3)
