docs: def asDictionary(self):
          """ returns the object as a python dictionary """
          #
          value = self._dict
          if value is None:
              template = {
                  "hasM" : self._hasM,
                  "hasZ" : self._hasZ,
                  "points" : [],
                  "spatialReference" : self.spatialReference
              }
              for pt in self._points:
                  template['points'].append(pt.asList)
              self._dict = template
          return self._dict