def asDictionary(self):
        """returns the wkid id for use in json calls"""
        if self._wkid == None and self._wkt is not None:
            return {"wkt": self._wkt}
        else:
            return {"wkid": self._wkid}
returns the wkid id for use in json calls