<?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 Spatial reference error when using arc.write in R-ArcGIS Questions</title>
    <link>https://community.esri.com/t5/r-arcgis-questions/spatial-reference-error-when-using-arc-write/m-p/796481#M119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working through the habitat suitability tutorial at &lt;A class="link-titled" href="https://learn.arcgis.com/en/projects/identify-an-ecological-niche-for-african-buffalo/" title="https://learn.arcgis.com/en/projects/identify-an-ecological-niche-for-african-buffalo/"&gt;Identify an Ecological Niche for African Buffalo | Learn ArcGIS&lt;/A&gt; . as per the instructions, I attempted to use arc.write in RStudio to export my spatial pixels data frame (for which I have assigned the spatial reference as instructed) to a file geodatabase raster by executing &lt;SPAN&gt;&lt;SPAN class="" style="color: blue;"&gt;arc.write("C:/[file path]/AfricanBuffalo.gdb/Habitat_Suitability_Raster", habitat_suitability)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get the following message: "&lt;SPAN&gt;&lt;SPAN class="" style="color: #c5060b;"&gt;Error in .call_proxy("raster.create", .self, source, as.pairlist(args)) : No spatial reference exists.&lt;/SPAN&gt;&lt;/SPAN&gt;" However, if I check the crs with crs(habitat_suitability), I receive "&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;CRS arguments: +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +no_defs", which appears to be correct. The spatial pixels data frame also looks correct when plotted in RStudio. I'm using RStudio &lt;SPAN style="color: #000000; font-family: sans-serif, serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f3f4f4; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;1.2.5001&lt;/SPAN&gt;, R 3.6.1 (64 bit), and arcgisbinding1.0.1.232.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;Any suggestions? Thanks in advance for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2019 18:59:45 GMT</pubDate>
    <dc:creator>PaulMillhouser</dc:creator>
    <dc:date>2019-10-08T18:59:45Z</dc:date>
    <item>
      <title>Spatial reference error when using arc.write</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/spatial-reference-error-when-using-arc-write/m-p/796481#M119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working through the habitat suitability tutorial at &lt;A class="link-titled" href="https://learn.arcgis.com/en/projects/identify-an-ecological-niche-for-african-buffalo/" title="https://learn.arcgis.com/en/projects/identify-an-ecological-niche-for-african-buffalo/"&gt;Identify an Ecological Niche for African Buffalo | Learn ArcGIS&lt;/A&gt; . as per the instructions, I attempted to use arc.write in RStudio to export my spatial pixels data frame (for which I have assigned the spatial reference as instructed) to a file geodatabase raster by executing &lt;SPAN&gt;&lt;SPAN class="" style="color: blue;"&gt;arc.write("C:/[file path]/AfricanBuffalo.gdb/Habitat_Suitability_Raster", habitat_suitability)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get the following message: "&lt;SPAN&gt;&lt;SPAN class="" style="color: #c5060b;"&gt;Error in .call_proxy("raster.create", .self, source, as.pairlist(args)) : No spatial reference exists.&lt;/SPAN&gt;&lt;/SPAN&gt;" However, if I check the crs with crs(habitat_suitability), I receive "&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;CRS arguments: +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +no_defs", which appears to be correct. The spatial pixels data frame also looks correct when plotted in RStudio. I'm using RStudio &lt;SPAN style="color: #000000; font-family: sans-serif, serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f3f4f4; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;1.2.5001&lt;/SPAN&gt;, R 3.6.1 (64 bit), and arcgisbinding1.0.1.232.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="" style="outline: none; border: none; word-break: break-all; margin: 0px; user-select: text; white-space: pre-wrap !important;"&gt;Any suggestions? Thanks in advance for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 18:59:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/spatial-reference-error-when-using-arc-write/m-p/796481#M119</guid>
      <dc:creator>PaulMillhouser</dc:creator>
      <dc:date>2019-10-08T18:59:45Z</dc:date>
    </item>
  </channel>
</rss>

