Select to view content in your preferred language

Trying to send a MapPoint with Z value to GP Service that creates Viewshed, gives err

1712
0
04-08-2014 05:32 AM
MiriEshel
Esri Contributor
Hi,

One of our clients is trying to address a GeoProcessing service that creates ViewShed in ArcGIS Server 10.2.1.

When he uses a MapPoint with no Z values, it run successfully.
When he uses a MapPoint with Z values, it gives an error: "error code 400: unable to complete the operation. the coordinates or measures are out of bounds".

When he runs it in REST or when ArcMap is a client of this service, it works fine so it looks like the problem is not in the GP service.

Here is the code that he runs:
List<GPParameters> parameters = new List<GPParameters>();
paramerers.Add(new GPLinearUnit("Distance", esriUnits.esriKilometers, Convert.ToDouble(nSize.Value)));
parameters.Add(new GPFeatureRecordSetLayer("ObserverPoint", mapPoint));
_geoprocessorTask.Executeasync(parameters);


Thanks a lot,
Miri
0 Kudos
0 Replies