News:

When replying to a specific statement be sure to quote the previous post.

Main Menu

Importing GPS coordinates

Started by escripp99, April 11, 2022, 04:33:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

escripp99

Hi, I am new to Civil Design Studio (CDS) as well as surveying in general.  I have a set of GPS coordinates that I am trying to import into CDS. I am using the Import Points tool and importing a text file. The points are the surface of a small hill (about 8' high, by 120' x 250'). When I import them that is not what I get. It looks to me like a scaling problem as it looks like CDS is taking the Lat. Long. coordinates as feet or meters.  However, I cannot find anywhere that gives me a hint as to how to translate the Lat. Long. degrees into linear distance or get CDS to do that.  I am not even sure if I am going about this in the right way or if this is the correct tool. Any help would be greatly appreciated.  I will attempt to attach a text file of the points.
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

Torfinn

I wonder if there can be something wrong with your file, as when i import it, there is 206 point, 1 at 0 and the rest stack nearly on top of each other.
If i filter it, there show only 2, bottom and top i assume
Did also a test with a file i had and imported that one, and that come out ok.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

Quote from: escripp99 on April 11, 2022, 04:33:12 PMHi, I am new to Civil Design Studio (CDS) as well as surveying in general.  I have a set of GPS coordinates that I am trying to import into CDS. I am using the Import Points tool and importing a text file. The points are the surface of a small hill (about 8' high, by 120' x 250'). When I import them that is not what I get. It looks to me like a scaling problem as it looks like CDS is taking the Lat. Long. coordinates as feet or meters.  However, I cannot find anywhere that gives me a hint as to how to translate the Lat. Long. degrees into linear distance or get CDS to do that.  I am not even sure if I am going about this in the right way or if this is the correct tool. Any help would be greatly appreciated.  I will attempt to attach a text file of the points.

I have explored your file a bit.  In Excel, Notepad++, and a bit in TurboCAD (not Civil Design Suite; but TurboCAD Platinum has enough tools to explore with).

If you know the coordinates are to be about 8 feet in height, then, yeah, I agree, there is a good possibility they are latitude/longitude.  Perhaps originated in AutoCAD Civil 3D, Revit, or similar.

I think if you take it into Excel and create and apply some formulas, you can create a comma-delimited set of coordinates that will import into CDS as feet.

Typically, I would do this for you, for my brain exercise and practice.  Unfortunately (for me, as much as you), since I have taken on a full-time job, I won't be able to.  But give that a try.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Actually... Now that I explore it a bit more, I think maybe your coordinates are in Meters.  Maybe.

If (using Excel) I subtract the smallest Z value from the largest, I get 2.653.  If I run that through Windows' installed Conversion Calculator, meters-to-feet, I get 8.704068.

So, maybe...

Attached are some files you might be able to use.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

#4
did you check the gps section
because if your data is in latitude and longitude format, those are angles not distances.
converting them is complicated.
Can your gps save to a linear format instead?
or try this
https://mygeodata.cloud/converter/gps-to-autocad
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

escripp99

The software I am using can export to: KMZ/KML (although this file is not read by Google Earth, so this format may be broken), Shapefiles, GeoJSON, CSV, XLS/ODS, GPKG. So, the only compatibility I see to TurboCAD CDS is the CSV.

Torfinn,
Thanks for your reply. The file I am using is a TXT file, not sure what could be wrong.  I believe you are seeing what I am seeing.  If you select the points and go to properties and select point. Select circle as the type and make it as small as possible (0.00001 I believe is the smallest) then select world view, and zoom in, you see how the points are spread out. Any other view is a long narrow column.  So, it seems to me that Civil Design Suite is taking the X and Y coordinates as some sort of linear measurement and not the angles that they are.  I tried the GPS option in the Import Points tool but that did not help.

The test file that you had, what format was it? Were the points GPS coordinates (that is degrees north Latitude and degrees west longitude and altitude)? What is the difference between our two files?  How might I get my data in the same format as your data?  Thanks.

Alvin
Thanks for your replies.  The points are latitude / longitude. Are they not supposed to be?  If I change them to feet, that implies a length.  These are points, where am I measuring to and from to get feet? The altitude may be meters, but I can change to feet easily enough.  The files you attached give the same results, thanks though.

Nikki,
Thanks for the suggestion of looking into the GPS section.  I did look previously but it looked like this had gone dormant.  I will give it another look.

You mentioned that since my format is Lat/Lon angles I need to convert to distances. I did run across something called the Haversine formula.  Is this what you are referring to when you say it is complicated?  I can try this, but I do not know how accurate it will be. Can you point me to how lat/lon angles are conventionally transformed to distances? Thanks.

In general, I am not even sure I am going about this correctly.  What I would like to do is to collect GPS data of the land and make something that looks like a topo map.  Then accurately place on that map the different structures that exist.  Then when I want to add something like a shed, place that on the map get the GPS coordinates and stake those out in the field.  Is TurboCAD with CDS the right tool for this? Or should I be using something different, or at least something in addition to TurboCAD?  What do other people do?  Any help, hints, direction would be greatly appreciated.

Thanks.

TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

Alvin Gregorio

#6
Are you someplace in Kansas, US; near the Oklahoma border?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

TC 2019 Platinum can open KMZ/KML ( or at least they claim so :)
The txt file i can import as a terrain directly in to TC, but it will have the same error

With CDS i tested wit all the options, also GPS in v 2020 as i have CDS in that version
The long narrow thing is to a point that are at Z= 0

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

I'd wager that Nikki could create a Ruby
or VBA script that that would convert those Latitude/Longitude/Sea_Level values into importable X,Y,Z values, for insertion.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

#9
Quote from: Alvin Gregorio on April 12, 2022, 06:48:26 PMI'd wager that Nikki could create a Ruby
or VBA script that that would convert those Latitude/Longitude/Sea_Level values into importable X,Y,Z values, for insertion.
Quote from: Alvin Gregorio on April 12, 2022, 06:48:26 PMI'd wager that Nikki could create a Ruby
or VBA script that that would convert those Latitude/Longitude/Sea_Level values into importable X,Y,Z values, for insertion.

Ha ha no it really is complicated presuming these really are latitude and longitude coordinates. (they look like they are)
If the earth was truly round it might be easier.
 each latitude has a different length. - look at a globe and you will see the problem. (and globes are round not geoid)
IMSI used to have software for this but I couldn't find it on their website. The link I added in my first post is to an online converter. There are others you might have to do a little research on which settings to use for your area.
there is also this
https://www.earthpoint.us/convert.aspx
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

I tested the converter in the first link I provided with your text file.
It worked, but I had to change your text file a tad - as per the instruction on the link.
add attributes(headings) at the top - I used latitude and longitude and elevation - although I don't think it recognises the elevation, you may have to export the coordinates from Tc and add the elevations to the exported xy data.
Replace the spaces with commas - in notepad. and save as .csv instead of .txt.
It imported really small - so you will have to play with settings to get that right before converting.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

escripp99

Quote from: nikkipollard on April 12, 2022, 05:32:35 AMdid you check the gps section
because if your data is in latitude and longitude format, those are angles not distances.
converting them is complicated.
Can your gps save to a linear format instead?
or try this
https://mygeodata.cloud/converter/gps-to-autocad


Nikki, Thanks for your reply. What would be the file extension of a linear format?  What file formats do people who use CDS use?  Thanks

TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

nikkipollard

I don't know
I thought the converter worked but when I took a closer look it just plotted the lat and lon as xy coordinates.
I found this formula
It seems to work but I have no idea what your site is meant to look like. - It converts the points to Kilometers I think

https://gis.stackexchange.com/questions/23793/how-do-i-calculate-a-xyz-position-of-one-gps-position-relative-to-another
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

I recently helped a gentleman (fellow TurboCADer) from the UK with a (new) residential project.
One of the documents he provided me was an initial "Block Plan" (equivalent to what I am used to being termed "Site Plan").
That plan was overlaid onto some sort of Grade Plan.
That grade plan seems to have been generated by a company/service that does some sort of accurate aerial or satellite scanning and provides grade point locations and their elevations.

Perhaps similar exists in your area.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

escripp99

Thanks to all of you for your help.  I will dig into the info Nikki posted.  It seems that I may be going about this in the wrong way as I find it hard to believe that I am the only one doing this sort of thing. Thanks.
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

nikkipollard

Maybe contact Jerry. Because there are similar posts in this section. There seems to be a way but I think its a 2 step process.
https://forums.turbocad.com/index.php/topic,22598.0.html
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

It seems like it would be "simple" trigometric formulas in Excel that could create an X,Y,Z (.xyz, .csv, or .txt) file from the GPS (latitude/longitude/elevation) file that escripp is working with and provided us.
Once that is achieved, one can Import it into TurboCAD rather easily.

Two or three formulas, copied/pasted within, ought to do it.
I think even trigonometry-challenged me could do it-- if I had a couple of hours.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

#17
There is huge debate about that Alvin. Because the earth isn't truly round
I used the formula from the  link, in a spreadsheet
https://gis.stackexchange.com/questions/23793/how-do-i-calculate-a-xyz-position-of-one-gps-position-relative-to-another
 But I have no Idea if the result is right. - or even close.
The Z value seems wrong - but I think that is because they were trying to calculate distance from point to point. And as you pointed out the elevations were about 8' high - so I ignored that calculation and used the value provided. I plotted it in meters and then converted to feet. - there must be a more accurate way.
my result was
I am presuming the data provided is Longitude, Latitude, Elevation - just because latitude is between -90 and 90. I suspect that is why I got the wrong results from the gps to cad converter. 221ft * 155ft * 8.7ft .
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

I read that "debate" on the Internet the other day, while researching this topic.

But I would suppose-- hope-- that Earth is round enough at the location escripps is modeling.

Subtracting the smallest Elevation value from the largest, I come up with 2.653 meters of elevation change within the subject area.  If that is any help.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Let's say-- theoretically-- in TurboCAD, on the World Workplane, we insert a Sphere, with its radius being the mean radius of Earth at the Equator (is Earth known or believed to have a reasonably uniform radius at that section?, I don't know.)
The center of that Sphere is at World 0,0,0.

>With Workplane still being by World, we insert a Line.  It's Start Point is 0,0,0; it's End Point is:_ Length= Sphere's/Earth's radius; Angle=270°.
>Change it's Reference Point to 0,0,0.
>With the 3D Select Edit Tool active, and the Make Copy option active, we edit that Line via the Inspector Bar.  In one action-- We change it's length to the GPS value associated with the smallest latitude value; we rotate it clockwise about the Z axis, the rotation value being the smallest latitude in the GPS file*; rotate it about the X axis the value of the longitude value corresponding to that smallest latitude value.

Repeat 204 times (the quantity of rows of GPS coordinates in the file provided us).

The endpoints of all those lines would be the GPS locations and elevations.

Thinking of it like this seems to simplify it.  For me, anyway.
_____
*in Excel, we have previously Sorted the columns in unison, by Sorting the latitude Columns, ascending.  So 37.04760137° is our smallest latitude.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

Quote from: Alvin Gregorio on April 14, 2022, 05:18:52 AMLet's say-- theoretically-- in TurboCAD, on the World Workplane, we insert a Sphere, with its radius being the mean radius of Earth at the Equator (is Earth known or believed to have a reasonably uniform radius at that section?, I don't know.)
The center of that Sphere is at World 0,0,0.

