

def __init__(self, dim=2, trim=False, precision=None):
    super(WKTWriter, self).__init__()
    if (bool(trim) != self._trim):
        self.trim = trim
    if (precision is not None):
        self.precision = precision
    self.outdim = dim

dataset/ETHPy150Open django/django/django/contrib/gis/geos/prototypes/io.py WKTWriter.__init__/original