<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LayerToKML_conversion ERROR 000584: Parameters are not valid... in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083271#M43807</link>
    <description>&lt;P&gt;For this time around I'm going with in memory lyr.&amp;nbsp; Lyrx actually may be a nice solution under a different task, and honestly not a bad idea to start creating .lyrx files for bread and butter data.&amp;nbsp; Glad you planted the seed!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 20:36:03 GMT</pubDate>
    <dc:creator>ZacharyUhlmann1</dc:creator>
    <dc:date>2021-07-27T20:36:03Z</dc:date>
    <item>
      <title>LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083184#M43790</link>
      <description>&lt;P&gt;Simple question with hopefully a nuts and bolts data type response, but I am confused.&amp;nbsp; I just wrote a script to convert feature classes to KML.&amp;nbsp; Seemingly same parameters as all the conversion tools --&amp;gt; SomeConversionTool_conversion(feature_class_to_convert, converted_layer_new_name_or_format.ext)&lt;/P&gt;&lt;P&gt;But in the case of&lt;STRONG&gt;&amp;nbsp;LayerToKML_conversion&amp;nbsp;&lt;/STRONG&gt;it's erroring out I because I NEED a map open and simply the Layer passed as first argument.&amp;nbsp; WHY?&amp;nbsp; All other conversion tools allow a path to the feature?&amp;nbsp; And Dear ESRI, excellent job with the informative Exceptions.&amp;nbsp; But I did successfully run the tool in a Notebook using arcpy.LayerToKML_conversion('layer name in current map', fp_out_kml.kml').&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround to make scriptable versions without having to load up all data as Layers in a map.&amp;nbsp; And...Why Not?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="layer_to_kml.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19444i4A291C73AF754FA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="layer_to_kml.JPG" alt="layer_to_kml.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="layer_to_kml2.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19445iF05E7B049DEB2CF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="layer_to_kml2.JPG" alt="layer_to_kml2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank - Zach&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 18:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083184#M43790</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-07-27T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083251#M43799</link>
      <description>&lt;P&gt;Zachary - a workaround I came up with is to create a *.lyrx for the feature class in question.&amp;nbsp; Then use the *.lyrx file as the input parameter for Layer.&amp;nbsp; The GP tool will process correctly and not throw the ERROR 000584. Not an ideal solution granted but it does work.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083251#M43799</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-07-27T19:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083252#M43800</link>
      <description>&lt;P&gt;Either a layer in the map or a *.lyrx on disk&lt;/P&gt;&lt;P&gt;In short it wants a layer, which means if you wanted to use a featureclass in the tool, you would have to embed a behind the scenes MakeFeatureLayer to feed into your conversion.&lt;/P&gt;&lt;P&gt;Kind of kludgy? perhaps, but maybe it is demand driven.&amp;nbsp; Post an Idea, or look for an existing one to see if there is widespread use of kml/z and whether direct conversion from featureclasses to kml is in demand&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083252#M43800</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-27T19:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083268#M43805</link>
      <description>&lt;P&gt;Both&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2538"&gt;@Robert_LeClair&lt;/a&gt;&amp;nbsp; had great solutions, but I wanted to incorporate solution programmatically withOUT having to create extra lyrx files, hence going with Dan's solution.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 20:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083268#M43805</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-07-27T20:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083270#M43806</link>
      <description>&lt;P&gt;That works Dan.&amp;nbsp; Thanks.&amp;nbsp; I was hoping there was a way to avoid creating lyrs but apparently not.&amp;nbsp; Post an idea you say?&amp;nbsp; I've seen this before yet never contributed.&amp;nbsp; Just bellyache and criticize.&amp;nbsp; Perhaps I will for this one...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 20:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083270#M43806</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-07-27T20:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: LayerToKML_conversion ERROR 000584: Parameters are not valid...</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083271#M43807</link>
      <description>&lt;P&gt;For this time around I'm going with in memory lyr.&amp;nbsp; Lyrx actually may be a nice solution under a different task, and honestly not a bad idea to start creating .lyrx files for bread and butter data.&amp;nbsp; Glad you planted the seed!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 20:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layertokml-conversion-error-000584-parameters-are/m-p/1083271#M43807</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-07-27T20:36:03Z</dc:date>
    </item>
  </channel>
</rss>