>With Workplane still being by World, we insert a Line.  It's Start Point is 0,0,0; it's End Point is:_ Length= Sphere's/Earth's radius; Angle=270°.
>Change it's Reference Point to 0,0,0.
>With the 3D Select Edit Tool active, and the Make Copy option active, we edit that Line via the Inspector Bar.  In one action-- We change it's length to the GPS value associated with the smallest latitude value; we rotate it clockwise about the Z axis, the rotation value being the smallest latitude in the GPS file*; rotate it about the X axis the value of the longitude value corresponding to that smallest latitude value.

Repeat 204 times (the quantity of rows of GPS coordinates in the file provided us).

The endpoints of all those lines would be the GPS locations and elevations.

Thinking of it like this seems to simplify it.  For me, anyway.
_____
*in Excel, we have previously Sorted the columns in unison, by Sorting the latitude Columns, ascending.  So 37.04760137° is our smallest latitude.
I can plot the coordinates on the surface of a globe with the latitude and longitude as you described . Its unfolding the surface that is the brain bender for me.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

escripp99

Sorry for the absence, I had to do some travelling. I am back now. 
I believe I have an answer to my original question. In short, the answer is UTM or the Universal Transverse Mercator coordinate system.

Here is a Wiki link:

https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

This link also gives a formula to convert from Lat/Lon to UTM, not sure I want to write the code to implement this solution.  Fortunately, some of the surveying software will do this automatically.  If you don't have access to software that does this, then this website will do the conversion for you:

