<?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: Would like to create star and snowflake symbols in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/301001#M23340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; That is exactly what I need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Nov 2015 14:18:29 GMT</pubDate>
    <dc:creator>SteveCline</dc:creator>
    <dc:date>2015-11-08T14:18:29Z</dc:date>
    <item>
      <title>Would like to create star and snowflake symbols</title>
      <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300997#M23336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am trying to replicate a technique used in the attached photo which uses what they call, "star and snowflake symbols" for multivariate analysis.&amp;nbsp; Is there any functionality in Desktop that might accomplish this or a similar &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; line-height: 24px;"&gt;visualization&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;Source: &lt;SPAN style="color: #000000;"&gt;Slocum, T. A., McMaster, R. B., Kessler, F. C. and Howard, H. H. &lt;/SPAN&gt;&lt;SPAN class="NLM_year" style="color: #000000;"&gt;2005&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;. &lt;/SPAN&gt;&lt;EM style="color: #000000; font-family: 'Open Sans', sans-serif; font-size: 13px;"&gt;Thematic Cartography and Geographic Visualization&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;, Prentice‐Hall. 2nd edition (p. 355)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 23:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300997#M23336</guid>
      <dc:creator>SteveCline</dc:creator>
      <dc:date>2015-10-28T23:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Would like to create star and snowflake symbols</title>
      <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300998#M23337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No but easy to replicate using python and matplotlib there are variants by name and specifics (aka radar, star)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://matplotlib.org/examples/api/radar_chart.html" title="http://matplotlib.org/examples/api/radar_chart.html"&gt;api example code: radar_chart.py — Matplotlib 1.4.3 documentation&lt;/A&gt; in essence, you need magnitude and direction data and in your case, you join the points on the outer bounds rather than back to the center. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be careful about the term star graph, since it also comes from a portion of graph theory, which probably isn't what you want... &lt;A href="http://mathworld.wolfram.com/StarGraph.html" title="http://mathworld.wolfram.com/StarGraph.html"&gt;Star Graph -- from Wolfram MathWorld&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides their snowflake is so lame, you can expand to variants &lt;A href="https://github.com/raspberrypilearning/turtle-snowflakes/" title="https://github.com/raspberrypilearning/turtle-snowflakes/"&gt;raspberrypilearning/turtle-snowflakes · GitHub&lt;/A&gt; or even take it into fractal space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some sample data would be useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 23:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300998#M23337</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-28T23:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Would like to create star and snowflake symbols</title>
      <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300999#M23338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's how you can do it with arcpy geometries (10.1+):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; fc = "grid" # input feature layer
... sr = arcpy.Describe(fc).spatialReference # spatial ref
... points = []
... lines = []
... polys = []
... fields = ["SHAPE@","var1","var2","var3","var4","var5","var6","var7","var8"] # geometry plus 8 variables
... maxDist = 5 # value multiplier
... with arcpy.da.SearchCursor(fc,fields,spatial_reference=sr) as cursor: # loop through features
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor: 
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; centre = row[0].centroid # centre point
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newPolyPoints = []
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i in range(1,9): # loop through variables
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = centre.X + math.cos(math.radians(i*45))*row&lt;I&gt;*maxDist # x offset&lt;/I&gt;
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = centre.Y + math.sin(math.radians(i*45))*row&lt;I&gt;*maxDist # y offset&lt;/I&gt;
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newPoint = arcpy.PointGeometry(arcpy.Point(x,y),sr) # create point geometry
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; points.append(newPoint)
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newLine = arcpy.Polyline(arcpy.Array([centre,newPoint.centroid]),sr) # make ray lines
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lines.append(newLine)
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newPolyPoints.append(newPoint.centroid)
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newPoly = arcpy.Polygon(arcpy.Array(newPolyPoints),sr) # make snowflake polygon
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polys.append(newPoly)
... arcpy.CopyFeatures_management(points,r'in_memory\points') # write points
... arcpy.CopyFeatures_management(lines,r'in_memory\lines') # write lines
... arcpy.CopyFeatures_management(polys,r'in_memory\polys') # write polygons&lt;/PRE&gt;&lt;P&gt;&lt;IMG __jive_id="134121" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134121_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/300999#M23338</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Would like to create star and snowflake symbols</title>
      <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/301000#M23339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!!! remember this one next time someone asks a boring buffer question &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:13:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/301000#M23339</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-29T19:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Would like to create star and snowflake symbols</title>
      <link>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/301001#M23340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; That is exactly what I need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2015 14:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/would-like-to-create-star-and-snowflake-symbols/m-p/301001#M23340</guid>
      <dc:creator>SteveCline</dc:creator>
      <dc:date>2015-11-08T14:18:29Z</dc:date>
    </item>
  </channel>
</rss>

