<?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: ArcPy Geometry and Export Map in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614638#M47966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&amp;nbsp;do you know how you&amp;nbsp;would invoke the 'within' method? Been struggling with that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's on the Geometry site, but, alas no good sample &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;A class="" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/geometry.htm" style="color: #2989c5; text-decoration: none;" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/geometry.htm"&gt;Geometry—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2017 21:47:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-07-11T21:47:39Z</dc:date>
    <item>
      <title>ArcPy Geometry and Export Map</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614637#M47965</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 was looking into options to Export Map using ArcPy and Javascript client. I have a point geometry that i get it from javascript client and i pass the point to Toolbox that i published on ArcGIS Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question i had was, how do i show buffer with say "10 miles" on the exported map (PDF or PNG) format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;Buffer_analysis sample &lt;/SPAN&gt;inside the python script from the sample below but output PDF does not show the buffer circle.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2010/02/23/how-do-i-use-arcpy-geometry-objects-in-scripting/" title="http://blogs.esri.com/esri/arcgis/2010/02/23/how-do-i-use-arcpy-geometry-objects-in-scripting/"&gt;http://blogs.esri.com/esri/arcgis/2010/02/23/how-do-i-use-arcpy-geometry-objects-in-scripting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Shay ~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 01:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614637#M47965</guid>
      <dc:creator>shay-geo</dc:creator>
      <dc:date>2015-02-10T01:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy Geometry and Export Map</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614638#M47966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&amp;nbsp;do you know how you&amp;nbsp;would invoke the 'within' method? Been struggling with that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's on the Geometry site, but, alas no good sample &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;A class="" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/geometry.htm" style="color: #2989c5; text-decoration: none;" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/geometry.htm"&gt;Geometry—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 21:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614638#M47966</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-07-11T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy Geometry and Export Map</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614639#M47967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been a while I worked on arcPy stuff. But syntax would be something like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;withinReturn &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; Polygon_geom_object&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;SPAN&gt;Within&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Point_geom_object&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you have an option and your data is in SQL Server, I would rather use SQL for it. It's much faster and better as you can write stored procedures for your queries like Within, Contains etc &lt;A href="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geometry/stwithin-geometry-data-type"&gt;https://docs.microsoft.com/en-us/sql/t-sql/spatial-geometry/stwithin-geometry-data-type&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;withinReturn &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; Polygon_geom_object&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;STWithin&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Point_geom_object&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-geometry-and-export-map/m-p/614639#M47967</guid>
      <dc:creator>shay-geo</dc:creator>
      <dc:date>2017-07-13T16:01:23Z</dc:date>
    </item>
  </channel>
</rss>

