<?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>Geometry type of view in Oracle Spatial</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/93107/geometry-type-of-view-in-oracle-spatial</link><description>Hi, 
 I&amp;#39;ve understood that Bentley Map reads the spatial index to determin the geometry type ie. point, line og polygon of a table in oracle. Now what&amp;#39;s going on with views? Belowe is two screen shots. One of the view afl_broend which is a view on the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Geometry type of view in Oracle Spatial</title><link>https://communities.bentley.com/thread/271126?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2014 06:43:38 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6a7f57a8-6982-49fa-839b-43016159a672</guid><dc:creator>MSi</dc:creator><description>&lt;p&gt;Hi Jakob,&lt;/p&gt;
&lt;p&gt;AFAIK, in addition to inserting entries into user_sdo_geom_metadata, you must also define a primary key for your views so they would appear in the list of features to be registered. Have you done anything similar to the following?&lt;/p&gt;
&lt;p&gt;alter view AFL_BROEND add primary key (YOUR_PK_COLUMN) disable;&lt;/p&gt;
&lt;p&gt;Regards, Matti&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Geometry type of view in Oracle Spatial</title><link>https://communities.bentley.com/thread/269471?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2013 19:28:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:17075091-e47e-4228-b98d-a9686481e150</guid><dc:creator>Jakob Worm</dc:creator><description>&lt;p&gt;Jeff,&lt;/p&gt;
&lt;p&gt;I was communication unclear:&lt;/p&gt;
&lt;p&gt;- afl_broend is a view of gis_drain_wells (create view afl_broend as select * from gis_drain_wells).&lt;/p&gt;
&lt;p&gt;- Yes, as the view is basicly just a renaming of the table - no where clause or joins. Other than the definition above and the index&amp;#39; layer_gtype there is no garantee.&lt;/p&gt;
&lt;p&gt;- Yes, layer_gtype is set to MULTIPOINT for the spatial index of gis_drain_wells - id actually expect it to be just &amp;quot;point&amp;quot;. Not sure why its multipoint and not point.&lt;/p&gt;
&lt;p&gt;- I use Bentley Map SS2 (standalone) v08.11.07.434&lt;/p&gt;
&lt;p&gt;- &amp;quot;Register Feature Wizard&amp;quot; only shows me tables - no views - I&amp;#39;d expect it to give me all entries from mdsys.user_sdo_geom_metadata!? Views are registered in user_sdo_geom_metadata.&lt;/p&gt;
&lt;p&gt;Regards. Jakob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Geometry type of view in Oracle Spatial</title><link>https://communities.bentley.com/thread/268992?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 23:15:37 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:08a7638c-7d0d-4401-a525-ae46fbf79834</guid><dc:creator>Jeff Bielefeld</dc:creator><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Jakob,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;A few questions.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Do both views refer to the same base table?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Is each view defined in such a way as to guarantee that all rows returned contain the same geometry type?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;For the AFL_BROEND feature class, what is the layer_gtype parameter defined for the index of&amp;nbsp;the referenced table?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;What version and edition of Bentley Map are you using?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Do you see similar behavior when you use the &amp;quot;Register Feature&amp;quot; process in the&amp;nbsp;Bentley Geospatial Administrator application to create a graphical source?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>