<?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 Using Distance Accumulation on a sphere : how to avoid projection &amp;quot;edges&amp;quot; ? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-distance-accumulation-on-a-sphere-how-to/m-p/1348207#M75061</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;(Working with ArcGIS Pro 3.1.1)&lt;/P&gt;&lt;P&gt;I try to generate Distance Accumulation rasters from various points on the globe, and I notice that distances do not "cross" the edge of the map projection. The shorter distance from Americas to Asia if not accross Pacific.&lt;/P&gt;&lt;P&gt;Any suggestion on how could I ask the tool to work with geographic systems and not projected ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;ere the parameters used :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;with arcpy.EnvManager(outputCoordinateSystem='GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'):
    out_distance_accumulation_raster = arcpy.sa.DistanceAccumulation(
        in_source_data="path_to_input",
        in_barrier_data=None,
        in_surface_raster=None,
        in_cost_raster="path_to_cost_surface",
        in_vertical_raster=None,
        vertical_factor="BINARY 1 -30 30",
        in_horizontal_raster=None,
        horizontal_factor="BINARY 1 45",
        out_back_direction_raster=None,
        out_source_direction_raster=None,
        out_source_location_raster=None,
        source_initial_accumulation=None,
        source_maximum_accumulation=None,
        source_cost_multiplier=None,
        source_direction="",
        distance_method="PLANAR"
    )
out_distance_accumulation_raster.save(r"path_to.gdb/output_name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 13:51:45 GMT</pubDate>
    <dc:creator>MartinKr</dc:creator>
    <dc:date>2023-11-10T13:51:45Z</dc:date>
    <item>
      <title>Using Distance Accumulation on a sphere : how to avoid projection "edges" ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-distance-accumulation-on-a-sphere-how-to/m-p/1348207#M75061</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;(Working with ArcGIS Pro 3.1.1)&lt;/P&gt;&lt;P&gt;I try to generate Distance Accumulation rasters from various points on the globe, and I notice that distances do not "cross" the edge of the map projection. The shorter distance from Americas to Asia if not accross Pacific.&lt;/P&gt;&lt;P&gt;Any suggestion on how could I ask the tool to work with geographic systems and not projected ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;ere the parameters used :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;with arcpy.EnvManager(outputCoordinateSystem='GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'):
    out_distance_accumulation_raster = arcpy.sa.DistanceAccumulation(
        in_source_data="path_to_input",
        in_barrier_data=None,
        in_surface_raster=None,
        in_cost_raster="path_to_cost_surface",
        in_vertical_raster=None,
        vertical_factor="BINARY 1 -30 30",
        in_horizontal_raster=None,
        horizontal_factor="BINARY 1 45",
        out_back_direction_raster=None,
        out_source_direction_raster=None,
        out_source_location_raster=None,
        source_initial_accumulation=None,
        source_maximum_accumulation=None,
        source_cost_multiplier=None,
        source_direction="",
        distance_method="PLANAR"
    )
out_distance_accumulation_raster.save(r"path_to.gdb/output_name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 13:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-distance-accumulation-on-a-sphere-how-to/m-p/1348207#M75061</guid>
      <dc:creator>MartinKr</dc:creator>
      <dc:date>2023-11-10T13:51:45Z</dc:date>
    </item>
  </channel>
</rss>

