{"id":263322,"date":"2018-10-01T14:38:24","date_gmt":"2018-10-01T21:38:24","guid":{"rendered":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=263322"},"modified":"2020-03-26T09:05:54","modified_gmt":"2020-03-26T16:05:54","slug":"scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","title":{"rendered":"Scale dependent multiple datasources for a single feature layer"},"author":5971,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[22941],"tags":[31361,241352,145432,241342],"industry":[],"product":[36571,36561],"class_list":["post-263322","blog","type-blog","status-publish","format-standard","hentry","category-mapping","tag-census","tag-data-source","tag-query-layer","tag-scale-dependent","product-arcgis-enterprise","product-arcgis-pro"],"acf":{"short_description":"A single feature layer with scale dependent datasources to create multi-level-geography map to understand an issue nationally and locally.","flexible_content":[{"acf_fc_layout":"content","content":"<p>There are sometimes when you want to have a multi-level-geography map, as seen above, where you want to visualize an attribute at national level as well as at regional or even at neighborhood level as you zoom to larger scales in order to reveal the same information in finer details. For example, the map above shows &#8216;vacant housing unit rate comparing to national average&#8217; at state level and then as you zoom in you can see the same information at county level followed by at census tracts and all the way to block-group level.<\/p>\n<p><strong>Traditional solution:<\/strong><\/p>\n<p>This might be something you have done many times before &#8211; the traditional approach to solve this problem is to use multiple layers, with mutually exclusive <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/help\/mapping\/layer-properties\/display-layers-at-certain-scales.htm\">scale visibility range<\/a>, where each layer represents one geographic\/political unit such as states, provinces, divisions, counties, districts, tracts, blocks etc. And symbolize all layers using the same symbology. If you want, you can give it a try with this <a href=\"https:\/\/arcg.is\/1P0yHS\">webmap<\/a> &#8211; when you open it, it shows 2010 population density at US state level, as you zoom in, you will see that it shows the same information at greater details &#8211; from states to counties to census tracts to block groups. Now, if you want to change symbology e.g. to symbolize them with a different color scheme, you will run into the problem that is described below.<\/p>\n<p><strong>Problem:<\/strong><\/p>\n<p>The issue that we often run into with this approach is that it requires symbology set separately for each layer to begin with. And if you need to make any change to a symbol or change break values for a class breaks symbology, you need to keep repeating the same thing for all layers. It gets even harder when you want to share as a web layer and you want your end users to modify its symbology based on their needs.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>ArcGIS Pro 2.2 introduces\u00a0<a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/help\/data\/query-layers\/define-parameters-in-a-query-layer.htm#ESRI_SECTION1_DA513455E19946BBBC3053C6263054F3\">view_scale parameter<\/a> in a query layer that allows you to vary where clause or selected fields or even table name in a SQL statement based on the current map scale. We will use that to read features from different tables based on map scale. Please note, in this case schemes for all these tables must be identical as it is the case in the webmap specified earlier.<\/p>\n<p>Steps:<\/p>\n<ul>\n<li>Download <a href=\"https:\/\/github.com\/Esri\/server-extension-dotnet\/tree\/master\/examples\/ScaleDependentDataSourcesSOI-SampleData\/USDemograhic.gdb\">USDemograhic.gdb<\/a> containing data only for states and county levels to keep it simple for this exercise.<\/li>\n<li>Open ArcGIS Pro (version 2.2 or above)<\/li>\n<li><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/help\/data\/geodatabases\/overview\/import-data.htm\">Import<\/a> <strong>states<\/strong> and <strong>counties<\/strong> FeatureClasses from this File Geodatabase to an enterprise database<br \/>\n<em>in this example, I imported them to a SQL Server database<\/em><\/li>\n<li>Insert a new map<\/li>\n<li>Choose <strong>Query Layer<\/strong> from <strong>Add Data<\/strong> drop down menu on the <strong>Map<\/strong> tab<\/li>\n<li>Choose a database connection<\/li>\n<li>Provide a <strong>Name<\/strong><\/li>\n<li>Copy\/paste following sql in the <strong>Query<\/strong> text box<br \/>\n<em>SELECT * FROM (<\/em><br \/>\n<em>\u00a0 \u00a0 SELECT 1 AS t_id, * FROM states<\/em><br \/>\n<em>\u00a0 UNION ALL<\/em><br \/>\n<em>\u00a0 \u00a0 SELECT 2 AS t_id, * FROM counties<\/em><br \/>\n<em>) x<br \/>\nWHERE x.t_id =<\/em><br \/>\n<em>\u00a0 CASE<\/em><br \/>\n<em>\u00a0 \u00a0 WHEN ::view_scale &gt; 25000000 or ::view_scale = 0 THEN 1<\/em><br \/>\n<em>\u00a0 \u00a0 ELSE 2<\/em><br \/>\n<em>\u00a0 END<\/em><\/li>\n<li>Click on the <strong>Validate<\/strong> button<\/li>\n<li>Click on the <strong>Next<\/strong> button<\/li>\n<li>Check next to OBJECTID field from\u00a0<strong>Unique Identifier Field(s)<\/strong> list<\/li>\n<li>Make sure\u00a0<strong>Geometry Type<\/strong> and\u00a0<strong>Spatial Reference<\/strong>\u00a0are auto populated.<\/li>\n<li>Click on <strong>Finish<\/strong> button<\/li>\n<li>A query layer get added<\/li>\n<li>It should draw state boundaries on the map view<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"States\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/States.png\" alt=\"Query layer showing state boundaries at a smaller scale\" width=\"343\" height=\"198\" data-name=\"image\" \/><\/li>\n<li>Zoom in beyond 1:25,000,000 scale and you will see the layer switches to county boundaries<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"counties\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/counties.png\" alt=\"Query layer showing county boundaries when zoomed in\" width=\"345\" height=\"199\" data-name=\"image\" \/><\/li>\n<li>To visualize them using different color based on whether the vacant housing unit rate is above, around or below the national average, open the layer&#8217;s <strong>Symbology<\/strong> pane<\/li>\n<li>Select\u00a0<strong>Unique Values<\/strong> from Primary Symbology drop down box<\/li>\n<li>Click on <strong>Set an expression<\/strong> button next to the\u00a0<strong>Field 1<\/strong> drop down box<\/li>\n<li>Copy\/paste the following arcade expression<br \/>\n<em>var v = ($feature.VACSALE10 \/ $feature.OWNER10) * 100<\/em><br \/>\n<em>return iif(v &lt; 2.3, -1, iif(v &gt; 2.5, 1, 0))<\/em><\/li>\n<li>Change the color scheme<\/li>\n<li>Add &#8216;<em>Below Nat&#8217;l Avg.<\/em>&#8216;, &#8216;Close to Nat&#8217;l Avg.<em>&#8216; and &#8216;Above Nat&#8217;l Avg<\/em>&#8216; respectively next to -1, 0 and 1 values in the table below<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"States_Counties_CB_Pro_border\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/States_Counties_CB_Pro_border.gif\" alt=\"Query layer, symbolized with vacant housing rate, showing more or less detail information based on map's scale\" width=\"767\" height=\"233\" data-name=\"image\" \/><\/li>\n<li>If you want to share this to others, you can connect to a portal and share this map as a <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/help\/sharing\/overview\/map-image-layer.htm\">Map Image web layer<\/a><\/li>\n<\/ul>\n"},{"acf_fc_layout":"content","content":"<p><strong>Notes:<\/strong><\/p>\n<ul>\n<li>This approach only works when tables are in an enterprise database since query layer does not support data sources such as File Geodatabase or Shapefiles etc.\n<ul>\n<li>If your data is in an unsupported data source and you still want to share a map like this to a larger audience, you can take advantage of ArcGIS Server SOI (<a href=\"http:\/\/enterprise.arcgis.com\/en\/server\/latest\/publish-services\/linux\/about-extending-services.htm#ESRI_SECTION1_22386DF3305F42D4997F6F4301F8A8D5\">server objects interceptor<\/a>). Here is <a href=\"https:\/\/github.com\/Esri\/server-extension-dotnet\/tree\/master\/examples\/ScaleDependentDataSourcesSOI\">a sample SOI<\/a> that will help to achieve it.\n<ul>\n<li>It does not work in ArcGIS Pro as SOI, as the name suggests, is only works on server.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>When data ranges between geography levels do not match, you should normalize your data e.g. divide them by another attribute or use <a href=\"https:\/\/developers.arcgis.com\/arcade\/\">arcade expression<\/a>.<\/li>\n<li>You may want to read about <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/help\/mapping\/layer-properties\/display-filters.htm\">Display Filter<\/a> if you want dynamically filtering out features off display based on map scale (just as a related topic).<\/li>\n<\/ul>\n"}],"authors":[{"ID":5971,"user_firstname":"Tanu","user_lastname":"Hoque","nickname":"Tanu Hoque","user_nicename":"mahoque","display_name":"Tanu Hoque","user_email":"ahoque@esri.com","user_url":"","user_registered":"2018-03-02 00:17:50","user_description":"Tanu is a product engineer on Esri Mapping Team focusing on map service, print service, and ArcGIS Pro. He also works on spatio-temporal analysis, spatial aggregation and real-time data. Tanu\u2019s background includes a masters in Urban Planning from University of Akron, Ohio, USA and a bachelor degree from Khulna University, Bangladesh, and worked as GIS Coordinator in City of West Springfield, and GIS Specialist in a hydrology modeling center in Bangladesh before joining Esri.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/12\/tanu-hoque2-e1609364913822-213x200.jpeg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":[{"ID":77851,"post_author":"6461","post_date":"2017-06-28 14:54:53","post_date_gmt":"2017-06-28 14:54:53","post_content":"","post_title":"2010 Census Data Now Available in the Living Atlas","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"2010-census-data-now-available-in-the-living-atlas","to_ping":"","pinged":"","post_modified":"2020-05-20 14:29:18","post_modified_gmt":"2020-05-20 21:29:18","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/2010-census-data-now-available-in-the-living-atlas\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":261312,"post_author":"5971","post_date":"2018-07-01 14:20:46","post_date_gmt":"2018-07-01 21:20:46","post_content":"","post_title":"Play back flight data using time slider and query layer in ArcGIS Pro","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"play-back-flight-data-using-time-slider-and-query-layer-in-arcgis-pro","to_ping":"","pinged":"","post_modified":"2021-11-11 15:47:17","post_modified_gmt":"2021-11-11 23:47:17","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=261312","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/ScaleDependentDataSourcePro_Card.gif","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/ScaleDependentDataSourcePro_wide.gif"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Scale dependent multiple datasources for a single feature layer<\/title>\n<meta name=\"description\" content=\"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map&#039;s current scale.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scale dependent multiple datasources for a single feature layer\" \/>\n<meta property=\"og:description\" content=\"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map&#039;s current scale.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-26T16:05:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\"},\"author\":{\"name\":\"Tanu Hoque\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/9932dde4f8a6dae58fd1b485d1ddf017\"},\"headline\":\"Scale dependent multiple datasources for a single feature layer\",\"datePublished\":\"2018-10-01T21:38:24+00:00\",\"dateModified\":\"2020-03-26T16:05:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\"},\"wordCount\":9,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"Census\",\"data source\",\"query layer\",\"scale dependent\"],\"articleSection\":[\"Mapping\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\",\"name\":\"Scale dependent multiple datasources for a single feature layer\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2018-10-01T21:38:24+00:00\",\"dateModified\":\"2020-03-26T16:05:54+00:00\",\"description\":\"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map's current scale.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scale dependent multiple datasources for a single feature layer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/9932dde4f8a6dae58fd1b485d1ddf017\",\"name\":\"Tanu Hoque\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/12\/tanu-hoque2-e1609364913822-213x200.jpeg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/12\/tanu-hoque2-e1609364913822-213x200.jpeg\",\"caption\":\"Tanu Hoque\"},\"description\":\"Tanu is a product engineer on Esri Mapping Team focusing on map service, print service, and ArcGIS Pro. He also works on spatio-temporal analysis, spatial aggregation and real-time data. Tanu\u2019s background includes a masters in Urban Planning from University of Akron, Ohio, USA and a bachelor degree from Khulna University, Bangladesh, and worked as GIS Coordinator in City of West Springfield, and GIS Specialist in a hydrology modeling center in Bangladesh before joining Esri.\",\"sameAs\":[\"https:\/\/x.com\/ArcGISPro\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/mahoque\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Scale dependent multiple datasources for a single feature layer","description":"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map's current scale.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","og_locale":"en_US","og_type":"article","og_title":"Scale dependent multiple datasources for a single feature layer","og_description":"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map's current scale.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2020-03-26T16:05:54+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography"},"author":{"name":"Tanu Hoque","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/9932dde4f8a6dae58fd1b485d1ddf017"},"headline":"Scale dependent multiple datasources for a single feature layer","datePublished":"2018-10-01T21:38:24+00:00","dateModified":"2020-03-26T16:05:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography"},"wordCount":9,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["Census","data source","query layer","scale dependent"],"articleSection":["Mapping"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography","name":"Scale dependent multiple datasources for a single feature layer","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2018-10-01T21:38:24+00:00","dateModified":"2020-03-26T16:05:54+00:00","description":"A single feature layer to map an attribute at multiple (national, regional or local) political or census subdivision level based on map's current scale.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/scale-dependent-multiple-datasources-for-a-single-feature-layer_multi-level-geography#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Scale dependent multiple datasources for a single feature layer"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/9932dde4f8a6dae58fd1b485d1ddf017","name":"Tanu Hoque","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/12\/tanu-hoque2-e1609364913822-213x200.jpeg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/12\/tanu-hoque2-e1609364913822-213x200.jpeg","caption":"Tanu Hoque"},"description":"Tanu is a product engineer on Esri Mapping Team focusing on map service, print service, and ArcGIS Pro. He also works on spatio-temporal analysis, spatial aggregation and real-time data. Tanu\u2019s background includes a masters in Urban Planning from University of Akron, Ohio, USA and a bachelor degree from Khulna University, Bangladesh, and worked as GIS Coordinator in City of West Springfield, and GIS Specialist in a hydrology modeling center in Bangladesh before joining Esri.","sameAs":["https:\/\/x.com\/ArcGISPro"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/mahoque"}]}},"text_date":"October 1, 2018","author_name":"Tanu Hoque","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/mahoque","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/10\/ScaleDependentDataSourcePro_wide.gif","primary_product":"ArcGIS Enterprise","tag_data":[{"term_id":31361,"name":"Census","slug":"census","term_group":0,"term_taxonomy_id":31361,"taxonomy":"post_tag","description":"","parent":0,"count":35,"filter":"raw"},{"term_id":241352,"name":"data source","slug":"data-source","term_group":0,"term_taxonomy_id":241352,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":145432,"name":"query layer","slug":"query-layer","term_group":0,"term_taxonomy_id":145432,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"},{"term_id":241342,"name":"scale dependent","slug":"scale-dependent","term_group":0,"term_taxonomy_id":241342,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"}],"category_data":[{"term_id":22941,"name":"Mapping","slug":"mapping","term_group":0,"term_taxonomy_id":22941,"taxonomy":"category","description":"","parent":0,"count":2739,"filter":"raw"}],"product_data":[{"term_id":36571,"name":"ArcGIS Enterprise","slug":"arcgis-enterprise","term_group":0,"term_taxonomy_id":36571,"taxonomy":"product","description":"","parent":0,"count":1008,"filter":"raw"},{"term_id":36561,"name":"ArcGIS Pro","slug":"arcgis-pro","term_group":0,"term_taxonomy_id":36561,"taxonomy":"product","description":"","parent":0,"count":2122,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-enterprise","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/263322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/5971"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=263322"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/263322\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=263322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=263322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=263322"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=263322"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=263322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}