AnsweredAssumed Answered

Reproject point error

Question asked by boss182 on Oct 1, 2013
Latest reply on Oct 1, 2013 by btfou
Hello,

I'm trying to reproject a point WGS84  UTM ZONE 17 to Web Mercator as follows:

var point     = new esri.geometry.Point([este,norte],new esri.SpatialReference({ wkid:zona_utm }));  var params_proj = new esri.tasks.ProjectParameters(); params_proj.geometries = [point]; params_proj.outSR = new esri.SpatialReference({ wkid: 102100}); params_proj.transformation = { wkid: null };              geometryService.project(params_proj, function(out_point) {                          console.log(out_point); });

Query String Parameters:
[HTML]
f:json
outSR:102100
inSR:32717
geometries:{"geometryType":"esriGeometryPoint","geometries":[{"x":"724892.5906","y":"9152681.3875","spatialReference":{"wkid":"32717"}}]}
transformation:{"wkid":null}
callback:dojo.io.script.jsonp_dojoIoScript4._jsonpCallback
[/HTML]

The Error:

[HTML]
dojo.io.script.jsonp_dojoIoScript4._jsonpCallback({"error":{"code":400,"message":"Unable to complete Project operation.","details":["The specified geometry is not in the correct format."]}});
[/HTML]

Please ask your help.
thanks

Outcomes