<?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: polyline and polygon buffer issues using geometry service in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221500#M5220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is most likely a projection issue.&amp;nbsp; If you're using web mercator, your measurements will be off.&amp;nbsp; Read through this article: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/03/05/Measuring-distances-and-areas-when-your-map-uses-the-Mercator-projection.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/03/05/Measuring-distances-and-areas-when-your-map-uses-the-Mercator-projection.aspx&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You need to reproject to a more appropriate coordinate system (depending on your location) and then do the buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 16:33:13 GMT</pubDate>
    <dc:creator>JasonLevine</dc:creator>
    <dc:date>2011-08-09T16:33:13Z</dc:date>
    <item>
      <title>polyline and polygon buffer issues using geometry service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221499#M5219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am creating buffer on point, polyline and polygon features, polyline and polygon buffer was not working as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using geometry service to create buffer around the line and polygon using the following buffer parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var bufferParameters:BufferParameters = new BufferParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.geometries = [geometry]; // geometry spatialReference is 102100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.distances = [1000]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.unit = GeometryService.UNIT_METER;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.bufferSpatialReference = new SpatialReference(102100);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.outSpatialReference =&amp;nbsp; map.spatialReference; // map spatialReference is 102100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added returned geometry to map using graphic layer and when I measured using annotation tool it was around 730 meter seems buffered geometry was not correct. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone tell me what I am doing wrong or something I am missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did anyone have these issues?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 14:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221499#M5219</guid>
      <dc:creator>NimeshMorkar</dc:creator>
      <dc:date>2011-08-09T14:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: polyline and polygon buffer issues using geometry service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221500#M5220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is most likely a projection issue.&amp;nbsp; If you're using web mercator, your measurements will be off.&amp;nbsp; Read through this article: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/03/05/Measuring-distances-and-areas-when-your-map-uses-the-Mercator-projection.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/03/05/Measuring-distances-and-areas-when-your-map-uses-the-Mercator-projection.aspx&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You need to reproject to a more appropriate coordinate system (depending on your location) and then do the buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 16:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221500#M5220</guid>
      <dc:creator>JasonLevine</dc:creator>
      <dc:date>2011-08-09T16:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: polyline and polygon buffer issues using geometry service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221501#M5221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply, we fixed the issue...We changed bufferSpatialReference to WKID - 26918&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.bufferSpatialReference = new SpatialReference(26918);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.distances = [1]; //&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParameters.unit = GeometryService.UNIT_STATUTE_MILE // this can be mile or feet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 12:32:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/polyline-and-polygon-buffer-issues-using-geometry/m-p/221501#M5221</guid>
      <dc:creator>NimeshMorkar</dc:creator>
      <dc:date>2011-08-17T12:32:33Z</dc:date>
    </item>
  </channel>
</rss>

