+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    gpinel
    Guest

    Default Inserting GPS points on ACAD2000 from a GPS reciever

    Registered forum members do not see this ad.

    I am trying to add GPS waypoints from a handheld GPS reciever to a scaled cadastre based map on AutoCAD2000.

    I have found one software package that will do it, at http://www.aztechsoft.com/gpscad.htm
    but was wondering if there are any other options out there.

    Also i found that it did not insert the points where they should be, even though the scale was correct. Moving the points to the correct location fixed this (using a few control points and moving the lot relative to these), but would prefer if they inserted in the correct positions to begin with.

  2. #2
    Administrator CADTutor's Avatar
    Computer Details
    CADTutor's Computer Details
    Operating System:
    Windows 7 Home Premium 64bit
    Motherboard:
    Asus P7P55D-E PRO
    CPU:
    Intel Core i7-860
    RAM:
    4GB PC3-12800 C8 Corsair Dominator
    Graphics:
    NVIDIA Quadro FX 1800 768 MB
    Primary Storage:
    Intel X25-M SSD 160GB
    Secondary Storage:
    Samsung Spinpoint 320GB
    Monitor:
    BenQ FP241W 24" Wide
    Discipline
    Education
    CADTutor's Discipline Details
    Occupation
    Senior Lecturer (Digital Design), Landscape Architect & Web Designer
    Discipline
    Education
    Using
    AutoCAD 2014
    Join Date
    Aug 2002
    Location
    Hampshire, UK
    Posts
    3,606

    Default

    Well, you could probably do the whole thing yourself. Since the waypoint file is just a database, you could convert this to a simple txt file and then write a LISP routine to read this file, make the conversion from Long/Lat to X,Y and then draw the points in AutoCAD but it seems quite a hassle when this software will do it all for you.

    I notice that there is an option to shift all drawn points to a user specified location using the software. I guess you must be using the free trial version. I suggest you have a bit more of a play around with it before looking for alternatives. On the face of it, it looks as though it ought to do just what you want. I don't think $325 is too much to ask for something that could be a great timesaver.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
    AutoCAD Tutorials | How to add images to your posts | How to register successfully | Forum FAQ

  3. #3
    SpeedCAD
    Guest

    Default Re: Inserting GPS points on ACAD2000 from a GPS reciever

    Quote Originally Posted by gpinel
    I am trying to add GPS waypoints from a handheld GPS reciever to a scaled cadastre based map on AutoCAD2000.

    I have found one software package that will do it, at http://www.aztechsoft.com/gpscad.htm
    but was wondering if there are any other options out there.

    Also i found that it did not insert the points where they should be, even though the scale was correct. Moving the points to the correct location fixed this (using a few control points and moving the lot relative to these), but would prefer if they inserted in the correct positions to begin with.
    Hola...

    No entiendo nada de GPS, pero si logras pasar los puntos a Excel podras graficarlos con el programa ExCoorCAD2004, entra a la siguiente pagina:

    http://speedcad.webcindario.com/excoorcad/excoorcad.htm

  4. #4
    billsta
    Guest

    Default

    just wondering, can't we just record the way points and then plot it in CAD i presume most of us draw in 1:1 scale anyway...

    but than again, wouldn't that also depends on you GPS accuracy as well??

    been ponding on this for a while, be good to guess site conditions...

  5. #5
    Super Member Mr T's Avatar
    Using
    AutoCAD 2007
    Join Date
    Nov 2002
    Location
    Loch Oich SCOTLAND...
    Posts
    1,641

    Default

    Quote Originally Posted by CADTutor
    Well, you could probably do the whole thing yourself. Since the waypoint file is just a database, you could convert this to a simple txt file and then write a LISP routine to read this file, make the conversion from Long/Lat to X,Y and then draw the points in AutoCAD but it seems quite a hassle when this software will do it all for you.
    I would post this across to Fuccaro (great chief of the LISP clan)

    Nick
    http://www.flickr.com/photos/80049703@N00/ http://mtbnick.fotopic.net/
    http://s240.photobucket.com/albums/ff241/dyNick_Scots/
    http://designgraphicsshowcase.blogspot.com/

    High School Classroom - 21 AutoCAD 2007, Inventor 11, COREL Draw & Paint 11. Very Unreliable Network.

    Home - AMD 2.1GHZ - 512Ram, 64 Video,
    Laptop Inventor 7, Autocad 2004, Corel 11

  6. #6
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    It sounds to be possible. But I have no idea about the structure of that file. Maybe you do not need lisp if you can import the coordinates in Excell. They are ways to transfer points from excell to AutoCAD and draw a polyline using that points.
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  7. #7
    gpinel
    Guest

    Default

    The file format from the GPS2CAD program comes across as a txt file and two waypoints in the file looks like this, the waypoints are just repeated to form a collection of points with a few extras attached:

    GHOME,-27.49910,152.98322,0.0,21-JUN-03 09:11,HOUSE
    RCM,-26.45748,151.97827,0.0,20-JUN-03 00:24,FLAG

    where GHOME and RCM are the names of the waypoints, the next two numbers are lattitude and longitude, then altitude (currently 0.0m), date, time and HOUSE or FLAG are the types of symbols for the points stored in the GPS reciever.

    I can get these numbers into excel, but would think they would have to be converted to UTM format (Northings and Eastings - metres rather than degrees) to plot the points in autoCAD properly. There are spreadsheets that can do this, but i guess this is all starting to get a bit complicated, isn't it?

  8. #8
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default Please confirm...

    So do you have a lot of lines like this two and we need to extract the coordinates from, right? And those coordinates must be transformed in XY coordinates and transferred on the screen for draw a polyline trough, is it correct?
    Do you have a formula to transform the coordinates returned by the GPS from lat-long format? I could find-out the way to transform them using the radius of the Earth. But I am sure that people working daily with this things can tell me the right way.
    I need to have confirmed if I understand correctly the problem because I seen GPS only on the TV. And I have problems with my English too.
    Cheers!
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  9. #9
    gpinel
    Guest

    Default

    For a great (Australian) site on GPS calculations see:

    http://www.ga.gov.au/nmd/geodesy/datums/calcs.jsp

    Especially the MS Excel spreadsheet which computes a similarity transformation (and converts between geodetic coordinates and Earth-centred Cartesian coordinates). (latitude, longitude, ellipsoidal height <-> X Y Z)
    The rest of the site is pretty informative too...

    All I am really interested in is transferring single points onto CAD, and these spreadsheets require each position be entered one at a time - time consuming and error prone!!
    I am still unsure how to transorm these points onto a CAD drawing once i have them in cartesian coordinates, any hints?
    and fuccaro - your English is perfect!

  10. #10
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    Registered forum members do not see this ad.

    Here is my attempt. I copied things I do not understand so I preserved in the lisp the names of the Excel cells to make the program easy to debug. This is not a good style but I usually work with bearings and screws not with maps and GPS devices. Gpinel (and everybody) please try the routine and send me your feedback. Thanks.
    Code:
    ; import co-ordinates from a GPS device
    ; mfuccaro@hotmail.com
    ;----------------------july 2003-------
    ;
    &#40;defun c&#58;gps&#40; / oldecho LayText LayPoint Texth file fline points i ch x1 y1 z1
    	     d9 d13 d14 d15 d16 d17 h7 h8 i7 i8&#41; 
      &#40;setq oldecho &#40;getvar "CMDECHO"&#41;&#41;
      &#40;setvar "CMDECHO" 0&#41;
      &#40;setq d9 749.671 		;* elipsoidal height
    	d13 6378160.0  		;* Semi major axis &#40;a&#41;
    	d14 298.25		;* Inverse flattening &#40;1/f&#41;
    	layText "text"		;* layer name for text
    	LayPoint "points"	;* layer name for points
    	texth 75000		;* height for text
    	file &#40;open &#40;getfiled "Find your coma delimited text file" "" "txt" 0&#41; "r"&#41;
    	fline &#40;read-line file&#41;&#41;	; FLINE = a line from the file
      &#40;while fline
        &#40;setq i 0 point nil&#41;
        &#40;repeat 3
          &#40;setq ch ""&#41;
          &#40;while &#40;/= ch ","&#41; &#40;setq i &#40;1+ i&#41; ch &#40;substr fline i 1&#41;&#41;&#41;
          &#40;setq point &#40;cons &#40;substr fline 1 &#40;1- i&#41;&#41; point&#41;
    	    fline &#40;substr fline &#40;1+ i&#41;&#41;&#41;
          &#41;
        &#40;setq point &#40;list &#40;caddr point&#41;
    		      &#40;atof &#40;car point&#41;&#41;
    		      &#40;atof &#40;cadr point&#41;&#41;&#41;
    	  fline &#40;read-line file&#41;
    	  h7 &#40;cadr point&#41;		;latitude
    	  h8 &#40;caddr point&#41;		;longitude
    	  i7 &#40;/ &#40;* h7 180.0&#41; PI&#41;
    	  i8 &#40;/ &#40;* h8 180.0&#41; PI&#41;
    	  d15 &#40;/ 1.0 d14&#41;
    	  d16 &#40;- &#40;* 2.0 d15&#41; &#40;* d15 d15&#41;&#41;
    	  d17 &#40;/ d13 &#40;sqrt &#40;- 1.0 &#40;* d16 &#40;sin i7&#41; &#40;sin i7&#41;&#41;&#41;&#41;&#41;
    	  x1 &#40;* &#40;+ d17 d9&#41; &#40;cos i7&#41; &#40;cos i8&#41;&#41;
    	  y1 &#40;* &#40;+ d17 d9&#41; &#40;cos i7&#41; &#40;sin i8&#41;&#41;
    	  z1 &#40;* &#40;+ &#40;* &#40;- 1.0 d16&#41; d17&#41; d9&#41; &#40;sin i7&#41;&#41;&#41;
    
        &#40;entmake				;writing the points name
          &#40;list
    	&#40;cons 0 "TEXT"&#41;	&#40;cons 10 &#40;list x1 y1 z1&#41;&#41;
    	&#40;cons 40 texth&#41;	&#40;cons 8 LayText&#41;
    	&#40;cons 1 &#40;car point&#41;&#41;&#41;&#41;
    
        &#40;entmake &#40;list			;creating the point
    	   &#40;cons 0 "POINT"&#41; &#40;cons 67 0&#41;
    	   &#40;cons 8 layPoint&#41; &#40;cons 10 &#40;list x1 y1 z1&#41;&#41;&#41;&#41;
        &#41;					;while fline
      &#40;close file&#41;
      &#40;command "zoom" "e"&#41;
      &#40;setvar "CMDECHO" oldecho&#41;
      &#40;princ&#41;
    &#41;
    &#40;princ "\nProgram loaded. Type GPS at the command prompt."&#41;
    &#40;princ&#41;
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts