def measure(self,fromGeometry,toGeometry,measureOperation,
                geometryType="esriGeometryPoint",pixelSize=None,mosaicRule=None,
                linearUnit=None,angularUnit=None,areaUnit=None):
        url = self._url + "/measure"
        params = {
            "f" : "json",
            "fromGeometry" : fromGeometry,
            "toGeometry": toGeometry,
            "geometryType": geometryType,
            "measureOperation": measureOperation
            }
        if not pixelSize is None:
            params["pixelSize"] = pixelSize
        if not mosaicRule is None:
            params["mosaicRule"] = mosaicRule
        if not linearUnit is None:
            params["linearUnit"] = linearUnit
        if not angularUnit is None:
            params["angularUnit"] = angularUnit
        if not areaUnit is None:
            params["areaUnit"] = areaUnit
        return self._get(url=url,
                         param_dict=params,
                         securityHandler=self._securityHandler,
                         proxy_url=self._proxy_url,
                         proxy_port=self._proxy_port)