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?
Deniss, please attach the GSA Schema .xml file and we'll take a look to see what might be causing the problem.
It does not work for me. I don't get feature length in the database.
Here are steps that I do:
- My DB table has 3 columns, id, geometry and length.
- I register the feature from database.
- I add Initial Value for Length text property.
Key = editing | Synch Preference = OFF | Value Type = cexpression |
Value = [([FeatureName.Length])]
- After run workspace and draw new line, can I see that a new record is created with geometry, but there are no length.
What is wrong???
Try adding this in your Feature Definition in the Geospatial Administrator:
• Create a Feature -- Add Properties
• Add a New Initial Value for the Property
• Key = editing | Synch Preference = OFF | Value Type = cexpression |
• Value = [([FeatureName.Length])]
Thanks guys.
How can I automatically write feature length into database?
I have a column length in DB and want to update feature length automatically when I draw.
Have a look at the Geospatial Administrator Tips on this page: communities.bentley.com/.../3346.aspx