https://www.ngs.noaa.gov/NCAT/

This conversion tool will do single points, or it can do batch.  It also understands coordinates in SPC and XYZ.  I do not know much about these other coordinate systems, but if you need them, there they are. 
To elaborate on this a little bit.  The UTM system is a Cartesian Coordinate system. This is what TurboCAD understands.  It apparently does not understand Lat/Lon coordinates. Even though 7 of the 8 input formats of the Import Points tool are some form of decimal degrees or degrees minutes seconds. It looks to me like TurboCAD takes the Lat/Lon as cartesian coordinates which makes the scaling all wrong.  By the way, both SPC and XYZ are Cartesian coordinate systems so they should work in TurboCAD as well.
To test this, I took the same points that I uploaded originally and used the conversion tool, referenced above, to convert them to UTM.  I then brought these into TurboCAD.  The points were not all stacked up on each other like before.  Actually, it looked like the opposite problem.  It looked like there was no depth, instead of too much depth.  So, to get a better scale, I took the smallest number in each column and subtracted it out of each number in the column.  This worked better.  I will upload both of these files in CSV format.
This brings me to my last point.  Not sure if this is the right place or not.  Maybe I should start a new thread.  For now, I will place it here. What I want from TurboCAD:

1)   I would like an Import points tool that works with Lat/Lon. A tool that would convert to a format that
        TurboCAD can properly scale.

