<?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 ArcGIS Python Renderer Issue in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-renderer-issue/m-p/786176#M1374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;I'm having an issue in jupyter notebook where the GIS map returns a renderer error whenever I try to use an autocast renderer with a layer that I create with the import_data() method. If I use a layer I download from GIS online the autocast works fine but any layer I create with import_data() gives me the same error. The layers created with import_data() works with normal simple, uniquevalue, and heatmap renderers.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;---------CODE-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;gis = GIS()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;df = pds.read_csv('MOCK_DATA.csv')&lt;BR /&gt;c_data = gis.content.import_data(df, address_fields={"Street":"ADDRESS","City":"CITY","State":"STATE","ZIP":"ZIP"})&lt;BR /&gt;map2_renderer = {"renderer": "autocast", &lt;BR /&gt; "type": "simple",&lt;BR /&gt; }&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;map2 = gis.map("USA", 4)&lt;BR /&gt;map2.add_layer(customer_data, {'type': 'FeatureLayer', 'title':'Customer Data', 'visibility': True ,&lt;BR /&gt; "renderer": map2_renderer})&lt;BR /&gt;map2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;------ERROR-----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;"Could not update layer. Renderer of type '[object Object]' is not supported"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;Can someone give me some guidance? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 17:44:43 GMT</pubDate>
    <dc:creator>YuxuanLiu</dc:creator>
    <dc:date>2019-08-05T17:44:43Z</dc:date>
    <item>
      <title>ArcGIS Python Renderer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-renderer-issue/m-p/786176#M1374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;I'm having an issue in jupyter notebook where the GIS map returns a renderer error whenever I try to use an autocast renderer with a layer that I create with the import_data() method. If I use a layer I download from GIS online the autocast works fine but any layer I create with import_data() gives me the same error. The layers created with import_data() works with normal simple, uniquevalue, and heatmap renderers.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;---------CODE-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;gis = GIS()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;df = pds.read_csv('MOCK_DATA.csv')&lt;BR /&gt;c_data = gis.content.import_data(df, address_fields={"Street":"ADDRESS","City":"CITY","State":"STATE","ZIP":"ZIP"})&lt;BR /&gt;map2_renderer = {"renderer": "autocast", &lt;BR /&gt; "type": "simple",&lt;BR /&gt; }&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;map2 = gis.map("USA", 4)&lt;BR /&gt;map2.add_layer(customer_data, {'type': 'FeatureLayer', 'title':'Customer Data', 'visibility': True ,&lt;BR /&gt; "renderer": map2_renderer})&lt;BR /&gt;map2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;------ERROR-----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;"Could not update layer. Renderer of type '[object Object]' is not supported"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;Can someone give me some guidance? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6f6f6f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 17:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-renderer-issue/m-p/786176#M1374</guid>
      <dc:creator>YuxuanLiu</dc:creator>
      <dc:date>2019-08-05T17:44:43Z</dc:date>
    </item>
  </channel>
</rss>

