<?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 Geometry Service Buffer() problem? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/geometry-service-buffer-problem/m-p/474946#M10869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe someone can help me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating a buffer from a selected point on my map. The buffer is supposed to be 5 km.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm setting up the parameters as follows...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var bufferParams:BufferParameters = new BufferParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.geometries = [selectedMapPoint];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.distances = [bufferDistance];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.unit = GeometryService.UNIT_KILOMETER;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.bufferSpatialReference = map.spatialReference;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..and then calling buffer, and drawing the result when complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works, and is fine however, when I measure it, it seems to be closer to 6.8 - 6.9 km, not 5 km.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this have something to do with the spatial reference? Can anybody point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My basemap is the ESRI world streetmap, and all of this is built within the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-- Sorry, this is a cross-post as I posted this in the Server/General forum, which I realized is probably not the place.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2011 14:00:30 GMT</pubDate>
    <dc:creator>ChrisO_Leary</dc:creator>
    <dc:date>2011-04-18T14:00:30Z</dc:date>
    <item>
      <title>Geometry Service Buffer() problem?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/geometry-service-buffer-problem/m-p/474946#M10869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe someone can help me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating a buffer from a selected point on my map. The buffer is supposed to be 5 km.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm setting up the parameters as follows...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var bufferParams:BufferParameters = new BufferParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.geometries = [selectedMapPoint];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.distances = [bufferDistance];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.unit = GeometryService.UNIT_KILOMETER;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bufferParams.bufferSpatialReference = map.spatialReference;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..and then calling buffer, and drawing the result when complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works, and is fine however, when I measure it, it seems to be closer to 6.8 - 6.9 km, not 5 km.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this have something to do with the spatial reference? Can anybody point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My basemap is the ESRI world streetmap, and all of this is built within the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-- Sorry, this is a cross-post as I posted this in the Server/General forum, which I realized is probably not the place.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 14:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/geometry-service-buffer-problem/m-p/474946#M10869</guid>
      <dc:creator>ChrisO_Leary</dc:creator>
      <dc:date>2011-04-18T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Service Buffer() problem?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/geometry-service-buffer-problem/m-p/474947#M10870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This blog explains what you are looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 16:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/geometry-service-buffer-problem/m-p/474947#M10870</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-04-18T16:54:38Z</dc:date>
    </item>
  </channel>
</rss>