2)   I would like TurboCAD to be able to output coordinates in Lat/Lon so this I can stake out these points.

3)   I would like TurboCAD to not ask me to download Microsoft Silverlight. This is deprecated software. It just
        makes it look like no one is maintaining or developing Civil Design Studio (CDS).

https://en.wikipedia.org/wiki/Microsoft_Silverlight
https://www.digitaltrends.com/computing/what-is-microsoft-silverlight/

4)   I need to be able to place objects on the surface I created from the points I have imported.

5)   Will CDS work with TurboCAD 2022?

The work flow I am working towards is I would start out and survey the land with an accurate GPS and get a surface with a set of contours.  Then I would survey the features on the land I have surveyed. Things like where the house is, maybe a shed, driveway, leach field and things like that. Then when I wanted to add a feature, say for example some ground mounted solar panels. I could use the software to decide where to put them and export those GPS coordinates (Lat/Lon) and then stake out these coordinates.

Sorry for the long post.  I hope it helps.




TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

nikkipollard

Thanks for the reply.
To add to this
Playing with this with the opensource qgis software. It seems you need to make sure you choose the correct UTM map converter for your zone. - I wonder how much distortion you get with a map projection which is designed to span a much larger distance then you are working with?
Using Alvins' Trigonometry suggestion and the radii from wgs84 I was able to calculate the points on the ellipsoid.
Then I averaged the latititude and longitude coordinates, to find the centre of my map. (to minimise distortion and keep the drawing close to 0,0 - keep TC happy)
Rotated all the points so that The centre of the map was at x-0 y - earth radius z -0
To convert the map to 2d (no elevation until now)
Y became Z and Z the elevation. You might want to reduce the z by a fixed number so that Z was not way above 0.
I don't have a Garmin so I tested my result with coordinates from google maps.
I was surprised with the result.
Bearing in mind that extracting the coordinates from google maps is not that accurate and measuring a distance isn't very accurate either. The picture overlay was scaled not the plotted coordinates.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Very cool, both of you.

escripp-- Thanks for the clarity in your post.  Useful information.

And, as always, Thanks Nikki
___________________________________________
I wonder how accurate the results of a service from a company as shown below is.
I just discovered this type of service, while helping a UK fellow Forum member with their project; they had had this work done prior to my involvement.  Is provided a CAD file (3D and 2D, I believe) showing land, improvements, landscape, etc. location points and elevations-- precision equals two one-hundredths of a meter.

