<?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: SQL Views and Select by Location Issues in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078505#M30697</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;, no worries. I can certainly share the data.&amp;nbsp; The data is huge.&amp;nbsp; What is the best method to ship it off?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 22:01:35 GMT</pubDate>
    <dc:creator>LoganSuhr_PSE</dc:creator>
    <dc:date>2021-07-13T22:01:35Z</dc:date>
    <item>
      <title>SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074246#M30612</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm having an issue using 'Select by Location' in Pro between a shapefile and a view created in SSMS based on census blocks.&amp;nbsp; I am successful in performing a Select by Location on the original blocks.&amp;nbsp; But when contained in a view, no luck.&amp;nbsp; I certainly feels like something I'm missing in the view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many related posts here are older and a fresh response felt like the next step.&lt;/P&gt;&lt;P&gt;Spatial References:&lt;/P&gt;&lt;TABLE width="936"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64"&gt;srs_id&lt;/TD&gt;&lt;TD width="175"&gt;x_offset&lt;/TD&gt;&lt;TD width="96"&gt;x_scale&lt;/TD&gt;&lt;TD width="89"&gt;y_offset&lt;/TD&gt;&lt;TD width="128"&gt;y_scale&lt;/TD&gt;&lt;TD width="64"&gt;z_offset&lt;/TD&gt;&lt;TD width="64"&gt;z_scale&lt;/TD&gt;&lt;TD width="64"&gt;m_offset&lt;/TD&gt;&lt;TD width="64"&gt;m_scale&lt;/TD&gt;&lt;TD width="64"&gt;organization&lt;/TD&gt;&lt;TD width="64"&gt;organization_coordsys_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1000000000&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1000000000&lt;/TD&gt;&lt;TD&gt;-100000&lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;TD&gt;-100000&lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;TD&gt;EPSG&lt;/TD&gt;&lt;TD&gt;4326&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1111948722&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1111948722&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;EPSG&lt;/TD&gt;&lt;TD&gt;4269&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1000000000&lt;/TD&gt;&lt;TD&gt;-400&lt;/TD&gt;&lt;TD&gt;1000000000&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;EPSG&lt;/TD&gt;&lt;TD&gt;4269&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spatial Tables:&lt;/P&gt;&lt;TABLE width="495"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64"&gt;table_schema&lt;/TD&gt;&lt;TD width="175"&gt;table_name&lt;/TD&gt;&lt;TD width="64"&gt;column_name&lt;/TD&gt;&lt;TD width="64"&gt;type_schema&lt;/TD&gt;&lt;TD width="64"&gt;type_name&lt;/TD&gt;&lt;TD width="64"&gt;srs_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DBO&lt;/TD&gt;&lt;TD&gt;GDB_ITEMS&lt;/TD&gt;&lt;TD&gt;SHAPE&lt;/TD&gt;&lt;TD&gt;dbo&lt;/TD&gt;&lt;TD&gt;ST_MULTIPOLYGON&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DBO&lt;/TD&gt;&lt;TD&gt;PROVIDERSUMMARY_POLY&lt;/TD&gt;&lt;TD&gt;SHAPE&lt;/TD&gt;&lt;TD&gt;dbo&lt;/TD&gt;&lt;TD&gt;ST_MULTIPOLYGON&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DBO&lt;/TD&gt;&lt;TD&gt;TL_2010_US_TABBLOCK10&lt;/TD&gt;&lt;TD&gt;SHAPE&lt;/TD&gt;&lt;TD&gt;dbo&lt;/TD&gt;&lt;TD&gt;ST_MULTIPOLYGON&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;SQL View Design&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT   
	tb.OBJECTID
	,tb.Shape
	,tb.GEOID10
	,s.NumProviders
	,s.OtherTechnologies
	,s.DSLProviders
	,s.CableModemProviders
	,s.OpticalProviders
	,s.SatProviders
	,s.FixedWirelessProviders
	,s.BBandProviders
	,s.BBandPlatforms10Down
	,s.BBandPlatforms25Down
	,s.Fixed10
	,s.Fixed100
	,s.Fixed500
	,s.Fixed1000
FROM dbo.TL_2010_US_TABBLOCK10 AS tb
INNER JOIN dbo.ProviderSummaryByBlock AS s ON tb.GEOID10 = s.BlockCode&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the view creation (done in SSMS), I then registered the view with the database via the right-click menu option in Pro's Catalog pane.&lt;/P&gt;&lt;P&gt;Pro 2.8.0&lt;/P&gt;&lt;P&gt;SQL Server 14.0.3370.1&lt;/P&gt;&lt;P&gt;AGS 10.9&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 16:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074246#M30612</guid>
      <dc:creator>LoganSuhr_PSE</dc:creator>
      <dc:date>2021-06-30T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074325#M30617</link>
      <description>&lt;P&gt;can you pls check if spatial index is created properly for TL_2010_US_TABBLOCK10 ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074325#M30617</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2021-06-30T17:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074760#M30623</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LoganSuhr_PSE_0-1625154881345.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17505iA6E9754592D1B877/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LoganSuhr_PSE_0-1625154881345.png" alt="LoganSuhr_PSE_0-1625154881345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;, looks good to me.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1074760#M30623</guid>
      <dc:creator>LoganSuhr_PSE</dc:creator>
      <dc:date>2021-07-01T15:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078435#M30693</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145486"&gt;@LoganSuhr_PSE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delayed response. Is it possible for you to share your data with me somehow? I can take a look.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 19:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078435#M30693</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2021-07-13T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078505#M30697</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;, no worries. I can certainly share the data.&amp;nbsp; The data is huge.&amp;nbsp; What is the best method to ship it off?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078505#M30697</guid>
      <dc:creator>LoganSuhr_PSE</dc:creator>
      <dc:date>2021-07-13T22:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Views and Select by Location Issues</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078506#M30698</link>
      <description>&lt;P&gt;can you reproduce this with a smaller dataset?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-views-and-select-by-location-issues/m-p/1078506#M30698</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2021-07-13T22:11:17Z</dc:date>
    </item>
  </channel>
</rss>

