<?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 Re: Scale dependency ignored with custom projection when using MXD service in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707231#M18180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're hoping to give the 2.0 beta a try shortly - if so I'll let you know how it goes. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jun 2010 19:18:01 GMT</pubDate>
    <dc:creator>BryanBaker</dc:creator>
    <dc:date>2010-06-02T19:18:01Z</dc:date>
    <item>
      <title>Scale dependency ignored with custom projection when using MXD service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707229#M18178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have an MXD that uses a custom projection. It has several scale-dependent layers. When we publish the &lt;/SPAN&gt;&lt;STRONG&gt;MXD&lt;/STRONG&gt;&lt;SPAN&gt; as a map service, the Silverlight (1.2) client ignores all scale dependencies and draws all layers at all scales. If we instead publish an &lt;/SPAN&gt;&lt;STRONG&gt;MSD version &lt;/STRONG&gt;&lt;SPAN&gt;of the same map, scale dependencies are observed correctly. If I load the MXD-based service into ArcMap or the default JavaScript API viewer in the Services Directory, scale dependencies are also observed. So the problem is only with the Silverlight client, and only with an MXD-based service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map request being sent from Silverlight looks like this (extra spaces added to foil the forum insistence on creating a hyperlink and cutting off the end of the URL):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;http : // localhost/ArcGIS/rest/services/MyMapService/MapServer/export?bbox=993527.256968378,1070962.9019304,1077799.96052389,1110301.46777522&amp;amp;size=500,350&amp;amp;format=png24&amp;amp;transparent=true&amp;amp;imageSR=0&amp;amp;bboxSR=0&amp;amp;f=image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove the "&amp;amp;imageSR=0" and rerun the request, scale dependencies are observed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems then there is a bug in the Silverlight client, and also the core ArcGIS Server has an inconsistency with such requests. If the spatial reference isn't available in the client, then the Silverlight client should not include the imageSR parameter. The core Server should also be adjusted to have consistent behavior, preferably to take the MSD service's approach when the wkid is zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, the map projection string in this case looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROJCS["NAD83 Albers Equal Area, Custom",GEOGCS["North_American_Datum_1983",DATUM["D_North_American_1983",SPHEROID["Geodetic_Reference_System_of_1980",6378137.0,298.2572221009113]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-86.0],PARAMETER["standard_parallel_1",41.0],PARAMETER["standard_parallel_2",31.0],PARAMETER["latitude_of_origin",25.0],UNIT["Foot_US",0.3048006096012192]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bryan Baker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS, Inc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 22:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707229#M18178</guid>
      <dc:creator>BryanBaker</dc:creator>
      <dc:date>2010-05-28T22:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Scale dependency ignored with custom projection when using MXD service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707230#M18179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;v1.2 does only support services with a WKID. Could you try this with v2.0beta ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 May 2010 20:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707230#M18179</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-05-29T20:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scale dependency ignored with custom projection when using MXD service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707231#M18180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're hoping to give the 2.0 beta a try shortly - if so I'll let you know how it goes. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 19:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/scale-dependency-ignored-with-custom-projection/m-p/707231#M18180</guid>
      <dc:creator>BryanBaker</dc:creator>
      <dc:date>2010-06-02T19:18:01Z</dc:date>
    </item>
  </channel>
</rss>