Surely there exists this type of service for Kansas US, or wherever the subject project is.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

I am sure that company would have surveyed it professionally. In my experience that is super accurate because they have professional equipment (and usually a fancy degree.)But it is nice to know that you can use a gps to get an initial survey. very useful if you are exploring feasibility of an idea. Once you have decided you can get it surveyed properly.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on April 23, 2022, 06:22:26 AMI am sure that company would have surveyed it professionally. In my experience that is super accurate because they have professional equipment (and usually a fancy degree.)But it is nice to know that you can use a gps to get an initial survey. very useful if you are exploring feasibility of an idea. Once you have decided you can get it surveyed properly.

Check out this: GIS: Aerial Imagery.

Though one had to pay for the service/feature each time they wanted to use it in a pool/landscape model, it was quite handy, useful, and accurate for initial designing and bidding.  In the construction process, we generally never improved on it past that with more accurate field survey; just dealt with the minor indiscrepancies.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

How did we cope without Google earth? I do use arial photographs all the time. (mainly to check existing roof designs or measurements I took on site which don't seem right)
With my test project I used google maps, to get coordinates. Plotted the latitude and longitude - using simple ellipse and circle geometry. Measured in google maps. measured my plotted results and then checked the surveyed boundary measurements. Considering I was initially clicking blindly on a map the results were pretty close to the plotted dimensions.
I think if you are on site clicking at the exact spot it would be fairly accurate.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

jerry.simington

Are you not seeing the attached image?

jerry.simington

Coordinate transformation has been there since day one. What import tool are you referring to>You cannot view this attachment. 

jerry.simington

You cannot view this attachment.

nikkipollard

Quote from: jerry.simington on April 30, 2022, 01:51:08 PMYou cannot view this attachment.
So it is available in the civil plugin.
That is very cool.
Out of curiosity what type of projection do you use for a very small portion of land such as this?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

escripp99

Quote from: jerry.simington on April 30, 2022, 01:49:06 PMCoordinate transformation has been there since day one. What import tool are you referring to>You cannot view this attachment. 

Jerry,

This is very interesting. It looks like you are using TurboCAD 2022, is that correct?  Are you using the Civil Design Suite (CDS) plugin with TurboCAD 2022 or is the functionality of the CDS now part of TurboCAD 2022?  That would be really great if it was part of TurboCAD 2022.

The import tool that I am using is part of CDS and TurboCAD 2019.

Civil Design Suite

This webpage says that CDS works with TurboCAD 2018 and TurboCAD 2019.  Do you not need CDS with TurboCAD 2022?

I have not figured out how to do this in TurboCAD 2021.

Thanks,
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

jerry.simington

The tool should be a part of CDS. It goes back a while. Can you show me an image of the tool you are using?

escripp99

Here is a screen shot.  I hope this helps.You cannot view this attachment.
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

jerry.simington

Ok. That is the old ImportPoints.exe and the coordinate transformation is at the bottom. Click the button under the "xxx.x" to enable it. Load a text file to use it. What I posted is call ImportPoints3.exe.

You can install Silverlight from here:
https://downloads.digitaltrends.com/microsoft-silverlight/windows?msclkid=59a38c26d06511ec9d7d697cc4316004

nikkipollard

Just out of curiosity How do you work with the levels from the gps.
As they are or
Do you have to research the geoid height for that area and then calculate from that one measurement?
Do you need a geoid height for each coordinate?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

jerry.simington

The coordinate transformations are done using a publicly available library called GEOTRANS. It is a C library has been around for decades. It is still around in different forms. One source of info is here: https://www.agc.army.mil/Media/Fact-Sheets/Fact-Sheet-Article-View/Article/480914/geotrans-geographic-translator/msclkid/geotrans-geographic-translator/

nikkipollard

#38
Thanks Jerry
I managed to find an Excel workbook with a function for a transverse mercator projection which solved the latitude and longitude to xy problem.
I was curious about the vertical  levels that the gps gives you. A little bit of research shows that the levels the gps gives are above the ellipsoid and need to be converted. I was wondering how this is done normally. The sites I have found that do this are America only
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

jerry.simington

Sorry but I don't know anything about vertical levels. I didn't know the elevation values from a GPS needed to be converted. Where is that from?

Alvin Gregorio

Quote from: jerry.simington on May 11, 2022, 08:00:02 AMSorry but I don't know anything about vertical levels. I didn't know the elevation values from a GPS needed to be converted. Where is that from?

The original post.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

Quote from: jerry.simington on May 11, 2022, 08:00:02 AMSorry but I don't know anything about vertical levels. I didn't know the elevation values from a GPS needed to be converted. Where is that from?
Maybe I am over thinking this.
It might not be that important over a small area.

https://eos-gnss.com/knowledge-base/articles/elevation-for-beginners
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on May 12, 2022, 12:06:03 AM-
Maybe I am over thinking this.
It might not be that important over a small area.

https://eos-gnss.com/knowledge-base/articles/elevation-for-beginners

Thanks for that Link Nikki.
I'm such a nerd... I read the whole thing... and understood it!  Thankfully, the author had dumbed it down.

I've long had an interest in surveying and related. I think it started when I started using CAD (TurboCAD) for architectural stuff and had to dig and research to determine and bring in Legal Property Descriptions for projects.
There's something about the base-ness of it-- the essential-ness, but basic simplicity.
______
I'm currently (past 4 weeks; 14-month project) the Construction Site Superintendent for a General Contracting firm on a local 72-unit apartment construction project.  We're just getting started.  (site is about 400-feet, square; 3.8 acres)
The other day I requested the civil-engineering/survey company to provide some survey/staking for the north and east property lines.  2 personnel came out, with their electronic equipment.  After viewing our required 30-minute Safety Orientation Training video, they went to work.  About 20 minutes later, I lost sight of them-- "where did they go?".
I left the site, to work from home (we won't place our job-trailer on site until after Grading).
  About a mile-and-a-half from the project site, "there they are...".  They were establishing datum at a known monument in the middle of a remote busy intersection!  For my simple little fence line request a mile-and-a-half away.
Just heightened my interest in the age-old, simplistic, and necessary field of surveying.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

escripp99

Quote from: jerry.simington on May 10, 2022, 06:33:24 AMOk. That is the old ImportPoints.exe and the coordinate transformation is at the bottom. Click the button under the "xxx.x" to enable it. Load a text file to use it. What I posted is call ImportPoints3.exe.

You can install Silverlight from here:
https://downloads.digitaltrends.com/microsoft-silverlight/windows?msclkid=59a38c26d06511ec9d7d697cc4316004


Jerry - Thanks for your reply.  I have clicked on the button.  It does import the file but the vertical scale is all off.

Maybe ImportPoints3.exe would work better.  Where do I get this program?

Do I really want to download Silverlight?

Thanks
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

nikkipollard

#44
Escripp , Did you take a look at the link I shared in reply #42. It explains vertical scale and how to correct measurements from a gps.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

escripp99

Nikkipollard,  Yes I did.  Thanks for that link. I have not had a chance to actually apply it to my data.  It looks like it will shift all the points, in a relatively small area, up or down by a certain correction factor.  I believe my problem is that Lat/Lon, being an angular measurement, doesn't scale in the same way as elevation which is a linear measurement. 

The link you shared is very helpful and helped to clarify some things for me, so thanks for that.
TC 2021 Platinum
TC 2019 Platinum with CDS
Windows 10

nikkipollard

#46
this is what I would try
From what I can tell the vertical measurements from a gps are metric - meters.
When you project the data using the correct projection for your area. Are you getting metric values for x(easting) and y(northing)? - or are the values imperial?
(a UTM projection is in meters)
If your projection is in feet and inches you need to scale the vertical value to match the scale of the projection
You will also need to check the units of the value you get for the geoid height in your area. Make sure you are using the same units for everything.
GEOID12B seems to give geoid heights in meters
I would change all this in a spreadsheet before trying to add it in turbocad.
A projection is used for very large areas so x,y,z values would be really far from 0,0,0. (up to 10000km for a UTM projection) Turbocad doesn't really like that - you might want to move the map.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h