@property
    def units(self):
        if self.projected or self.local:
            return (self.linear_units, self.linear_name)
        elif self.geographic:
            return (self.angular_units, self.angular_name)
        else:
            return (None, None)
Construct a PropertyTypeInfo instance.
dataset/ETHPy150Open django/django/django/contrib/gis/db/backends/base/models.py/SpatialRefSysMixin.units--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/datastore_admin/backup_handler.py/PropertyTypeInfo.__init__