<?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 Query or Identify on a grid in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-or-identify-on-a-grid/m-p/525660#M13540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created two services. One is a MapServer, the other is an imageserver. They have the same data - which is a .tif&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried this same thing with a grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a .tif file from NASS that displays the croplands. In ArcMap, you can use the identify button and find out the color index, the crop_name, r,g,b, and opacity.&amp;nbsp; I'm just interested in the crop_name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would prefer to use the MapServer. It's located at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://arcgis.wrd.state.or.us/arcgis/rest/services/Imagery/cropland/MapServer"&gt;http://arcgis.wrd.state.or.us/arcgis/rest/services/Imagery/cropland/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It displays fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I cannot make a query or an identify work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I go to the rest service url, and try to do a query, it keeps wanting me to add other parameters. But I don't know what it wants. I've added a point and spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that there are no fields, tho I don't know why. I didn't get rid of anything in the ArcMap file that created the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Can I even use this service, or is there something else I need to do to it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* How do you do a query or an identify on it?&amp;nbsp; I just want to be able to click on the map and have it populate a textbox with what type of crop it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dorothy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 18:06:40 GMT</pubDate>
    <dc:creator>DorothyMortenson</dc:creator>
    <dc:date>2013-07-30T18:06:40Z</dc:date>
    <item>
      <title>Query or Identify on a grid</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-or-identify-on-a-grid/m-p/525660#M13540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created two services. One is a MapServer, the other is an imageserver. They have the same data - which is a .tif&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried this same thing with a grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a .tif file from NASS that displays the croplands. In ArcMap, you can use the identify button and find out the color index, the crop_name, r,g,b, and opacity.&amp;nbsp; I'm just interested in the crop_name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would prefer to use the MapServer. It's located at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://arcgis.wrd.state.or.us/arcgis/rest/services/Imagery/cropland/MapServer"&gt;http://arcgis.wrd.state.or.us/arcgis/rest/services/Imagery/cropland/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It displays fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I cannot make a query or an identify work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I go to the rest service url, and try to do a query, it keeps wanting me to add other parameters. But I don't know what it wants. I've added a point and spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that there are no fields, tho I don't know why. I didn't get rid of anything in the ArcMap file that created the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Can I even use this service, or is there something else I need to do to it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* How do you do a query or an identify on it?&amp;nbsp; I just want to be able to click on the map and have it populate a textbox with what type of crop it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dorothy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 18:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-or-identify-on-a-grid/m-p/525660#M13540</guid>
      <dc:creator>DorothyMortenson</dc:creator>
      <dc:date>2013-07-30T18:06:40Z</dc:date>
    </item>
  </channel>
</rss>

