Geoprocessing Package ArcGIS Runtime 10.2.3 "FeaturesToJSON_conversion"

3555
4
09-09-2014 02:52 AM
SchoppMatthieu
New Contributor III

Hi all, I'm trying to publish a Geoprocessing Package to use with ArcGIS Runtime 10.2.3, the geoprocessing uses arcpy function "FeaturesToJSON_conversion". I've got an error : "Tool Features To JSON is not licensed for use in an ArcGIS Runtime package". However, the documentation says that this tool is supported: https://developers.arcgis.com/java/guide/supported-geoprocessing-tools.htm

What the problem is ? Thank you

0 Kudos
4 Replies
EliseAcheson1
Occasional Contributor

Hi,

So it sounds like this is failing at the packaging stage? If so, it might be because of the version of ArcGIS Desktop that you are using. It looks like support for this tool was added at version 10.2.2.

~elise

0 Kudos
SchoppMatthieu
New Contributor III

Hi, thank you Elise,

Desktop is 10.2.1, Runtime is 10.2.3, is there a work arround ?

0 Kudos
EliseAcheson1
Occasional Contributor

Not that I'm aware of - it's the Desktop version that will determine whether or not you can package a tool, and the Runtime version whether the packaged tool will execute (on the Runtime Local Server).

~elise

0 Kudos
EricBader
Occasional Contributor III

I know this is an old thread, but to update things: at 100.0, features are JSON serializable. See FeatureCollection| arcgis-java , to/fromJson.

I hope this is helpful!

0 Kudos