[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
MicroSurvey Software Inc. • View topic - mscad2004 tds export

mscad2004 tds export

Discussion of MicroSurvey CAD related issues and questions.

Moderators: Brian Sloman, Jason Poitras, James Johnston

mscad2004 tds export

Postby Vincent Popish » Thu Mar 04, 2004 4:30 pm

Hi:

When you write out a tds binary file from an ascii csv file the descriptions are truncated with only the first word left in the descriptions. So if the description read 3os BOC STA 1+50, all that's left after converting to a binary file is 3os. Makes field work a little harder.

I checked, the ascii file has the full description before the conversion, it is just truncated after conversion.

Thanks,
Vince Popish
Vincent Popish
 
Posts: 129
Joined: Thu Nov 14, 2002 11:24 am
Location: Grand Junction, CO

Binary file

Postby Glen Cameron » Thu Mar 04, 2004 5:16 pm

Could you try the other method and see if it does the same thing?

From inside the ADT coordinate list - write the TDS CR5 Binary file out. It does not need conversion as it is a direct write out (no ascii file created first).

Cheers,
Glen W. Cameron, C.E.T.
City of North Bay, Ontario
Glen Cameron
 
Posts: 1395
Joined: Fri Nov 08, 2002 12:18 pm
Location: Corbeil, Ontario, Canada

inside adt

Postby Vincent Popish » Fri Mar 05, 2004 11:38 am

Hi:
No, it doesn't work from inside adt either. Still looses all but the first word.
Thanks,
Vince Popish
Vincent Popish
 
Posts: 129
Joined: Thu Nov 14, 2002 11:24 am
Location: Grand Junction, CO

Odd

Postby Darcy Detlor » Fri Mar 05, 2004 2:12 pm

Hello Vince,

I checked the source code, and we are writing out the first sixteen characters of the description. There is no testing being done to look for spaces or anything else. It just writes out the first 16 characters, then appends the string with a null. The cr5 binary file format only allows for a 16 character description.

Are you quite certain that the TDS software will read a description with spaces in it?

Looking at the code, I can see no way that it could put less than 16 bytes of data into the binary cr5 file.

Let me know.
Darcy Detlor,
President,
MicroSurvey Software Inc.
darcy.detlor@microsurvey.com
User avatar
Darcy Detlor
Site Admin
 
Posts: 205
Joined: Tue Oct 29, 2002 10:14 am
Location: West Kelowna, BC

tds transfer

Postby Vincent Popish » Fri Mar 05, 2004 5:29 pm

Hi:
If I use an old tds transfer program, all of the description are included. It uses the exported ascii file from mscad to convert to a binary tds file. However, if I use the convert or the direct write tds binary file in the adt program in mscad it truncates every thing except the first word or group of leters. It's like I said earlier, if I export the description: 3os BOC sta 1+50 (which is sixteen letters) when I get to the field all that is left is 3os. Whenever the mscad program encounters the first space in a description it deletes the rest of the description.

I transfered out the ponts into an ascii and checked it, it still has all the letters of each description, then convert it using mscad, by either means, to a tds binary file and it looses the letters.

It is not a great big deal it would just be nice to use the program to make the tds binary file and use it in the field.

Thanks,
Vince Popish
Vincent Popish
 
Posts: 129
Joined: Thu Nov 14, 2002 11:24 am
Location: Grand Junction, CO

mscad2004 tds export

Postby Vincent Popish » Tue Mar 09, 2004 1:13 pm

Hi:

Am I the only one having this problem? If I am and no one else is having the problem, maybe there is something corrupt with some dll or ... who knows? What happens when you folks at Microsurvey export and import the points using tds binary format? Does it work? Let me know, please, what you find out.

Thanks,
Vince Popish
Vincent Popish
 
Posts: 129
Joined: Thu Nov 14, 2002 11:24 am
Location: Grand Junction, CO

Binary

Postby Glen Cameron » Tue Mar 09, 2004 1:56 pm

Did this happen in MSCAD2002 as well, or only in 2004?

I do not have the ability to examine the contents of a binary file after it is exported, at my office. I will have to leave this to the head office to examine.

What I was wondering is, assume the binary file is ok - is it possible that the TDS is stripping the description?

Cheers,
Glen W. Cameron, C.E.T.
City of North Bay, Ontario
Glen Cameron
 
Posts: 1395
Joined: Fri Nov 08, 2002 12:18 pm
Location: Corbeil, Ontario, Canada

tds transfer

Postby Vincent Popish » Tue Mar 09, 2004 3:28 pm

Glen:

I can use an old TDS transfer program that I have to look at the file that MSCAD2004 is creating. When mscad creates the binary file it strips all the letters after the first space off of the description. You can take notepad and look at the binary file and see that the descriptions are truncated. Just create a tds binary file with points that have spaces, open the file with notepad and it is easy to see that mscad is where the fault lies, at least on my machine.

And no it doesn't work in mscad 2002 either, same problem. I am fairly certain that at one time it did work, it is a fairly recent problem.

Thanks,
Vince Popish
Vincent Popish
 
Posts: 129
Joined: Thu Nov 14, 2002 11:24 am
Location: Grand Junction, CO

Vince is right

Postby Darcy Detlor » Tue Mar 09, 2004 3:48 pm

Hi there,

One of the reasons I got into the software business is because you learn something every day. Yes, we had a glitch in the routine and only by stepping through it was I able to spot the problem.

It is now fixed and will be appearing in a future Service Pack. We are testing the next one now and hopefully it will be out soon.

The bug has been there since the routine was originally written. Funny that it has not made the "list" before now.

Thanks,
Darcy Detlor,
President,
MicroSurvey Software Inc.
darcy.detlor@microsurvey.com
User avatar
Darcy Detlor
Site Admin
 
Posts: 205
Joined: Tue Oct 29, 2002 10:14 am
Location: West Kelowna, BC

Postby ianw2 » Tue Mar 09, 2004 6:37 pm

In your defence, Darcy, I've been using TDS data collection software for years. One of the reasons I first bought MicroSurvey was its ability to get at my TDS data better than TDS' own transfer software! I will admit that I have only ever used the text file capabilities for data in/out of my various data collectors.
Ian Wilson
Ian Wilson Land Surveying, Inc.
Temecula CA 92591
(951) 684-1044
ianw2
 
Posts: 139
Joined: Sun Nov 24, 2002 6:45 am
Location: Temecula, California


Return to MicroSurvey CAD

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest