<?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 Is there a tool or a method for writing grid shift ascii (.gsa) files? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-tool-or-a-method-for-writing-grid-shift/m-p/424636#M18853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a custom NTv2 transformation file that later on I can use to create a custom transformation for ArcGIS Pro. I have all the grid shift information in a file with the extension .grt which I can view and edit as plain text. I tried to create a grid shift ascii file (.gsa) using the information provided in my file and following the steps from the documentation and using the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool from here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/ntv2-file-routines" title="https://github.com/Esri/ntv2-file-routines"&gt;GitHub - Esri/ntv2-file-routines: Documentation for NTv2 files and a C API to access them&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that my output .gsb file doesn't contain the grid shift values that I entered in the grid shift ascii file. Instead when I convert back the file from .gsb to .gsa I get a default value (-431602080.0) for each row and column... And I think this is either because my input grid shift ascii file isn't valid or there is a bug in the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool. But probably someone would have noticed it already... and I don't think it is the case.&lt;/P&gt;&lt;P&gt;The information that I modified in the header was read and written correctly by the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool, both from .gsa to .gsb and from .gsb to .gsa. The problem is only with the shifted grid values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method or a tool for writing grid shift ascii files or do you simply edit them as normal text files and after that convert them into grid shift binary files? Is there another solution aside from the one from GitHub - Esri for creating grid shift binary files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help,&lt;/P&gt;&lt;P&gt;Andrei Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 11:13:56 GMT</pubDate>
    <dc:creator>AndreiStefan</dc:creator>
    <dc:date>2019-04-03T11:13:56Z</dc:date>
    <item>
      <title>Is there a tool or a method for writing grid shift ascii (.gsa) files?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-tool-or-a-method-for-writing-grid-shift/m-p/424636#M18853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a custom NTv2 transformation file that later on I can use to create a custom transformation for ArcGIS Pro. I have all the grid shift information in a file with the extension .grt which I can view and edit as plain text. I tried to create a grid shift ascii file (.gsa) using the information provided in my file and following the steps from the documentation and using the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool from here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/ntv2-file-routines" title="https://github.com/Esri/ntv2-file-routines"&gt;GitHub - Esri/ntv2-file-routines: Documentation for NTv2 files and a C API to access them&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that my output .gsb file doesn't contain the grid shift values that I entered in the grid shift ascii file. Instead when I convert back the file from .gsb to .gsa I get a default value (-431602080.0) for each row and column... And I think this is either because my input grid shift ascii file isn't valid or there is a bug in the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool. But probably someone would have noticed it already... and I don't think it is the case.&lt;/P&gt;&lt;P&gt;The information that I modified in the header was read and written correctly by the &lt;EM&gt;ntv2_file&lt;/EM&gt; tool, both from .gsa to .gsb and from .gsb to .gsa. The problem is only with the shifted grid values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method or a tool for writing grid shift ascii files or do you simply edit them as normal text files and after that convert them into grid shift binary files? Is there another solution aside from the one from GitHub - Esri for creating grid shift binary files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help,&lt;/P&gt;&lt;P&gt;Andrei Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-tool-or-a-method-for-writing-grid-shift/m-p/424636#M18853</guid>
      <dc:creator>AndreiStefan</dc:creator>
      <dc:date>2019-04-03T11:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a tool or a method for writing grid shift ascii (.gsa) files?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-tool-or-a-method-for-writing-grid-shift/m-p/1158475#M53350</link>
      <description>&lt;P&gt;Have you tried the -v switch on&amp;nbsp;ntv2_file on command line to validate the file?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 17:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-tool-or-a-method-for-writing-grid-shift/m-p/1158475#M53350</guid>
      <dc:creator>ÁkosHalmai</dc:creator>
      <dc:date>2022-03-28T17:11:16Z</dc:date>
    </item>
  </channel>
</rss>

