<?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 Accessing a layer's minimum scale by ArcObjects - numerical problem!? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-a-layer-s-minimum-scale-by-arcobjects/m-p/640702#M17237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcMap 10.0 SP 5. I have a MXD file that contains a layer. In the layer properties within ArcMap I set the visible scale range for the layer, e.g. a minimum scale of 1:501.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I access the ILayer.MinimumScale using ArcObjects, the return value is 501.4999.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know, ArcGIS stores the representative scale fraction, which should be 1/501 = 0,001996008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For 501.499 that fraction 1/501.499 would be 0,001994018.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't figure out what is the reason for these small differences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it any truncation or rounding problem? I am using UTM projection, does the UTM scale factor influence here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody experienced the same phenomenon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your answers in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Johannes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 13:11:02 GMT</pubDate>
    <dc:creator>johannesuhl</dc:creator>
    <dc:date>2014-04-30T13:11:02Z</dc:date>
    <item>
      <title>Accessing a layer's minimum scale by ArcObjects - numerical problem!?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-a-layer-s-minimum-scale-by-arcobjects/m-p/640702#M17237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcMap 10.0 SP 5. I have a MXD file that contains a layer. In the layer properties within ArcMap I set the visible scale range for the layer, e.g. a minimum scale of 1:501.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I access the ILayer.MinimumScale using ArcObjects, the return value is 501.4999.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know, ArcGIS stores the representative scale fraction, which should be 1/501 = 0,001996008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For 501.499 that fraction 1/501.499 would be 0,001994018.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't figure out what is the reason for these small differences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it any truncation or rounding problem? I am using UTM projection, does the UTM scale factor influence here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody experienced the same phenomenon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your answers in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Johannes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 13:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-a-layer-s-minimum-scale-by-arcobjects/m-p/640702#M17237</guid>
      <dc:creator>johannesuhl</dc:creator>
      <dc:date>2014-04-30T13:11:02Z</dc:date>
    </item>
  </channel>
</rss>

