We have already discussed the 2D entities extrusion to create 3D views in the article How to transform your data from 2D to 3D to fully exploit ArcGis Pro 1.0? 2 – With 3D layer towards class entities .
In that article we created a 3D view with ArcScene from the “building” layer of the cadastre by using the property extrusion available in the properties layer window.
We will right here perform the same operation, but with ArcGis Pro. This
will let us visualize how the 3D work integrates, without resort to another
application simultaneously (ArcMap ArcScene).
We have two vector layers:
- a plot layer, with an attribute table complete
- a buildings layer, with an attribute table succinct , containing simply an identifier
The aim is to represent the cadastre in a 3D view , with the buildings
extruded from their height according to the number of levels registered in the
plots table .
Therefore we must proceed in two steps :
- to make a spatial joint between buildings and plots to obtain a ” Number of levels ” attribute in the Buildings table
- to extrude the buildings
entities of a height proportional to the number of levels
Spatial joint with ArcGis Pro
This one is a good example of the working methods change between ArcMap and ArcGIS Pro. To make the spatial joint with ArcMap we made it through the properties of the layer -> joints -> joint according to the location . The result was a new data layer containing the joint of the two input feature classes. This typically corresponds to an operation of the geoprocessor .
With ArcGis Pro, things have been put back into order : a geoprocessing operation is performed in the geoprocessor. To perform a spatial joint , we have at our disposal the Spatial Joint tool which is , by default , part of the Geoprocessing Favorites.
The
parameter window filling up starts as in ArcMap:
Input layer, joint layer, output layer.
On the other side, it has, quite interesting, new options.
The first one is that you can define the cardinality of the operation .
In other terms , if the result of the spatial crossover must lead to an entity through
the input entity source, or if it could have more than one output entity.
To clarify, if there is building on two plots , if you leave the option " Joint one to one” you will have your building in the output layer with the attributes of the first plot found (as in ArcMap).
If you opt for the "Join one to many" option, you will have your building twice in your output layer, once with the attributes of the first plot and once with the attributes of the second plot. A JOIN_FID field, added automatically, in this case, indicates you from which plot do the attributes come from.
The other large difference is that we are no
longer limited to a layers intersection operation:
Now we have all a
listing of the spatial operators
usable in the joint operation . What was
missing in ArcMap where one had to perform this
operation through the selection according to location.
The
following figure shows the table resulting from the spatial joint :
Visualization of
the
extruded
buildings
To perform the operations in 3D, make sure that the
layer concerned is properly located in the 3DLayers
block of the Content panel. If this is not the case ,
click and move the 2D Layers block towards
3DLayers .
You will you have to get used to
finding the different commands for ArcScene Property
Control Layer in ArcGis Pro: one portion is, always, present in the properties
layer, but another
portion is accessible through
ribbon -> APPEARENCE tab
.
For
the extrusion , this is the case . Select the layer in the
content panel and then go to the APPEARENCE
ribbon tab :
In
Extrusion, open the drop-down window :
Select the option : Absolute
Height and the field containing the height
(Height)
You get the expected result: