Select to view content in your preferred language

GPString length

2539
0
09-24-2015 12:10 PM
DorothyMortenson
Occasional Contributor II

Hello.

I have a geoprocessing service that has several fields, most of them are strings.

One field in particular is the streamcode, which can be up to 35 characters (numbers as characters).

When I run the script in ArcCatalog, it works, even with a long value in the streamcode field.

Then I publish it.

When I run the same job with the same parameters from the rest service GPServer, it does not work. The problem is the streamcode field can only have 19 characters.

I have not found any way to specify the number of characters and I find it weird that this one field can't handle anything more than 19.

Any ideas?

Dorothy

0 Kudos
0 Replies