Robert,thanks a lot, I'll test with this.
<layer> <name>3/27/13 - reduced vegetation suppression - AA11</name> <fields> <field name="MaterialID" alias="Material ID"/> <field name="Pixel value" alias="Value"/> </fields> <links/> <zoomscale>2000</zoomscale> <forcescale>true</forcescale> </layer>
<layers onlythese="false"> <layer> <name>Landsat 7 - Northwestern U.S. - 3/27/13 - reduced vegetation suppression - AA11</name> <id>2</id> <url>http://cmerwebmap.cr.usgs.gov/ArcGIS/rest/services/Landsat7_West/MapServer</url> <fields> <field name="MaterialID" alias="Material ID"/> <field name="Value" alias="Pixel Value"/> </fields> <links/> <zoomscale>2000</zoomscale> <forcescale>true</forcescale> </layer>
<layers onlythese="false"> <layer> <name>Landsat 7 - Northwestern U.S. - 3/27/13 - reduced vegetation suppression - AA11</name> <id>2</id> <url>http://servername_10.2.1/ArcGIS/rest/services/Landsat7_West/MapServer</url> <fields> <field name="MaterialID" alias="Material ID"/> <field name="Pixel Value" alias="Pixel Value"/> </fields> <links/> <zoomscale>2000</zoomscale> <forcescale>true</forcescale> </layer>
<layer> <useproxy>true</useproxy> <name>3/27/13 - reduced vegetation supression - AA11</name> <id>2</id> <url>https://someserver/arcgis/rest/services/someservice/MapServer</url> <fields> <field name="Red" alias="Red"/> <field name="Green" alias="Green"/> <field name="Blue" alias="Blue"/> <field name="Contrast" alias="Contrast"/> <field name="Materialid" alias="Material Id"/> <field name="Count" alias="Count"/> <field name="Opacity" alias="Opacity"/> <field name="Pixel Value" alias="Pixel Value"/> <field name="OID" alias="Object Id"/> </fields> <links/> <zoomscale>2000</zoomscale> <forcescale>true</forcescale> </layer>
I am still confused as to why ArcMap Identify can read the layer name from the published service
<id>2</id>
<layer> <name>3/27/13 - reduced vegetation supression - AA11</name> <id>2</id> <url>https://www.sciencebase.gov/arcgis/rest/services/usminmap/Landsat7_West/MapServer</url> <fields> <field name="Red" alias="Red"/> <field name="Green" alias="Green"/> <field name="Blue" alias="Blue"/> <field name="Contrast" alias="Contrast"/> <field name="Materialid" alias="Material Id"/> <field name="Count" alias="Count"/> <field name="Opacity" alias="Opacity"/> <field name="Pixel Value" alias="Pixel Value"/> <field name="OID" alias="Object Id"/> </fields> <links/> <zoomscale>2000</zoomscale> <forcescale>true</forcescale> </layer>
Here is a shot of ArcMap 10.2 into which I loaded the Landsat7_West map service from the 10.2 Server. The ArcMap Identify tool results do show the layer name as expected:http://cmerwebmap.cr.usgs.gov/images/untitled.jpg
I added the layer configuration you suggested to my xml, but still the layer names will not display, so that does not appear to be a resolution to my issue*.
My web app contains about 60+ such rasters, so I sincerely hope that I don't have to manually enter all that information into the xml for each of them.
On a private Flex app on my test server, the Identify widget version is listed as 3.5.1 when I use the ALT method, even though version 3.6.2 is installed
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.