<?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>Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/50011/updating-area-perimeter-length-on-oracle-spatial</link><description>Is there a way to use the Area/Perimeter and Length Update tools from the Database Operation toolbox if the data is queried from Oracle Spatial? Currently, when I try to use the tool I get the message &amp;quot;SELECT statement returned no rows&amp;quot;, and I can only</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/116720?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2010 20:31:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ca474cfd-acda-4941-b20a-9a64185cc613</guid><dc:creator>Mohammad Al Masud</dc:creator><description>&lt;p&gt;
It's good to know that its working for you now. In v8i Bentley Map automatically generates an area property for any polygon feature, and length for linear features. The properties are grayed out and not allowed for editing. If you want to select property values from a pick-list, you can create a comboBox property and push a domain list to it. 
&lt;/p&gt;
&lt;p&gt;
We also offer a rich Bentley Institute course for these sorts of tricks and tips. The course name is &amp;quot;Bentley Map Administrator&amp;quot;. 
&lt;/p&gt;
&lt;p&gt;
Thanks, &lt;br /&gt;
Mohammad&lt;br /&gt;
Sr Geo AE, Houston
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-67-20/domains.JPG" length="97362" type="image/jpeg" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/116498?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2010 00:53:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:10bf8cf0-57b5-427b-a249-fee9163a6587</guid><dc:creator>Rob Lingle</dc:creator><description>&lt;p&gt;
&lt;strong&gt;Mostly working now.&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
For some reason I assumed that it would automatically update the values after I drew the shape even though it was an &amp;quot;editing&amp;quot; initial value. I now see that if I draw and complete the shape and &lt;em&gt;then&lt;/em&gt; use the edit function to review the shape,&amp;nbsp; it will populate these values. Then I can accept the updates and post the shape.
&lt;/p&gt;
&lt;p&gt;
If I could make a feature suggestion it would be an easier way to tie a property of a feature to a geometric attribute and have it updated when the place command completes (also when an edit completes). Ideally, I would select area/perimeter/etc from a&amp;nbsp; dropdown somewhere in the property attributes. These could be greyed out in the edit dialog. We have users who are bringing in AutoCAD files and converting them to spatial features. It'll be pretty tedious if they then have to 'edit' each feature to update these attributes. 
&lt;/p&gt;
&lt;p&gt;
Thanks for the pointers, guys. 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114551?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2010 21:55:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:558f166b-e5a6-4b5b-8b78-052f68850ee4</guid><dc:creator>Rob Lingle</dc:creator><description>&lt;p&gt;
Thanks Mohammad, it's still not working for me, though. 
&lt;/p&gt;
&lt;p&gt;
I've done all my testing on existing properties, detected by the GSA during registration. Changing the return type doesn't seem to change the behavior for me.
&lt;/p&gt;
&lt;p&gt;
To rule out problems caused by customizations we might have done, I created a new project and registered a single feature with an &amp;quot;area_size&amp;quot; column. I added the edit watcher to that property/column, exported and ran without any other changes.
&lt;/p&gt;
&lt;p&gt;
I don't want to drag this out in the forum if it's something with our configuration, so I'll put in a support request. I'm creating a new schema with a small feature set to try and help the support team reproduce the problem.
&lt;/p&gt;
&lt;p&gt;
Thanks,&lt;br /&gt;
-Rob 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-45-51/edit_5F00_value.png" length="57163" type="image/png" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114397?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2010 11:13:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:27dc56b0-c0d7-40d5-94ea-ae9a73a4cc67</guid><dc:creator>Mohammad Al Masud</dc:creator><description>&lt;p&gt;
Rlingle-
&lt;/p&gt;
&lt;p&gt;
It does not matter whether the feature is oracle spatial registered or not..but for your benefit, I have added an oracle spatial registered feature in the same schema anyway, exported the schema and drew a new feature in Bentley Map... and everything worked perfectly. Please see the attached screenshot...one segment showing the string in the schema, another showing that it is oracle registered and the last showing it has populated the area field.
&lt;/p&gt;
&lt;p&gt;
Please make sure your C-expression return value type is NOT set to &amp;quot;Double&amp;quot;! Also, try with an existing property, instead of creating a new one. 
&lt;/p&gt;
&lt;p&gt;
HTH-
&lt;/p&gt;
&lt;p&gt;
Mohammad Masud&lt;br /&gt;
Sr Geo AE, Houston
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-43-97/ora_5F00_registered_5F00_edit_5F00_string.JPG" length="131433" type="image/jpeg" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114268?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 18:49:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:55e41fe1-8f9d-4be4-a65f-52a111cfb358</guid><dc:creator>Rob Lingle</dc:creator><description>&lt;p&gt;
Guessing from your screenshot, but it looks like you're using a feature that isn't a &amp;quot;Registered Oracle-Spatial Feature&amp;quot; as your example.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;I set up a test feature exactly like yours and it worked as expected. I configured one of my registered features as in the attached screenshot, and it does not update the area.
&lt;/p&gt;
&lt;p&gt;
Through testing I found that no matter what value I enter as the expression for the registered feature, it won't error- as if it's not even being evaluated. If I gave the unregistered feature an invalid expression, it populated the area with &amp;quot;Expression handler error: -1&amp;quot;.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Is there a way to make Map provide detailed logging for this?
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;update:&lt;/strong&gt; To rule out problems caused by including/omitting underscores in my feature names, I created an unregistered feature collection called&amp;nbsp; B_TEST_AREA_Collection. The area was updated properly using the cexpression ([B_TEST_AREA.Area]). Grasping at straws here, I know. :)
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-42-68/a_5F00_area.png" length="34122" type="image/png" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114203?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 08:57:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ec3fa647-6efb-4aeb-a205-8a54426ee183</guid><dc:creator>Mohammad Al Masud</dc:creator><description>&lt;p&gt;
Please Make sure, you have: 
&lt;/p&gt;
&lt;p&gt;
1) a &amp;quot;placing&amp;quot; key before &amp;quot;editing&amp;quot; (you can set an initial value if you want to, but it's not mandatory), 
&lt;/p&gt;
&lt;p&gt;
2) then, only keep the feature name in the &amp;quot;editing&amp;quot; key cexpression string and not the collection name. So, if your feature collection name is &amp;quot;A_Collection&amp;quot;, feature name is &amp;quot;A&amp;quot; and property name is &amp;quot;Area&amp;quot;, then your editing expression will be: ([A.Area]) and not ([A_Collection.Area]).
&lt;/p&gt;
&lt;p&gt;
Please find the attached screenshot to better understand how it works. 
&lt;/p&gt;
&lt;p&gt;
Thanks, 
&lt;/p&gt;
&lt;p&gt;
Mohammad Masud &lt;br /&gt;
Sr. Geo AE, Houston
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-42-03/collection_5F00_feature_5F00_string.JPG" length="38841" type="image/jpeg" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114174?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 02:56:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6ab72d21-dc53-42a4-8560-c00f1113504c</guid><dc:creator>Rob Lingle</dc:creator><description>&lt;p&gt;
Does this setup look right? I'm not having any luck with it so far. I've tried different permutations of the feature name- with and without the underscores, with and without the Collection part.
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-5924-01-00-00-11-41-74/automatic_5F00_area_5F00_updates.png" length="48859" type="image/png" /></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114163?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 01:47:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1c5b2cdd-b088-4a3a-a649-fece68778ef9</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;
It is applied in the edit process. Most placements have a create, edit and annotate sequence. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114161?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 01:40:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b360bf03-21b8-41c7-a952-0304ec0919be</guid><dc:creator>Rob Lingle</dc:creator><description>&lt;p&gt;
I'm using SelectSeries 1 (8.11.07.37). I noticed in the analyze window I have geometry_area, perimeter, and length, but these aren't stored in the database. I need them to persist so that other applications can access the information.
&lt;/p&gt;
&lt;p&gt;
In the wiki, I see:
&lt;/p&gt;
&lt;p&gt;
# Add a New Initial Value for the Property&lt;br /&gt;
# key = editing | Synch Preference = OFF | Value Type = cexpression | Value = (SEE LIST BELOW)
&lt;/p&gt;
&lt;p&gt;
Since this is an initial value for the property, is it applied when the geometry is updated or only at creation? Also, what&amp;nbsp; does &amp;quot;Synch to Preference Cache&amp;quot; refer to?
&lt;/p&gt;
&lt;p&gt;
Sounds like there's no way to make the 'database operations' tools work on Oracle Spatial databases? 
&lt;/p&gt;
&lt;p&gt;
Thanks 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Updating area/perimeter/length on Oracle Spatial</title><link>https://communities.bentley.com/thread/114140?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2010 00:38:04 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c075bd54-848a-41a4-92e5-0db6e64e97d9</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;
You can do this 2 ways.
&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Upgrade to SelectSeries 1 which will provide this automatically or &lt;/li&gt;
	&lt;li&gt;Do this thru the GSA. See the GSA tips and Techniques WIKI for this process.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Jerry
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>