Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

2d topo survey to 3d

0 views
Skip to first unread message

Joe Fennel

unread,
Aug 19, 2007, 6:34:01 AM8/19/07
to
Hi, I've got a 2D topographic land survey that I want to use in Civil
3D. The problem is that there are no Z coordinates on the drawing
entities - the levels are just written as TEXT entities all over the
drawing.
I thought of getting a script written that could convert each text onto
a POINT entity, but unfortunately each piece of text is not at the exact
point that it refers to - there is a cross somewhere near each text
which represents the place where the level should be.
Does anyone know if it is possible to convert this type of 2D topo
survey into an accurate 3D DXF/DWG?

Thanks, JF.

bestafor

unread,
Aug 19, 2007, 7:18:59 AM8/19/07
to
HiHo;
Yes but it will be lot's of work depending on the amount of data your
talking about.
Use this routine to extract a number from the text string, then insert a
Point at the "X" and
finally print the extracted number to the Elevation attribute.
This could be done with a lisp program that finds all "X's" , replaces them
with a Point Block
and stops for you to pick the approiate elevation.
Hope this helps...........

(defun is_numeric (c)

(or (= c ".") (wcmatch c "*[0-9]*"))
)

(defun extract_number (s)

(setq exit_flag nil)
(setq i 1)
(setq first_digit nil)

(while (and (not exit_flag) (setq c (substr s i 1)))

(if (not first_digit)
; we haven't hit the first digit
(progn
(if (is_numeric c)

(progn
(setq num_string c)
(setq first_digit T)
)
)

); progn

; we're already doing numbers

(if (is_numeric c)

(setq num_string (strcat num_string c))
(setq exit_flag T)

)

)

(setq i (1+ i))
) ; while

(atof num_string)

)

"Joe Fennel" <jf43...@hotmail.com> wrote in message
news:t0Vxi.24426$h11....@newsfe7-gui.ntli.net...

Joe Fennel

unread,
Aug 19, 2007, 7:27:41 AM8/19/07
to
Thanks, that's quite useful by yes lot's of work. Unfortunately, there
are about 200,000 level items on this drawing, so I think it would take
about a month to do it that way.
Is this a common problem for Civil3D work?

Michael Bulatovich

unread,
Aug 19, 2007, 8:59:06 AM8/19/07
to
From what I've heard, yes. In surveying, as in most things, you get what you
pay for...
--


MichaelB
www.michaelbulatovich.ca

"Joe Fennel" <jf43...@hotmail.com> wrote in message

news:NOVxi.18731$ph7....@newsfe5-win.ntli.net...

Lance

unread,
Aug 19, 2007, 5:28:27 PM8/19/07
to
Joe Fennel wrote:
> Thanks, that's quite useful by yes lot's of work. Unfortunately, there
> are about 200,000 level items on this drawing, so I think it would take
> about a month to do it that way.
> Is this a common problem for Civil3D work?

Joe, there's a software app called Topogx which does what you're looking
for. You can get it at www.topogx.com
Worked great for me on converting some old 2D surveys.

bestafor

unread,
Aug 20, 2007, 7:03:05 AM8/20/07
to
HiHo;
My, solution in the past, was to contact the Survey firm and ask for the
"XYZ Descriptor" file.

"Joe Fennel" <jf43...@hotmail.com> wrote in message

news:t0Vxi.24426$h11....@newsfe7-gui.ntli.net...

0 new messages