Change the z of Contour Lines?

Status
Not open for further replies.

IMAGE

Usenet Archive
Joined
Aug 13, 2001
Messages
29
Reaction score
0
Hello group.

Another question regarding contour lines.
I have a dgn of contour lines from a topographic map.
It was digitized in 2D by one of our clients. We need to transform this into 3D to make a DTM. Aside from Intergraph's Terrain Analyst & Contour Processing Facility, are there any other MDL out there which will do the conversion?

Also I need to change the color of individual contour lines based on their elevation (Z) value. Every index contour - red, intermediate - green, supplementary - grey. Any similar MDL?

Thanks...
 
The Eagle Point Surface Modeling application provides a feature that can automate the task of assigning elevations to 2D linestrings and currently works in conjunction with MicroStation 95, SE, and J (assuming your DGN file has been converted to a 3D format). The command is called "Change Contour Elevation" and a brief description of the command states "Quickly raise 2-D contour objects to their correct elevations by setting a beginning elevation and contour interval, and striking a line through the desired lines." I invite you to look at http://www.eaglepoint.com/civil/surfacemodel/features.htm#3D for additional details. I'm not aware of an automated colorization routine.
 
(IMAGE) wrote:
Hello group.

Another question regarding contour lines.
I have a dgn of contour lines from a topographic map.
It was digitized in 2D by one of our clients. We need to transform this into 3D to make a DTM. Aside from Intergraph's Terrain Analyst & Contour Processing Facility, are there any other MDL out there which will do the conversion?

Also I need to change the color of individual contour lines based on their elevation (Z) value. Every index contour - red, intermediate - ...

I think civtools.ma mentioned in other threads has a set elevation tool built in. You have to enter the elevation and then identify the contour lines to move to that elevation. To change the symbology of the contours you could change to a right side view to select the alternating bands of contours.
 
just export it to 3D from the file menu.
2D files can have 3D elevations set on elements and when exported to 3D ..... whoosh they all go sky high

Remember IGDS was a mappers tool, GIS is part of the core of the I G. D. S. format P. S. this was typed partially by speaking , the wonders of Microsoft !

B)
I hope this helps!

"Road Guy" wrote:

(IMAGE) wrote:
...
> Hello group.
>
> Another question regarding contour lines.
> I have a dgn of contour lines from a topographic map.
> It was digitized in 2D by one of our clients. We need to transform
> this into
> 3D to make a DTM. Aside from Intergraph's Terrain Analyst & Contour
> Processing Facility, are there any other MDL out there which will do
> the conversion?
>
> Also I need to change the color of individual contour lines based on
> their elevation (Z) value. Every index contour - red, intermediate - ...
 
What's a supplementary contour?

For setting colors of th index and intermediate contours, try the following. It goes very quickly, trust me.

Change all of the contours to the intermediate color.
Step 1 - In a top view, place a fence around the entire map. Figure out the lowest Index contour value. Let's assume it was 105. Step 2 - key in DP=104.5,105.5 and then, when prompted select the view. All contours not at elevation 105 should disappear. Step 3 - Use the fence change color tool to change the color of the visible contours. Step 4 - Key in dd=5,5 (assuming the index interval is 5. Datapoint in the view. You should mow see only the contours at elevation 110. repeat steps 3 & 4 until you reach the upper limit of the contours.

(IMAGE) wrote:
Hello group.

Another question regarding contour lines.
I have a dgn of contour lines from a topographic map.
It was digitized in 2D by one of our clients. We need to transform this into 3D to make a DTM. Aside from Intergraph's Terrain Analyst & Contour Processing Facility, are there any other MDL out there which will do the conversion?

Also I need to change the color of individual contour lines based on their elevation (Z) value. Every index contour - red, intermediate - ...
 
I have been doing something similar, but a little while ago, with the help of one clever programmer from ADS (Hi Dave:), was able to create a macro to make it a little quicker, on large files at least.

It's a little rudimentary and you need to remember a few steps, but it does work. I have pasted the source file below for those who may wish to try it. Perhaps someone with a little more programming knowledge than mine can enhance it. Add a few dialogue boxes perhaps? Would'nt mind a copy if someone does do something with it :)

STEP 1 - In Ustation, select the "change element attributes" tool and set the element attributes to the colour that you wish the contours to be. Make sure that the "use fence" option is ticked.

STEP 2 - Place a fence around the set of contours that you wish to change. Probably the whole lot in most cases.

STEP 3 - Edit the macro, as shown below. the "startRL" should be the Z value of the first contour u want to change. "stopRL" the value of the last contour and Interval speaks for itself.

STEP 4 - Run the macro

STEP 5 - Stand back and wonder in awe :)

Sub main
Dim startPoint As MbePoint
Dim point As MbePoint, point2 As MbePoint
Dim startRL as double, dplow as double, dphigh as double Dim stopRL as double, rl as double, interval as double startRL = 5 stopRl = 50 interval = 5.0 for rl = startRL to stopRl step interval dplow = rl - 0.1 dphigh = rl + 0.1

' Send a keyin that can be a command string

MbeSendKeyin "dp="+str$(dplow)+","+str$(dphigh)

' Coordinates are in master units
startPoint.x = 94840979.262290#
startPoint.y = 860442132.680769#
startPoint.z = 548.990000#

' Send a data point to the current command
point.x = startPoint.x
point.y = startPoint.y
point.z = startPoint.z
MbeSendDataPoint point, 1%

' Start a command
MbeSendCommand "change icon"

point.x = startPoint.x - 115.250000#
point.y = startPoint.y + 239.170000#
point.z = startPoint.z + 28.410000#
MbeSendDataPoint point, 1%
next rl
End Sub
 
Status
Not open for further replies.

Latest threads

Back
Top