<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/77289/map-ss3-and-sql-spatial-query-returns-0-features</link><description>I am trying to query SQL spatial data in Bentley Map SS3. I can connect to the database fine and see my features lists. When I zoom into an area and query the features, it always returns &amp;quot;Query Complete (0 features in x.xx seconds)&amp;quot;. However, in map manager</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210754?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2012 21:41:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0ce1bdf3-83cd-4b9d-8b48-0634ec248b44</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;Is there a primary key on the table ? If so, can you send me a backup of that table, and I can take a look at it.&lt;/p&gt;
&lt;p&gt;jerry.walter@bentley.com&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210751?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2012 21:21:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0b2c5815-1eb4-42e5-b247-151c5961ea2a</guid><dc:creator>Jeremy Gould</dc:creator><description>&lt;p&gt;Yes, this is a ESRI feature class, but only one I created for testing. &amp;nbsp;With that said, it does have a spatial index. &amp;nbsp;I have deleted it and recreated the index in both ArcCatalog and in SQL server, but still no luck. &amp;nbsp;Here is what the spatial index looks like.&lt;/p&gt;
&lt;p&gt;CREATE SPATIAL INDEX [S78_idx] ON [dbo].[BMLAKES] &lt;/p&gt;
&lt;p&gt;(&lt;/p&gt;
&lt;p&gt;	[Shape]&lt;/p&gt;
&lt;p&gt;)USING &amp;nbsp;GEOMETRY_GRID &lt;/p&gt;
&lt;p&gt;WITH (&lt;/p&gt;
&lt;p&gt;BOUNDING_BOX =(3810176.005626, 3345390.7158, 5932580.555428, 4287413.021384), GRIDS =(LEVEL_1 = MEDIUM,LEVEL_2 = MEDIUM,LEVEL_3 = MEDIUM,LEVEL_4 = MEDIUM), &lt;/p&gt;
&lt;p&gt;CELLS_PER_OBJECT = 16, PAD_INDEX &amp;nbsp;= OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ALLOW_ROW_LOCKS &amp;nbsp;= ON, ALLOW_PAGE_LOCKS &amp;nbsp;= ON) ON [PRIMARY]&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210712?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2012 17:41:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:af655377-9f14-4774-8f4c-00544f675d95</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;Most generally, when the view retrieval is not working, it means that the spatial index has not been set on the table , in the database. Try setting a spatial index on &amp;nbsp;the tables. If this is functioning ESRI feature sets, then you need to proceed with caution, and make sure adding the spatial indexes does not mess with the ESRI users.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210711?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2012 17:32:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:49479e0c-1460-49a1-b422-8d1c2e53b522</guid><dc:creator>Jeremy Gould</dc:creator><description>&lt;p&gt;It is somewhat working today. &amp;nbsp;Friday I installed BM SS3 and was having the subjected trouble. &amp;nbsp;Over the weekend my machine was rebooted and it appears to be working better today. &amp;nbsp;The reboot is the only difference I know of. &amp;nbsp;Anyhow, it only works when I switch the spatial filter to &amp;quot;All&amp;quot; (I had tried the &amp;quot;All&amp;quot; several times Friday as well).&lt;/p&gt;
&lt;p&gt;So why is the spatial filter of &amp;quot;View&amp;quot; not working? &amp;nbsp;It took nearly 5 minutes to load all roads. &amp;nbsp;which is understandable, but would have taken just seconds if the spatial filter for &amp;quot;View&amp;quot; was working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210641?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2012 05:59:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2ef7620f-9eed-4260-8b7c-225450e94f46</guid><dc:creator>Jeff Bielefeld</dc:creator><description>&lt;p&gt;Jeremy,&lt;/p&gt;
&lt;p&gt;When you apply an attribute filter of some type and use the &amp;quot;All&amp;quot; spatial filter (as opposed to &amp;quot;View&amp;quot;), are the expected feature instances returned? Would you be able to provide us with a Microsoft SQL Server .bak file containing some of your data for analysis? If so, please contact me offline after using &lt;a href="http://communities.bentley.com/help/w/be_communities_help/bentley-ftp-site-tn.aspx" target="_blank"&gt;these&lt;/a&gt; FTP posting instructions. Please include a copy of your seed design file as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Map SS3 and SQL Spatial Query returns 0 features</title><link>https://communities.bentley.com/thread/210627?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2012 00:10:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4190a3e4-f031-4a05-bb9d-8f512b3e3676</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;Jeremy;&lt;/p&gt;
&lt;p&gt;Can you provide the exact steps in this process starting with making the direct connection to the SQL server datasource from within Bentley Map.&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>