Extrude features based on their attributes.
Extrusion is a method of visualizing data. For example, it can be employed to demonstrate the relative population difference between US states.
- Create a
ServiceFeatureTable
from a URL. - Create a feature layer from the service feature table.
- Make sure to set the rendering mode to dynamic.
- Apply a
SimpleRenderer
to the feature layer. - Set
ExtrusionMode
of render,renderer.SceneProperties.ExtrusionMode = SceneProperties.ExtrusionMode.BaseHeight
. - Set extrusion expression of renderer,
renderer.SceneProperties.ExtrusionExpression = "[POP2007]/ 10"
.
- FeatureLayer
- FeatureLayer
- SceneProperties
- ServiceFeatureTable
3D, ExtrusionExpression, ExtrusionMode, Scene, SimpleRenderer, extrude