<?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: Get Agents To Move Within a Raster Surface in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172714#M9761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ali,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you need to specify the restraint as part of the creation of the random points. If you use geoprocessing tools such as "Create Random Points" you can specify the extent in which these points should fall. Alternately you can create a feature as the boundary. The second constraint of not being able to move outside the boundary should be part of your agent modeling. I am not familiar with Agent Analyst so I don't know how you would set up the boundary there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 19:33:01 GMT</pubDate>
    <dc:creator>RobertBerger</dc:creator>
    <dc:date>2010-07-21T19:33:01Z</dc:date>
    <item>
      <title>Get Agents To Move Within a Raster Surface</title>
      <link>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172713#M9760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have crated a &lt;/SPAN&gt;&lt;STRONG&gt;Raster surface&lt;/STRONG&gt;&lt;SPAN&gt; in ArcMap using the 'Raster Creation' in 'Spatial Analyst Tools'. I also have a data layer which is consisted of a handful of cougars (agents) each of which has a random X,Y (These agents are loaded from a shape file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is that, I want to write a couple of different 'move actions' for the agents in Agent Analyst so that the agents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. are &lt;/SPAN&gt;&lt;STRONG&gt;initially placed inside the boundaries&lt;/STRONG&gt;&lt;SPAN&gt; of the raster surface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. can only move '&lt;/SPAN&gt;&lt;STRONG&gt;within the boundaries of the raster surface&lt;/STRONG&gt;&lt;SPAN&gt;'. In other words I don't want the agents to be able to go out of the surface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Currently the agents are put outside the surface.&lt;/STRONG&gt;&lt;SPAN&gt; The coordinate system of raster surface is &lt;/SPAN&gt;&lt;STRONG&gt;known&lt;/STRONG&gt;&lt;SPAN&gt;. So do I need to first set the coordinate system of the data layer (the layer the agents are in)? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can solve problem 1, the next seems to be much easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 04:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172713#M9760</guid>
      <dc:creator>alighazi</dc:creator>
      <dc:date>2010-07-21T04:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get Agents To Move Within a Raster Surface</title>
      <link>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172714#M9761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ali,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you need to specify the restraint as part of the creation of the random points. If you use geoprocessing tools such as "Create Random Points" you can specify the extent in which these points should fall. Alternately you can create a feature as the boundary. The second constraint of not being able to move outside the boundary should be part of your agent modeling. I am not familiar with Agent Analyst so I don't know how you would set up the boundary there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 19:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172714#M9761</guid>
      <dc:creator>RobertBerger</dc:creator>
      <dc:date>2010-07-21T19:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Agents To Move Within a Raster Surface</title>
      <link>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172715#M9762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually all I needed to do to initially place the agents inside my raster was to use the "Editor Toolbar" in ArcMap, and modify the agents' (points') locations by selecting them all, dragging and dropping them into the boundaries of the raster surface and saving the changes. And about keeping them inside the boundaries, you were right. I did it using the number of columns and rows of the surface and by making sure that the agent's coordinates will not exceed these values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 04:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/get-agents-to-move-within-a-raster-surface/m-p/172715#M9762</guid>
      <dc:creator>alighazi</dc:creator>
      <dc:date>2010-07-24T04:31:28Z</dc:date>
    </item>
  </channel>
</rss>

