<?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: Buffer Parameters in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44918#M3905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not really seeing how this is working.&amp;nbsp; I see that the Donut is being created on accident when the polygons are overlapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a donut from scratch from a user defined XY coordinate (map Click)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying to add a 10 mile buffer and then add another, say 5 miles and where they overlap will be empty space?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not really grasping this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 19:01:08 GMT</pubDate>
    <dc:creator>jaykapalczynski</dc:creator>
    <dc:date>2014-06-18T19:01:08Z</dc:date>
    <item>
      <title>Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44912#M3899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to set up Buffer Parameters to create a buffer that will start 2.5 miles out and go to 5 miles?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe something like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; params.distances = [ 2.5, 5 ];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the above selects everything in the 2.5 mile buffer...dosent seem to be working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
var params = new BufferParameters();
 params.geometries&amp;nbsp; = [ evt.mapPoint ];
 params.distances = [ 2.5 ];
 params.unit = GeometryService.UNIT_STATUTE_MILE;

BufferTool(map, params);&amp;nbsp; // Call BufferTool function and pass the Buffer Parameters

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 18:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44912#M3899</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-06-17T18:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44913#M3900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you have two options&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. create two buffers, then subtract the results of the smaller buffer from the larger&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a donut graphic, and then query with that graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recommend the latter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 19:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44913#M3900</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-17T19:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44914#M3901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been looking up how to create a donut graphic but not much luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;I do already have a graphic Buffer created at this point.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I am thinking the 1st option might be more feasible but just want to make sure that I am not going to be chewing up to much processing time...&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If I buffer the original Buffer How do I subtract the 2 buffers to get the donut buffer...any examples out there on how to subtract one buffer from another?&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44914#M3901</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-06-18T11:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44915#M3902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;not subtracting buffers, subtracting result sets. Comparing geometries of resulting features.&amp;nbsp; yuck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing would be large.&amp;nbsp; That is why I recommended the second.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44915#M3902</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-18T11:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44916#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;alright that makes sense...So I have to origiinal map click location where I create the first buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume I can use that location to derive the Donut graphic?&amp;nbsp; Not really sure how to accomplish that....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do that from the XY location of the initial map Click....I think I can get the XY of that initial map click.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did some searching and am not seeing anything on how to create a donut graphic from a map click&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time and help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44916#M3903</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-06-18T11:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44917#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is an old link where the user accidentally created a donut using bufferparameters.&amp;nbsp; might help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=303292"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=303292&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 12:02:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44917#M3904</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-18T12:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44918#M3905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not really seeing how this is working.&amp;nbsp; I see that the Donut is being created on accident when the polygons are overlapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a donut from scratch from a user defined XY coordinate (map Click)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying to add a 10 mile buffer and then add another, say 5 miles and where they overlap will be empty space?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not really grasping this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 19:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44918#M3905</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-06-18T19:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44919#M3906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Not really seeing how this is working.&amp;nbsp; I see that the Donut is being created on accident when the polygons are overlapping.&lt;BR /&gt;&lt;BR /&gt;I am trying to create a donut from scratch from a user defined XY coordinate (map Click)...&lt;BR /&gt;Are you saying to add a 10 mile buffer and then add another, say 5 miles and where they overlap will be empty space?&lt;BR /&gt;Not really grasping this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my guess is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. create a circle using an xy and a radius as a new geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. create a second circle using the same xy and the larger radius.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. combine the rings from each into a single geometry to create a donut (unsure of this step, that link should help).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. query with the new donut&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 19:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44919#M3906</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-18T19:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44920#M3907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;alright will give that a shot....thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 19:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44920#M3907</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-06-18T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44921#M3908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to create two graphic circles as such (see below) but now very very confused on how to take the next step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe do an "Erase" or something?&amp;nbsp; But dont want this to get demanding and processing heavy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var symbol22 = new SimpleFillSymbol().setColor(null).outline.setColor("blue");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gl22 = new GraphicsLayer({ id: "circles22" });

 var symbol33 = new SimpleFillSymbol().setColor(null).outline.setColor("red");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gl33 = new GraphicsLayer({ id: "circles33" });

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.map.addLayer(gl22);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.map.addLayer(gl33);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.map.on("click", function(e) {

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var radius22 = 200000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var circle22 = new Circle({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: e.mapPoint,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; radius: radius22
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic22 = new Graphic(circle22, symbol22);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gl22.add(graphic22);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var radius33 = 100000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var circle33 = new Circle({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: e.mapPoint,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; radius: radius33
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic33 = new Graphic(circle33, symbol33);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gl33.add(graphic33);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:43:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buffer-parameters/m-p/44921#M3908</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2021-12-10T21:43:49Z</dc:date>
    </item>
  </channel>
</rss>

