Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Import Latitude-Longitude coordinates as points

13 REPLIES 13
SOLVED
Reply
Message 1 of 14
demus72
2815 Views, 13 Replies

Import Latitude-Longitude coordinates as points

I am certain I am beating a dead horse, I apologize.

 

I have a list of 23 latitude longitude coordinates that were collected out in the field. I am desperately trying to import them from a comma delimited txt file as points into my state plane drawing. I've set up a point file format with Coordinate zone transform checked and entered the Zone. I used Point Number, Latitude, Longitude, and full description for columns. I've loaded the txt file and parsed it, it appears to work fine.

 

In my state plane drawing, I import points from file, select my txt file, it automatically selects the point file format I created, I checked Do coordinate transformation if possible and hit ok. It creates points but nowhere near my location. Do I not need to specify a Coordinate zone transformation in the point file format? Do I not need to check Do coordinate transformation if possible? I'm sure I've tried both in my panic but just can't get them to come in in the correct location.

 

Thanks for you help.

13 REPLIES 13
Message 2 of 14
Pointdump
in reply to: demus72

N,

 

Post your text file of lats and longs. There's a few subtleties with geographic coords.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 3 of 14
demus72
in reply to: Pointdump

Attached is my txt file.

 

Thank you.

Message 4 of 14
Pointdump
in reply to: demus72

N,

 

OK, so it looks like your coordinates are in Degrees and Decimal Minutes. That degree symbol is the fly-in-the-ointment. Replace that with a comma and then set up your Point File Format thusly:


Drawing with "P_DM_DM_Desc" Point File Format attached. Don't forget to do the "transform if possible" on import.

 

GeoCoords.png

 

 


Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 5 of 14
Pointdump
in reply to: demus72

N,

 

I just noticed something. You'll want to change the Longitude Degrees to minus, otherwise you'll place those points in Mongolia.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 6 of 14
Pointdump
in reply to: demus72

N,

 

I imported your points into a Montana State Plane Coordinate System (HARN/MT.MTIF) and those GPS'ed points seem to follow the Concrete Ditch.

 

ConcDitch1.png

 

 

 

Drawing attached.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 7 of 14
demus72
in reply to: Pointdump

Dave,

 

Thank you very much! I modified my txt file and my point file format following your proven recommendations, then imported the point and JACKPOT!

 

I tried just about every combination possible but no matter what I did, I couldn't make it work.

 

Thanks again for taking the time to share your knowledge, very much appreciated!

 

Nick

Message 8 of 14
CADmgrMike
in reply to: demus72

I'm having the same issue. I need to import some Lat Long points. I created a new file format, but the first column won't parse correctly. I attached a sample csv file.

2019-04-09_1406.png

 

Mike Porter
https://provostandpritchard.com/
Message 9 of 14
Pointdump
in reply to: CADmgrMike

Mike,

Your CSV file is in UTF-8 format. In Excel, save as regular plain old CSV format. Then all is good.

CSV.png

 

CSV_2.png

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 10 of 14
Pointdump
in reply to: CADmgrMike

Mike,
Or option #2 would be to use Notepad to save as a .txt file in ANSI format:

CSV_3.png

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 11 of 14
CADmgrMike
in reply to: Pointdump

@Pointdump  Thanks. I didn't catch that.

Mike Porter
https://provostandpritchard.com/
Message 12 of 14
CADmgrMike
in reply to: Pointdump

@Pointdump , ok. I saved as txt file and got C3D to recognize the file, but the point file format still giving me the message that it doesn't match.

What am I missing? (test file attached)

2019-04-10_0921.png

Mike Porter
https://provostandpritchard.com/
Message 13 of 14
Pointdump
in reply to: CADmgrMike

Mike,

In your Point File Format use DECDEG Latitude and DECDEG Longitude. Latitude and Longitude are DD.MMSSssss format.PLLZD_1.png

 

PLLZD_2.png

 

PLLZD_3.png

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 14 of 14
CADmgrMike
in reply to: Pointdump

@Pointdump  U da man! Thanks. 🙂

Mike Porter
https://provostandpritchard.com/

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report