Select to view content in your preferred language

Issue with ExtractData GP tool with layers in different coordinate systems

302
0
09-17-2020 05:53 PM
SrinivasOruganti
Emerging Contributor

Issue with ExtractData task.

I have published a GP tool with the out of the box ExtractData .

The tool runs fine in ArcGIS pro and Iam able to publish the tool and in the JavaScript Iam able to use the submitJob to submit my job and get the output.

I have got features in two different coordinate systems like GDA2020 and GCS_GDA_1994.

The submitjob works fine when we pass the features in same coordinate system to the Layers_to_Clip input parameter.

If we pass the features in different coordinate system to the Layers_to_Clip input parameter the the job fails with the message

  • esriJobMessageTypeError: ERROR 000840: The value is not a String. ERROR 000840: The value is not a String.

For instance suppose that Layer1 is in GDA2020 and Layer2 is in GCS_GDA_1994

For the Layers_to_Clip parameter if we pass just ["Layer1"] or just ["Layer2"], then the job runs fine without any issues.

But if we pass the combination like ["Layer1","Layer2"] as the value for the Layers_to_Clip parameter, then the submitJob fails with the error

  • esriJobMessageTypeError: ERROR 000840: The value is not a String. ERROR 000840: The value is not a String.

We are using ArcGIS pro 2.5.0 and ArcGIS enterprise 10.7 

Can some one tell me id this is a known issue or how it can be resolved?

0 Kudos
0 Replies