'Helper routine for performing post-initialization setup.'

def _post_init(self, srid):

    if (srid and isinstance(srid, int)):
        self.srid = srid
    self.__class__ = GEOS_CLASSES[self.geom_typeid]
    self._set_cs()
