I want to convert a js feature set retrieved from a geoprocessing service to a kml client side, and perhaps also to a csv (i have the object from the JS API).

Is there any way do this?

To clarify: i work on the client side and were using google earth (even though it's deprecated, i know), the client consumes a geoprocessing service, it could consume the service via rest but that's non preferable because i wan't to have it as the result as an object, so i want to use the ArcGIS JS API to consume the service and load it to google earth as a kml.


I'm a little unclear on the question. If you are creating the feature class thorough an API, you can add a KML feature to ArcGIS API. If you are receiving a feature from the API, you can convert that to KML using the conversion tool in ArcMap. Here are a few tips for that.

  • i have edited the question, is it more clear now? – Binyamin Jul 9 '15 at 10:57
  • I would look around on the ArcGIS Developers site. I referenced it above, there is quite a bit of information out there about working between ESRI products and Google Earth. Here is another link as well: developers.arcgis.com/javascript/jsapi/kmllayer.html – MaryBeth Jul 9 '15 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.