<?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: Display array of multiple coordinates (x,y) in the map object in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736009#M246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do both - i.e. draw graphics on map widget, or create a feature collection from the points and add that to the map widget. Examples of both techniques are shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Draw points on a map widget:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;sms = {"color": [255,255,0,255], "size": 5, "type": "esriSMS", "style": "esriSMSCircle"}
for lat,lon,title,content in get_coordinates():
&amp;nbsp;&amp;nbsp;&amp;nbsp; m.draw({'x':lon,'y':lat}, symbol=sms, popup={'title':title,'content':content})

2) Create a FeatureCollection from the points and draw them:
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;r'C:\xc\Presentations\GeoPython\Watson\insulators'
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# find locations of broken insulators
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;for&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file&lt;/SPAN&gt; &lt;SPAN class="" style="color: #aa22ff; font-weight: bold; margin: 0px;"&gt;in&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;listdir&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #bb6622; font-weight: bold; margin: 0px;"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;is_broken&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;append&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;get_location&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;))&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# import into ArcGIS as a layer
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;pd&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;DataFrame&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;from_records&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;columns&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'x'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'y'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;broken_insulators&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;import_data&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)

&lt;/SPAN&gt;m.add_layer(broken_insulators)&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;I like approach 2 as then you can use the FeatureCollection for other purposes such as calling spatial analysis tools:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;# get layer of transmission towers
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;towers&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;search&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;'BPA_TransmissionStructures'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;'Feature Layer'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;outside_org&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f7f7f7; font-weight: bold; font-size: 14px; margin: 0px;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;]
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;# find transmission towers near image locations&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;destinations&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;join_features&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;towers&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;broken_insulators&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;"withindistance"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;0.1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;"Miles"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:22:31 GMT</pubDate>
    <dc:creator>RohitSingh2</dc:creator>
    <dc:date>2021-12-12T07:22:31Z</dc:date>
    <item>
      <title>Display array of multiple coordinates (x,y) in the map object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736008#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workflow in which I obtain lat/long from .jpg pictures taken with a drone and obtain an array of multiple lists in which I have the lat and long values. I am thinking of iterate the array, create points using arcgis.geometry.Point method and plot those points in the map object created before. I`m not sure if I should, somehow, create graphics from those points or I should create a feature inside my account and insert the point values as records in the feature and after that add the feature into the map as a layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 13:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736008#M245</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-07-25T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display array of multiple coordinates (x,y) in the map object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736009#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do both - i.e. draw graphics on map widget, or create a feature collection from the points and add that to the map widget. Examples of both techniques are shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Draw points on a map widget:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;sms = {"color": [255,255,0,255], "size": 5, "type": "esriSMS", "style": "esriSMSCircle"}
for lat,lon,title,content in get_coordinates():
&amp;nbsp;&amp;nbsp;&amp;nbsp; m.draw({'x':lon,'y':lat}, symbol=sms, popup={'title':title,'content':content})

2) Create a FeatureCollection from the points and draw them:
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;r'C:\xc\Presentations\GeoPython\Watson\insulators'
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# find locations of broken insulators
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;for&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file&lt;/SPAN&gt; &lt;SPAN class="" style="color: #aa22ff; font-weight: bold; margin: 0px;"&gt;in&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;listdir&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #bb6622; font-weight: bold; margin: 0px;"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;is_broken&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;append&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;get_location&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;))&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# import into ArcGIS as a layer
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;pd&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;DataFrame&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;from_records&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;columns&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'x'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'y'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;broken_insulators&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;import_data&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)

&lt;/SPAN&gt;m.add_layer(broken_insulators)&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;I like approach 2 as then you can use the FeatureCollection for other purposes such as calling spatial analysis tools:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;# get layer of transmission towers
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;towers&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;search&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;'BPA_TransmissionStructures'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;'Feature Layer'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;outside_org&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f7f7f7; font-weight: bold; font-size: 14px; margin: 0px;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;]
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #408080; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;# find transmission towers near image locations&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;destinations&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;join_features&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;towers&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;broken_insulators&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;"withindistance"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;0.1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #f7f7f7; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;"Miles"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #f7f7f7; font-size: 14px; margin: 0px;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736009#M246</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2021-12-12T07:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display array of multiple coordinates (x,y) in the map object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736010#M247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did with the 2nd option you told me about. Everything is working great. Also, a note, It was only working with coordinates as DD; I tried with DMS and the points don`t plot in the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in picture below, I have DD format coordinates, I put them into a pandas data frame and after I add as layer into the map object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/364636_pastedImage_1.png" style="width: 620px; height: 445px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 14:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/736010#M247</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-07-27T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display array of multiple coordinates (x,y) in the map object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/1134846#M7019</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the script it helped me get on my way. The issue i am having now is i can't change the symbol of the new layer.&amp;nbsp; How can a add a new point renderer to the newly created layer.&amp;nbsp; I have tried various different methods and the point symbol never changes.&amp;nbsp; I just need it bigger then the default symbol.&lt;/P&gt;&lt;P&gt;If you have any thoughts they will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 00:34:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/display-array-of-multiple-coordinates-x-y-in-the/m-p/1134846#M7019</guid>
      <dc:creator>MatthewCieri</dc:creator>
      <dc:date>2022-01-19T00:34:13Z</dc:date>
    </item>
  </channel>
</rss>

