<?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 Python API Published Data is visible on map and yet can't be accessed outside the map in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/python-api-published-data-is-visible-on-map-and/m-p/1012248#M37850</link>
    <description>&lt;P&gt;Can't seem to figure out why a path geometry showed up as polygon and then while I can see it in the mapviewer I can't seem to access the data through the item details.&amp;nbsp; It shows that I have 190 features but then I can't view the data outside the map browsing interface.&lt;/P&gt;&lt;P&gt;The feature layer was created using pyhton api.&amp;nbsp; The geometry is good and the dataset is posted formatted&amp;nbsp; as a geojson and zipped file.&lt;/P&gt;&lt;P&gt;Code used to create (shown below) is based on a GeoAccessor from a dataframe with a SHAPE column for the geometry and the geometry is given as multilinestring.&amp;nbsp; But the map shows it as a polygon and it is not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hemafeatfcol = hemageoac.to_feature_collection(name='Emergency Repair and Maintenance projects', drawing_info=None, extent=None, global_id_field=None)&lt;/P&gt;&lt;P&gt;hemainfcdict = dict(hemafeatfcol.properties)&lt;BR /&gt;hemainjson = json.dumps({"featureCollection": {"layers": [hemainfcdict]}})&lt;BR /&gt;#print (" JSON feature collection : {} ".format(hemainjson))&lt;BR /&gt;hemainitem_properties = {'title': 'HDOT Emergency Repair and Maintenance projects ' ,&lt;BR /&gt;'description':'HDOT Emergency Repair and Maintenance projects ' + \&lt;BR /&gt;'Using HWY-C Excel data ',&lt;BR /&gt;'tags': 'projects, pss, HDOT, repair, status, maintenance ',&lt;BR /&gt;'text':hemainjson,&lt;BR /&gt;'type':'Feature Collection'}&lt;BR /&gt;hemainitem = qgis.content.add(hemainitem_properties)&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://histategis.maps.arcgis.com/home/item.html?id=feea9dd0b0a84d959752640d2a6735d4#overview" target="_blank" rel="noopener"&gt;HDOT Emergency Repair and Maintenance projects (arcgis.com)&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GeoJSON link &lt;A href="https://histategis.maps.arcgis.com/home/item.html?id=0345cf4f8c484cf693087e170cf0c9cb" target="_blank" rel="noopener"&gt;https://histategis.maps.arcgis.com/home/item.html?id=0345cf4f8c484cf693087e170cf0c9cb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Polylines Map data that I can see but can't download or access any other way -&amp;nbsp;&lt;A href="https://histategis.maps.arcgis.com/home/webmap/viewer.html?webmap=6bb9e57538184d23b0699cd075c4b07a" target="_blank" rel="noopener"&gt;https://histategis.maps.arcgis.com/home/webmap/viewer.html?webmap=6bb9e57538184d23b0699cd075c4b07a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Dec 2020 23:48:08 GMT</pubDate>
    <dc:creator>MaazaMekuria</dc:creator>
    <dc:date>2020-12-26T23:48:08Z</dc:date>
    <item>
      <title>Python API Published Data is visible on map and yet can't be accessed outside the map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/python-api-published-data-is-visible-on-map-and/m-p/1012248#M37850</link>
      <description>&lt;P&gt;Can't seem to figure out why a path geometry showed up as polygon and then while I can see it in the mapviewer I can't seem to access the data through the item details.&amp;nbsp; It shows that I have 190 features but then I can't view the data outside the map browsing interface.&lt;/P&gt;&lt;P&gt;The feature layer was created using pyhton api.&amp;nbsp; The geometry is good and the dataset is posted formatted&amp;nbsp; as a geojson and zipped file.&lt;/P&gt;&lt;P&gt;Code used to create (shown below) is based on a GeoAccessor from a dataframe with a SHAPE column for the geometry and the geometry is given as multilinestring.&amp;nbsp; But the map shows it as a polygon and it is not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hemafeatfcol = hemageoac.to_feature_collection(name='Emergency Repair and Maintenance projects', drawing_info=None, extent=None, global_id_field=None)&lt;/P&gt;&lt;P&gt;hemainfcdict = dict(hemafeatfcol.properties)&lt;BR /&gt;hemainjson = json.dumps({"featureCollection": {"layers": [hemainfcdict]}})&lt;BR /&gt;#print (" JSON feature collection : {} ".format(hemainjson))&lt;BR /&gt;hemainitem_properties = {'title': 'HDOT Emergency Repair and Maintenance projects ' ,&lt;BR /&gt;'description':'HDOT Emergency Repair and Maintenance projects ' + \&lt;BR /&gt;'Using HWY-C Excel data ',&lt;BR /&gt;'tags': 'projects, pss, HDOT, repair, status, maintenance ',&lt;BR /&gt;'text':hemainjson,&lt;BR /&gt;'type':'Feature Collection'}&lt;BR /&gt;hemainitem = qgis.content.add(hemainitem_properties)&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://histategis.maps.arcgis.com/home/item.html?id=feea9dd0b0a84d959752640d2a6735d4#overview" target="_blank" rel="noopener"&gt;HDOT Emergency Repair and Maintenance projects (arcgis.com)&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GeoJSON link &lt;A href="https://histategis.maps.arcgis.com/home/item.html?id=0345cf4f8c484cf693087e170cf0c9cb" target="_blank" rel="noopener"&gt;https://histategis.maps.arcgis.com/home/item.html?id=0345cf4f8c484cf693087e170cf0c9cb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Polylines Map data that I can see but can't download or access any other way -&amp;nbsp;&lt;A href="https://histategis.maps.arcgis.com/home/webmap/viewer.html?webmap=6bb9e57538184d23b0699cd075c4b07a" target="_blank" rel="noopener"&gt;https://histategis.maps.arcgis.com/home/webmap/viewer.html?webmap=6bb9e57538184d23b0699cd075c4b07a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Dec 2020 23:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/python-api-published-data-is-visible-on-map-and/m-p/1012248#M37850</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2020-12-26T23:48:08Z</dc:date>
    </item>
  </channel>
</rss>

