<?xml version="1.0" ?> <configuration> <betareturngeometryfix>false</betareturngeometryfix> <identifylayeroption>visible</identifylayeroption> <identifytolerance>5</identifytolerance> <defaultzoomscale>5000</defaultzoomscale> <keepidentifyactive>true</keepidentifyactive> <returngeometryforzoom>true</returngeometryforzoom> <enablelineselect>true</enablelineselect> <enableextentselect>true</enableextentselect> <enablepolyselect>true</enablepolyselect> <enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo> <enablemouseoverrecordinfo>false</enablemouseoverrecordinfo> <usemaptime>false</usemaptime> <infoautoclosemilliseconds>2000</infoautoclosemilliseconds> <autoactivatedtool>mappoint</autoactivatedtool> <excludebasemaps>false</excludebasemaps> <disablepopuplinks>true</disablepopuplinks> <labels> <zoom2message>Click to Zoom to Point</zoom2message> <identifylabel>Identify</identifylabel> <resultslabel>Results</resultslabel> <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel> <pointlabel>Identify by Point</pointlabel> <linelabel>Identify by Polyline</linelabel> <rectlabel>Identify by Rectangle</rectlabel> <polylabel>Identify by Polygon</polylabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> <removeresultmessage>Remove Result</removeresultmessage> <idfrom>Identify From</idfrom> <noresultsfoundlabel>No Results Found</noresultsfoundlabel> <resultsfoundlabel>Results Found</resultsfoundlabel> </labels> <useproxy /> <layers onlythese="true"> <layer> <name>kerneldensity</name> <fields> <field alias="Height" name="pixel value" numberformat="2|,|." /> </fields> <links> <link includeinresults="false" field="" alias="" tooltip=""> <linkprefix /> <linksuffix /> <iconfield /> <iconprefix /> <iconsuffix /> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> </layers> <symbols> <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid"> <outline color="0x448ccb" alpha="0.8" width="2" /> </simplefillsymbol> <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0xffffff" alpha="0.8" width="1" /> </simplemarkersymbol> <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0x448ccb" alpha="0.8" width="2" /> </symbols> </configuration>
Nadeem,
In your other post two other members tried thier hardest to exmplain what you needed to do for this.The only thing that they did not do was write the configuration file for you so I guess that is what I will have to do.<?xml version="1.0" ?> <configuration> <betareturngeometryfix>false</betareturngeometryfix> <identifylayeroption>visible</identifylayeroption> <identifytolerance>5</identifytolerance> <defaultzoomscale>5000</defaultzoomscale> <keepidentifyactive>true</keepidentifyactive> <returngeometryforzoom>true</returngeometryforzoom> <enablelineselect>true</enablelineselect> <enableextentselect>true</enableextentselect> <enablepolyselect>true</enablepolyselect> <enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo> <enablemouseoverrecordinfo>false</enablemouseoverrecordinfo> <usemaptime>false</usemaptime> <infoautoclosemilliseconds>2000</infoautoclosemilliseconds> <autoactivatedtool>mappoint</autoactivatedtool> <excludebasemaps>false</excludebasemaps> <disablepopuplinks>true</disablepopuplinks> <labels> <zoom2message>Click to Zoom to Point</zoom2message> <identifylabel>Identify</identifylabel> <resultslabel>Results</resultslabel> <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel> <pointlabel>Identify by Point</pointlabel> <linelabel>Identify by Polyline</linelabel> <rectlabel>Identify by Rectangle</rectlabel> <polylabel>Identify by Polygon</polylabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> <removeresultmessage>Remove Result</removeresultmessage> <idfrom>Identify From</idfrom> <noresultsfoundlabel>No Results Found</noresultsfoundlabel> <resultsfoundlabel>Results Found</resultsfoundlabel> </labels> <useproxy /> <layers onlythese="true"> <layer> <name>kerneldensity</name> <fields> <field alias="Height" name="Pixel Value" numberformat="2|,|." /> </fields> <links> <link includeinresults="false" field="" alias="" tooltip=""> <linkprefix /> <linksuffix /> <iconfield /> <iconprefix /> <iconsuffix /> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> </layers> <symbols> <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid"> <outline color="0x448ccb" alpha="0.8" width="2" /> </simplefillsymbol> <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0xffffff" alpha="0.8" width="1" /> </simplemarkersymbol> <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0x448ccb" alpha="0.8" width="2" /> </symbols> </configuration>
Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:
Nadeem,
Hmm... Well if your raster layers name in your Rest Service directory is kerneldensity then there is no reason that EXACTLY what I posted should not work then. Maybe you could copy all the text from your REST Service Directory page for the raster layer so that I can take a look. Am I correct in assuming that this service is not publicly accessible?
<layers onlythese="true">
<layer>
<name>kerneldensity</name>
<fields>
<field alias="Height" name="stretched value" numberformat="2|,|." />
</fields>
<links>
<link includeinresults="false" field="" alias="" tooltip="">
<linkprefix />
<linksuffix />
<iconfield />
<iconprefix />
<iconsuffix />
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>
Nadeem,
Mave you tried to use "stretched value" as the field name then?<layers onlythese="true"> <layer> <name>kerneldensity</name> <fields> <field alias="Height" name="stretched value" numberformat="2|,|." /> </fields> <links> <link includeinresults="false" field="" alias="" tooltip=""> <linkprefix /> <linksuffix /> <iconfield /> <iconprefix /> <iconsuffix /> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> </layers>
thnaks for your help. but it did not work as well. I am pasting the config may be i have done some thing wrong please have a look.
<configuration>
<betareturngeometryfix>false</betareturngeometryfix>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>true</enablelineselect>
<enableextentselect>true</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds>
<autoactivatedtool>mappoint</autoactivatedtool>
<excludebasemaps>false</excludebasemaps>
<disablepopuplinks>true</disablepopuplinks>
<labels>
<zoom2message>Click to Zoom to Point</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel>Identify by Polyline</linelabel>
<rectlabel>Identify by Rectangle</rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loadingfam...</loadinglabel>
<removeresultmessage>Remove Result</removeresultmessage>
<idfrom>Identify From</idfrom>
<noresultsfoundlabel>No Results Foundhc</noresultsfoundlabel>
<resultsfoundlabel>Results Found</resultsfoundlabel>
</labels>
<layers onlythese="true">
<layer>
<name>kerneldensity</name>
<fields>
<field alias="Height" name="Stretched value" numberformat="2|,|." />
</fields>
</layer>
</layers>
<symbols>
<simplefillsymbol color="0x448ccb" alpha="0.4" style="solid">
<outline color="0x448ccb" alpha="0.8" width="2"/>
</simplefillsymbol>
<simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0">
<outline style="solid" color="0xffffff" alpha="0.8" width="1"/>
</simplemarkersymbol>
<picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0"/>
<simplelinesymbol color="0x448ccb" alpha="0.8" width="2"/>
</symbols>
</configuration>