<?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 sdf.spatial.to_feature_collection(..., drawing_info=) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/sdf-spatial-to-feature-collection-drawing-info/m-p/843392#M3611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using latest arcgis python libs and jupyter etc...&lt;/P&gt;&lt;P&gt;Has anyone successfully called GIS().map().add_layer(feature class object) when the feature class object creation specified a drawing_info=?&lt;/P&gt;&lt;P&gt;Everything succeeds until the map is rendered and then the following error is triggererd:&amp;nbsp;TypeError: undefined is not an object (evaluating 'x.drawingInfo.renderer.type')&lt;/P&gt;&lt;PRE class="" style="color: #000000;"&gt;&lt;PRE class="" style="color: #000000;"&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2020 16:39:43 GMT</pubDate>
    <dc:creator>artzaifman</dc:creator>
    <dc:date>2020-04-12T16:39:43Z</dc:date>
    <item>
      <title>sdf.spatial.to_feature_collection(..., drawing_info=)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/sdf-spatial-to-feature-collection-drawing-info/m-p/843392#M3611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using latest arcgis python libs and jupyter etc...&lt;/P&gt;&lt;P&gt;Has anyone successfully called GIS().map().add_layer(feature class object) when the feature class object creation specified a drawing_info=?&lt;/P&gt;&lt;P&gt;Everything succeeds until the map is rendered and then the following error is triggererd:&amp;nbsp;TypeError: undefined is not an object (evaluating 'x.drawingInfo.renderer.type')&lt;/P&gt;&lt;PRE class="" style="color: #000000;"&gt;&lt;PRE class="" style="color: #000000;"&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2020 16:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/sdf-spatial-to-feature-collection-drawing-info/m-p/843392#M3611</guid>
      <dc:creator>artzaifman</dc:creator>
      <dc:date>2020-04-12T16:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: sdf.spatial.to_feature_collection(..., drawing_info=)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/sdf-spatial-to-feature-collection-drawing-info/m-p/843393#M3612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "solution" (in my case) is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;temp = fc_m.properties["layerDefinition"]["drawingInfo"]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fc_m.properties["layerDefinition"]["drawingInfo"] = {"renderer": ""}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fc_m.properties["layerDefinition"]["drawingInfo"]["renderer"] = temp&lt;/P&gt;&lt;P&gt;where "fc_m" is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fc_m = sdf_m.spatial.to_feature_collection(name="foobar")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This appears to be a BUG since "drawing_info=" option to "to_feature_collection()" does NOT create the "renderer" tag but ONLY "drawingInfo"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 10:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/sdf-spatial-to-feature-collection-drawing-info/m-p/843393#M3612</guid>
      <dc:creator>artzaifman</dc:creator>
      <dc:date>2020-04-13T10:43:30Z</dc:date>
    </item>
  </channel>
</rss>

