AnsweredAssumed Answered


Question asked by ayeshaayesha on Mar 14, 2017
Latest reply on Mar 22, 2017 by Dan_Patterson

In model builder as i am working on geoprocessing tool in which it is required to calculate length of polyline in meters.In field calculator i wrote a query in python !shape.length@meters! against a new field  in the feature class.after completion and running sccessfuly at arcgis desktop end i published the tool.BUTTT when i run the gp service it gives an error that

!shape_lengthgth@meters! is written in field calculator ...i dont know whats wrong at server end as it is working successfully at arc desktop end.plz tell the solution