<?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: Filtering a map service according a value in a particular field, in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321824#M12316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Many thanks Anthony for the input,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;The destination of the map service of the UMPs is web mapping applications of municipalities. As all UMPs across the country are published in ONE map service (about 100,000 features), then Municipality A, for example, should be able to filter the entire service to obtain the UMP that corresponds to Municipality A only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35402" alt="Clip_1164.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/35402_Clip_1164.jpg" style="width: 620px; height: 295px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;How filtering the UMPs service can affect only the one added to a particular mapping application? For example, I need to filter the UMPs service to obtain the UMP for municipality A and then other municipality should be able to filter the UMPs service to obtain the UMP for municipality B and so forth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Is that possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 18:43:22 GMT</pubDate>
    <dc:creator>JamalNUMAN</dc:creator>
    <dc:date>2014-11-28T18:43:22Z</dc:date>
    <item>
      <title>Filtering a map service according a value in a particular field,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321822#M12314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Filtering a map service according a value in a particular field,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;I have a layer that contains all Urban Master Plans (UMPs) for all municipalities across the country. This layer is published as a map service. Now, how can a municipality stick only its UMP in its web mapping application by filtering the map service according to a value in the “ZoneCommunityName” field?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Clip_1160.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/35277_Clip_1160.jpg" style="width: 620px; height: 484px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_1161.jpg" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/35278_Clip_1161.jpg" style="width: 620px; height: 484px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Best&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Jamal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321822#M12314</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-11-28T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a map service according a value in a particular field,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321823#M12315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not mention what your are trying to put the layer into, but mapserivces support queries (like using a definition query in arcmap). See the help here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Map_Service_Layer/02r3000000p1000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Map_Service_Layer/02r3000000p1000000/"&gt;ArcGIS REST API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/1/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=SUB_REGION%3D%27Mtn%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=*&amp;amp;f=html" title="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/1/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=SUB_REGION%3D%27Mtn%27&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=*&amp;amp;f=html"&gt;Query states&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if your are wanting to do this in arcmap you have to add the layer as a feature service not a map service. On a feature service you can set up a normal definition query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 16:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321823#M12315</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-11-28T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a map service according a value in a particular field,</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321824#M12316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Many thanks Anthony for the input,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;The destination of the map service of the UMPs is web mapping applications of municipalities. As all UMPs across the country are published in ONE map service (about 100,000 features), then Municipality A, for example, should be able to filter the entire service to obtain the UMP that corresponds to Municipality A only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35402" alt="Clip_1164.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/35402_Clip_1164.jpg" style="width: 620px; height: 295px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;How filtering the UMPs service can affect only the one added to a particular mapping application? For example, I need to filter the UMPs service to obtain the UMP for municipality A and then other municipality should be able to filter the UMPs service to obtain the UMP for municipality B and so forth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt;"&gt;Is that possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 18:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/filtering-a-map-service-according-a-value-in-a/m-p/321824#M12316</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-11-28T18:43:22Z</dc:date>
    </item>
  </channel>
</rss>

