<?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: Query Definition in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447644#M2109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you consume the Service? JavaScript/Flex or Silverlight Client?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you exporting a image for overlaying a basemap from this service? For example using it as Dynamic Service? In this case i dont think there is a solution to apply a definition query to export image for 1 Country via REST API. Because the REST API is stateless but changing a definition query would be statefull.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you only get the data from the REST API (Geometry + Attributes) you could render the data for on client side. In this case you can apply a query for only receiving the data for one country.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you could also write your own Sever Object Extension which is exported to the REST API?! Not sure about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 10:49:19 GMT</pubDate>
    <dc:creator>StefanP__Jung</dc:creator>
    <dc:date>2011-01-18T10:49:19Z</dc:date>
    <item>
      <title>Query Definition</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447643#M2108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my task: I need to generate a map service that depicts soil sample locations throughout the state. I need to show these locations to individual county officials. However, I don't want one county official viewing other counties. It would be nice to generate one serivce with the ability to mask counties. Is this possible with ArcGIS Server 9.3.1? I really don't want to create 30+ services for the entire state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 21:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447643#M2108</guid>
      <dc:creator>JeffCronce</dc:creator>
      <dc:date>2011-01-12T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Query Definition</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447644#M2109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you consume the Service? JavaScript/Flex or Silverlight Client?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you exporting a image for overlaying a basemap from this service? For example using it as Dynamic Service? In this case i dont think there is a solution to apply a definition query to export image for 1 Country via REST API. Because the REST API is stateless but changing a definition query would be statefull.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you only get the data from the REST API (Geometry + Attributes) you could render the data for on client side. In this case you can apply a query for only receiving the data for one country.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you could also write your own Sever Object Extension which is exported to the REST API?! Not sure about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 10:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447644#M2109</guid>
      <dc:creator>StefanP__Jung</dc:creator>
      <dc:date>2011-01-18T10:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query Definition</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447645#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can apply a definition query in an exportMap request. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/export.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/export.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is JSAPI sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_multiplelayerdef.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_multiplelayerdef.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 15:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-definition/m-p/447645#M2110</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-01-18T15:20:04Z</dc:date>
    </item>
  </channel>
</rss>

