<?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: PySAL scripts not running in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662823#M51504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is a library... there are not tools that I can see, you can use the functions in the package.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;A href="http://pysal.readthedocs.io/en/latest/library/cg/shapes.html" title="http://pysal.readthedocs.io/en/latest/library/cg/shapes.html"&gt;cg.shapes — Shapes — Python Spatial Analysis Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in the shapes section, for example, there are code snippets showing how to use the materials... The posted example shows you to make a line segment from two points, which consist of x,y coordinates.&amp;nbsp; From there, you can get the extents of the bounding box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt; &lt;SPAN class="o" style="font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n" style="color: #333333;"&gt;LineSegment&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="p"&gt;((&lt;/SPAN&gt;&lt;SPAN class="mi" style="color: #009999;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="mi" style="color: #009999;"&gt;2&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)),&lt;/SPAN&gt; &lt;SPAN class="n" style="color: #333333;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="p"&gt;((&lt;/SPAN&gt;&lt;SPAN class="mi" style="color: #009999;"&gt;5&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="mi" style="color: #009999;"&gt;6&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;left&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;lower&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;right&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;5.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;upper&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;6.0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 23:23:04 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-07-19T23:23:04Z</dc:date>
    <item>
      <title>PySAL scripts not running</title>
      <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662822#M51503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;BR /&gt;I recently downloaded pysal subpackages and added several of its scripts (&lt;A href="http://pysal.readthedocs.io/en/latest/library/index.html#python-spatial-analysis-library"&gt;here&lt;/A&gt;). &lt;BR /&gt;Nonetheless, I have not been able to run any of these scripts because the tools "have no parameters". &lt;BR /&gt;I am very new at this. &lt;BR /&gt;Does anyone know how should I input the parameters for these tools or where can I see the process? &lt;BR /&gt;Thanks in advance&lt;BR /&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 23:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662822#M51503</guid>
      <dc:creator>JoseCastillo</dc:creator>
      <dc:date>2016-07-19T23:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: PySAL scripts not running</title>
      <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662823#M51504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is a library... there are not tools that I can see, you can use the functions in the package.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;A href="http://pysal.readthedocs.io/en/latest/library/cg/shapes.html" title="http://pysal.readthedocs.io/en/latest/library/cg/shapes.html"&gt;cg.shapes — Shapes — Python Spatial Analysis Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in the shapes section, for example, there are code snippets showing how to use the materials... The posted example shows you to make a line segment from two points, which consist of x,y coordinates.&amp;nbsp; From there, you can get the extents of the bounding box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt; &lt;SPAN class="o" style="font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n" style="color: #333333;"&gt;LineSegment&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="p"&gt;((&lt;/SPAN&gt;&lt;SPAN class="mi" style="color: #009999;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="mi" style="color: #009999;"&gt;2&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)),&lt;/SPAN&gt; &lt;SPAN class="n" style="color: #333333;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="p"&gt;((&lt;/SPAN&gt;&lt;SPAN class="mi" style="color: #009999;"&gt;5&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="mi" style="color: #009999;"&gt;6&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;left&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;lower&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;right&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;5.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gp" style="color: #555555;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;ls&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;bounding_box&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="color: #333333;"&gt;upper&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="go" style="color: #888888;"&gt;6.0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 23:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662823#M51504</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-07-19T23:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: PySAL scripts not running</title>
      <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662824#M51505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies, as I said, I'm REALLY new at this stuff. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this PySAL &lt;A href="https://github.com/Esri/PySAL-ArcGIS-Toolbox"&gt;toolbox&lt;/A&gt; for ArcGIS and here I found some scripts and thought I could use them. &lt;BR /&gt;Currently I am struggling with doing a &lt;A href="http://pysal.readthedocs.io/en/latest/library/region/maxp.html"&gt;maxp regionalization&lt;/A&gt; but I have no idea on how to set the parameters. &lt;/P&gt;&lt;P&gt;I have a shapefile containing 2,457 counties with data on population and homicides.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 02:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662824#M51505</guid>
      <dc:creator>JoseCastillo</dc:creator>
      <dc:date>2016-07-20T02:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: PySAL scripts not running</title>
      <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662825#M51506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The lines of code are given in the examples.&lt;/P&gt;&lt;P&gt;The requirements are given in the class definition and the code examples are given in subsequent lines.&lt;/P&gt;&lt;P&gt;You have to emulate... there is no exact example to your condition, &lt;/P&gt;&lt;P&gt;Do you have a python window open?&amp;nbsp; aka a python IDE where you can enter code?&lt;/P&gt;&lt;P&gt;It may or may not have a &amp;gt;&amp;gt;&amp;gt; command prompt but will look different if you are using IPython for instance.&lt;/P&gt;&lt;P&gt;Is this still&amp;nbsp; too complex? If so, you may have to retreat to basic information on python and its use and there are tons of resources on python on the web.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 05:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662825#M51506</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-07-20T05:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: PySAL scripts not running</title>
      <link>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662826#M51507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there tutorial accordin Dr Google, for example&lt;/P&gt;&lt;P&gt;&lt;A href="http://pysal.readthedocs.io/en/v1.11.0/users/tutorials/intro.html" title="http://pysal.readthedocs.io/en/v1.11.0/users/tutorials/intro.html"&gt;Introduction to the Tutorials — Python Spatial Analysis Library&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 10:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pysal-scripts-not-running/m-p/662826#M51507</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-07-20T10:57:08Z</dc:date>
    </item>
  </channel>
</rss>

