<?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>Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/100405/automatically-save-length-and-areas-in-spatial-db</link><description>I would like automatically calculate length and areas of my features (lines and polygons). 
 Can anyone guide me through how I can fix my feature to make it?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297754?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2014 15:27:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be5b6a70-980e-4bff-bd43-1bcf42600a4e</guid><dc:creator>Dan Weston</dc:creator><description>&lt;p&gt;Deniss, please attach the GSA Schema .xml file and we&amp;#39;ll take a look to see what might be causing the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297529?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2014 12:59:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3310f3d0-c833-463a-b433-893ed6e06066</guid><dc:creator>Deniss</dc:creator><description>&lt;p&gt;It does not work for me. I don&amp;#39;t get feature length in the database.&lt;/p&gt;
&lt;p&gt;Here are steps that I do: &lt;/p&gt;
&lt;p&gt;- &amp;nbsp;My DB table has 3 columns, id, geometry and length. &lt;/p&gt;
&lt;p&gt;- I register the feature from database.&lt;/p&gt;
&lt;p&gt;- I add Initial Value for Length text property. &lt;/p&gt;
&lt;p&gt; &amp;nbsp;Key = editing | Synch Preference = OFF | Value Type = cexpression |&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Value = [([FeatureName.Length])]&lt;/p&gt;
&lt;p&gt;- After run workspace and draw new line, can I see that a new record is created with geometry, but there are no length. &lt;/p&gt;
&lt;p&gt;What is wrong???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297445?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2014 20:03:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7a7310a4-1867-4479-97fa-3a0fb6243b6e</guid><dc:creator>Dan Weston</dc:creator><description>&lt;p&gt;Try adding this in your Feature Definition in the Geospatial Administrator:&lt;/p&gt;
&lt;p&gt;• Create a Feature -- Add Properties&lt;/p&gt;
&lt;p&gt;• Add a New Initial Value for the Property&lt;/p&gt;
&lt;p&gt;• Key = editing | Synch Preference = OFF | Value Type = cexpression |&lt;/p&gt;
&lt;p&gt;• Value = [([FeatureName.Length])]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297439?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2014 19:41:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1a1e9c05-dcfb-4b46-b856-f7f11463d6ae</guid><dc:creator>Deniss</dc:creator><description>&lt;p&gt;Thanks guys. &lt;/p&gt;
&lt;p&gt;How can I automatically write feature length into database? &lt;/p&gt;
&lt;p&gt;I have a column length in DB and want to update feature length automatically when I draw. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297260?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2014 19:33:19 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cb96b8ce-f5f7-4ba6-a3b5-feb47d4051a1</guid><dc:creator>Dan Weston</dc:creator><description>&lt;p&gt;Have a look at the Geospatial Administrator Tips on this page: &amp;nbsp;&lt;a target="_blank" href="http://communities.bentley.com/products/geospatial/desktop/w/geospatial_desktop__wiki/3346.aspx"&gt;communities.bentley.com/.../3346.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Automatically save length and areas in spatial db?</title><link>https://communities.bentley.com/thread/297256?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2014 19:30:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a6f50128-54b8-44a9-8276-d179bb23f6ec</guid><dc:creator>sebastien.cote</dc:creator><description>&lt;p&gt;You might found what you look for here, into the GSA : Tips and Tricks wiki &amp;gt; &lt;a target="_blank" href="http://communities.bentley.com/products/geospatial/desktop/w/geospatial_desktop__wiki/3346.aspx"&gt;communities.bentley.com/.../3346.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>