Happy #MapInfoMonday!
This is the second article where we will look into creating 3D objects for use in the 3D map that we added to MapInfo Pro v2023.
In the first article published last week, we looked into updating all nodes on objects with the same Z values. Today, we will look at have you can update the nodes on your objects with different values.
To show this, we will create some altitude zones where one end is positioned higher than the other end. They will look like this in a normal map in MapInfo Pro. The altitude zones are the blue trapezoids at the end of each runway.
First, I have created some helplines to help me position these altitude zones a few kilometers away from the runways but still as extensions to the runways. I'll show you how to do this in a later article. It's a question of rotating and offsetting a copy of the runways.
The first thing, we need to do is to create a table that can hold the trapezoid that we are creating. Click on the New Table control on the Table tab. I'll use the runways table as a template for the altitude zones table.
In the New Table Structure dialog, make sure to check the Support M/Z option near the Projection... button.
Next, make sure you have DrawTools running and make sure the altitude zone layer is editable.
Now from the Spatial tab, click on the Isosceles Trapezoid control in the Insert dropdown. This will enable a draw tool allowing you to draw a line where you want to create the trapezoid.
When you click OK, the changed Z values will be written back to the objects in the editable layer. Also note that only the records that are referenced in the OBJECT_ID
column in the nodes table, will be updated. That's why it's important to select all the altitude zones before extracting the nodes.
The final step is to multiply the Z values on the nodes with a factor of ten to make them stand out a bit more. We use Update MZ Values from the Nodes dropdown.
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------