<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Karen,</p>
    <p>I've done some experiments on Linux, by forcing the locale of the
      process to a locale with comma as decimal separator and I can't
      reproduce an issue. What I see in the code is that we pass the
      tolerance as a string to the binary FileGDB SDK, but there's
      clearly at least validation from it of numeric values. Although I
      can see that passing XYTOLERANCE=1.23 or 1.230 results in
      different things in the XML, so it doesn't seem that it is
      rewritten. So I'm not sure what happens. It might behave
      differently on Windows, but hard to say what happens as we don't
      have the sources. Perhaps you have a way of programmatically
      changing the locale (or equivalent concept) in your code, at least
      temporarily, to force dot as decimal separator ?</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 02/09/2021 à 22:03, Karen M via
      gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJTCXAs7SVyt0mR7e3tnvXJD8-8X45K30NKi9P0o8GONRuCXHg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I'm using the C# bindings in gdal version
          release-1900-x64-gdal-2-4-3-mapserver-7-4-2.  When the
          operating system region settings are set to regions that uses
          a comma as the decimal separator and I use
          datasource.CreateLayer() to create a new file geodatabase
          layer, the resulting feature class has XY Tolerance = 0 when I
          use the layer in ArcGIS Pro.  When I use a region that uses
          decimal points, the XY Tolerance is non-zero (which is
          correct).  </div>
        <div><br>
        </div>
        <div>I've tried using the option "XYTOLERANCE=0.000000008983153"
          in CreateLayer(), but I still get XY Tolerance = 0.  This is
          causing some editing problems in ArcGIS Pro, and I need the
          software to work with various region settings, not just ones
          that use decimal points.  Anyone have any suggestions how to
          fix this?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div><b>Karen Meinstein</b>
          <div>Product Support
            <div>
              <div>
                <div>
                  <div>
                    <div><a href="mailto:kbmeinstein@rothwellgroup.com"
                        target="_blank" moz-do-not-send="true">kbmeinstein@rothwellgroup.com</a> |
                      303-261-8107 x 15</div>
                  </div>
                  <div><br>
                  </div>
                  <div><a href="http://www.rothwellgroup.com/"
                      target="_blank" moz-do-not-send="true"><img
src="http://www.rothwellgroup.com/wp-content/uploads/RothwellColorLogoCroppedFromCompilation_72ppiResampled_183pW.jpg"
                        alt="The Rothwell Group, L.P." style="width:
                        92px; height: 27px;" moz-do-not-send="true"></a></div>
                  <div><br>
                  </div>
                  <div><a href="http://rothwellgroup.com/"
                      target="_blank"
                      style="font-family:Arial;font-size:10.6666px"
                      moz-do-not-send="true">RothwellGroup.com</a> | <a
                      href="http://paleogis.com/" target="_blank"
                      style="font-family:Arial;font-size:10.6666px"
                      moz-do-not-send="true">PaleoGIS.com</a> | <a
                      href="http://www.bizrun.com/" target="_blank"
                      style="font-family:Arial;font-size:10.6666px"
                      moz-do-not-send="true">BizRun.com</a></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>