I want to incorporate a geoprocessing service into my web services. Basically I want to click anywhere on a map, and use those lat/lon coordinates as inputs for a Python script. My question is, are geoprocessing tools restricted only to Model Builder and Python scripts? I want to be able to return a chart from this click event. The Python script extracts data from a raster and outputs a csv file. A Visual Basic script then creates a chart in Excel from this csv file. Is it possible to incorporate a VB script into a geoprocessing tool on the server? I've looked at the examples of GP services in the API reference, but I haven't found anything similar to what I want to do.
If you are using a recent version of arcmap, then you can use matplotlib to do your graphing and csv reading... one less piece of software to work with and it is python-based
Thanks. Can you point to any examples of this method? Is it something that can be triggered from a click event in the JavaScript API?