AnsweredAssumed Answered

Best method to export as KML from user defined polygon?

Question asked by jay.gregory on Nov 2, 2012
Latest reply on Jun 11, 2015 by fiendniu
I'm trying to create a web app that allows a user to draw a polygon, and then the ability to export the features within that polygon.  I partially got it working using a GP service based on a ModelBuilder model, but it seems to choke randomly (when a larger areas is chosen, but the number of features that should be returned is still far less than 1000).  The server generates no errors when I look at the logs, but the JS api claims "Job 'j024c31e288b2441a9f429e093f8fce6e' does not exist or is inaccessible."  The directory is clearly accessible and the kmz file is present. 

Anyway, was wondering if I might have better look directly making an esri.request and passing in the geometry.  The only thing I can't figure out is how an esri.request can handle a kmz file.  The only options are text, json, xml, but nothing that supports binary.  Is my only choice to troubleshoot the geoprocessing service?

Thanks, Jay

Outcomes