andyf
Weekend Golfer

Posts: 76
TGCT Name: andyfox21
Tour: CC-Pro
|
Post by andyf on Nov 11, 2019 10:49:41 GMT -5
What course are you looking at designing and I'll have a look tonight and see what I can find out for you
Andy
|
|
andyf
Weekend Golfer

Posts: 76
TGCT Name: andyfox21
Tour: CC-Pro
|
Post by andyf on Nov 11, 2019 15:10:15 GMT -5
Pat, Can you not get the LIDAR point cloud data from the DEFRA website and just use that? I've not had a problem using LAZ files before. If not then you'll need to convert the LAZ to LAS to be able to classify it. You should be able to do that using the laszip.exe file from the laszip.org website. Then you should be all OK to automatically classify the data in ArcGis Andy Thanks guys, I might be able to but I just can’t seem to find out how to classify the data on ArcGIS, I’ve watched tutorials but I don’t seem to have certain toolboxes or in some cases it’s just not relevant. Really frustrating as I’ve got 18 days left and had hoped to use the free trial to classify about 8 stunning courses. If anyone can help guide me to classify the data I would be very very grateful! For the Oxfordshire (which I know you're looking at) it's not a case of the LIDAR being unclassified, it's just not there in the download from the DEFRA website. I've got it all converted to las files and imported into ArcGIS but the particular tiles for the course are not there and when I've looked back through the downloaded files those particular bits are missing. All a bit strange. I guess you could try to email or call DEFRA and see if they have them. Andy
|
|
andyf
Weekend Golfer

Posts: 76
TGCT Name: andyfox21
Tour: CC-Pro
|
Post by andyf on Nov 11, 2019 15:32:07 GMT -5
On the DEFRA website if you turn on the layers and click on the LIDAR point cloud catalogues and then highlight each individual layer underneath that tab you will see the areas of the UK that haven't been surveyed and therefore don't have data available at all. There is a map I put together on this thread tgctours.proboards.com/thread/18490/extent-uk-lidar-coverage that shows what's available Andy
|
|
|
Post by paddyjk19 on Nov 11, 2019 16:13:00 GMT -5
Thanks Andy, really appreciate it. Maybe the course has withheld the data? There’s a national programme going at the moment so hopefully it’ll get done again this winter!
|
|
|
Post by justinr on Dec 9, 2019 5:16:23 GMT -5
Hi Chad Newbie with TGC and TGC designer tools and old golfer. I came across these two programs the other day in relation to my day job as a civil engineer and was playing around with them over the weekend. Basically I was wanting to find a program to render up quickly a small golf project I am working on here in Queenstown, New Zealand pro bono. We are soon going to lose our community driving range and small 9 hole feeder course due to the expansion of the airport and events centre and I am wanting to demonstrate how an underutilized piece of land in a nearby river delta could be transformed into a great new facility for the community. I ran into a couple of problems one how could I create a .las file from the design ground surface I had developed partly already in the cad program I use on a daily basis called Civil3d by Autodesk and two how to then classify the point cloud surface data to get your program to except the .las file without bring up an error. I have been able to develop a workflow that pretty much achieves this using the open source product "SAGA GIS". The program will allow you to classify points manually which was ok in my case as I was only interested in the ground surface as that is all the .las file I was creating was going to contain. To automatically classify a raw lidar file you have to pay for this functionality as an add on. But looking at the internet before I found SAGA GIS i found a number of open source projects cloud compare being one of them that seem to be able to classify raw lidar .las files using various algorithms. SAGA GIS will also split point clouds by class and take surface data as various file formats SHP, DEM, TIN, RASTER and then convert it into a point clouds and then export as a .las file. This means users of TGC designer are potentially not limited to just finding their golf course surface data as a lidar .las file. My workflow to date is as follows:- 1. Download and install SAGA GIS2. From Civil3d I exported a DEM file of the design ground surface I was wanting make into a .las file 3. I dragged the DEM file into SAGA GIS. 4. Using the PointCloud from Grid created a point cloud. (there is a rounding error in the elevation here that I found the anwser for here) 5. Viewed the point cloud data and added a field for the classification and added 2 for "Ground". 6. Used the Export .las file to export out the .las file. 7. Imported the the .las into TGC designer tools I have put more detailed instructions with pictures on my blog page here as could not figure out how to post images easily here. Hope this helps. I also had a couple of questions for you. 1. With the TGC API is it possible to export back out the amended surface as some sort of file point cloud. 2. When I import the OSM data it does not marry up with my .las data I think this is because I have the .las in the wrong co-ordinate system are you taking the red box in WGS84 co-ordinates and using that to query the data from OSM. Regards Justin Ralston
|
|
|
Post by sandsaver01 on Dec 9, 2019 8:35:45 GMT -5
Nice work, Justin! I have some doubt that you will get any reply from Chadgolf from these forums, as he has not really responded to anyone in quite a while. You might have more luck trying Chadgolf, as I suspect he might be busy or perhaps wish to be compensated for his ongoing efforts.
|
|
|
Post by paddyjk19 on Dec 9, 2019 9:29:41 GMT -5
I reckon Chadgolf got snapped up by HB and is secretly working on TGC 2020 - Masters edition. Probably only allowed to respond to one message every month like everyone else who works there!
|
|
|
Post by chadgolf on Dec 10, 2019 16:05:28 GMT -5
Nice work, Justin! I have some doubt that you will get any reply from Chadgolf from these forums, as he has not really responded to anyone in quite a while. You might have more luck trying Chadgolf, as I suspect he might be busy or perhaps wish to be compensated for his ongoing efforts. Afraid I've just been busy, moved to a new apartment - golf development computers are still packed - pretty busy with work and life commitments. Basically the reasons why everything is open source and free so I don't have to feel guilty if I personally can't push things forward right now. It's our resource as a community. I reckon Chadgolf got snapped up by HB and is secretly working on TGC 2020 - Masters edition. Probably only allowed to respond to one message every month like everyone else who works there! I've never heard anything directly from HB. I was shocked they even posted in the threads and acknowledged that lidar capability exists.
|
|
|
Post by chadgolf on Dec 10, 2019 16:16:33 GMT -5
Hi Chad I also had a couple of questions for you. 1. With the TGC API is it possible to export back out the amended surface as some sort of file point cloud. 2. When I import the OSM data it does not marry up with my .las data I think this is because I have the .las in the wrong co-ordinate system are you taking the red box in WGS84 co-ordinates and using that to query the data from OSM. Regards Justin Ralston 1) Yes, the downsampled heightmap exists in the variable 'om' (for output map) and 'omc' (for output map cropped) at this part of the source code: github.com/chadrockey/TGC-Designer-Tools/blob/master/lidar_map_api.py#L494If you don't want to edit any of the source code, but want to start with something else from this step, you can look at the heightmap.npy which is a numpy variable dump. You can then read the 'heightmap' entry from the dictionary inside of this object to restore the variable from disk. This file is normally used as a save point for processing while we wait on the user to edit OSM and the mask. 2) Yes, coordinate systems are very meticulous and you have to get them exactly right. Las/laz sometimes include this in the metadata, other times there's a sidecar file. But there's a text field where you can force the projection that you're using. There's an option called 'Force Lidar EPSG Projection', where you can enter the number for the projection you need. I use google or sites like this to lookup the number code: spatialreference.org/ref/?search=californiaAs long as this matches the lidar data, then it'll work out fine. OSM using lat/lon, so I project to the EPSG you define. That being said, the images on OSM aren't always aligned perfectly, so you have the options to shift terrain or to offset OSM at various points in the process to fine tune alignments.
|
|
|
Post by paddyjk19 on Dec 10, 2019 17:39:56 GMT -5
Nice work, Justin! I have some doubt that you will get any reply from Chadgolf from these forums, as he has not really responded to anyone in quite a while. You might have more luck trying Chadgolf, as I suspect he might be busy or perhaps wish to be compensated for his ongoing efforts. Afraid I've just been busy, moved to a new apartment - golf development computers are still packed - pretty busy with work and life commitments. Basically the reasons why everything is open source and free so I don't have to feel guilty if I personally can't push things forward right now. It's our resource as a community. I reckon Chadgolf got snapped up by HB and is secretly working on TGC 2020 - Masters edition. Probably only allowed to respond to one message every month like everyone else who works there! I've never heard anything directly from HB. I was shocked they even posted in the threads and acknowledged that lidar capability exists. Glad you’re safe Chad!
|
|
|
Post by justinr on Dec 11, 2019 22:26:14 GMT -5
Chad Thanks for replying I have coded a bit in the past in C++ ,VB.net and C# and can understand what the code is doing a bit. I will not have much luck changing . But may have a go at accessing the numpy variable dump when I have time. For now I am just trying to get the data into the system. I will double check my co-ordinates systems match and see if that is the issue this weekend in between watching the presidents cup. I did which a video off youtube here and the guy talks about making sure Bing maps was selected to get the import from osm to work is that correct? Regards Justin
|
|
jeffm
Caddy
Posts: 60
Tour: CC-Pro
|
Post by jeffm on Apr 13, 2020 19:31:26 GMT -5
I know this is a bit of an older thread, posting here in hopes of getting some assistance. I am brand new to course design and wanted to try my hand at creating my home course, Sedgefield CC (the Wyndham Championship course). Crossed my mind to hire a pro to build it, but since I know the course so well I want to have control over the little details and course decorations, obviously the biggest challenge is just getting an accurate course layout first. Tried to use Chad's tools, got the "Sorry, this lidar data is not classified" error, so at this point I am kind of at a dead end. Any tips on how I can classify the data? I have no clue how to use it, but due to the current pandemic ArcGIS is not allowing trials, so could be several months before that is an option.
I used TNM to get the Lidar las files, are there any alternate sources for the data?
EDIT: So the Lidar data I got is too old, from 2001. So that won't work, I've got no clue where to go for newer data unfortunately.
|
|
|
Post by findingfairways on Apr 30, 2020 13:00:48 GMT -5
Hi Chad, Just had this issue also, any suggestions very welcome. If I were to splash out on Global Mapper or Arc GIS would I be able to solve this? Thanks is there a way to some how create the course or something on PS4 using Lidar?
|
|
|
Post by sandsaver01 on May 1, 2020 5:20:39 GMT -5
Hi Chad, Just had this issue also, any suggestions very welcome. If I were to splash out on Global Mapper or Arc GIS would I be able to solve this? Thanks is there a way to some how create the course or something on PS4 using Lidar? No it is not possible to use Lidar on PS4 or XBox, sorry.
|
|
|
Post by lessangster on May 1, 2020 6:50:32 GMT -5
I know this is a bit of an older thread, posting here in hopes of getting some assistance. I am brand new to course design and wanted to try my hand at creating my home course, Sedgefield CC (the Wyndham Championship course). Crossed my mind to hire a pro to build it, but since I know the course so well I want to have control over the little details and course decorations, obviously the biggest challenge is just getting an accurate course layout first. Tried to use Chad's tools, got the "Sorry, this lidar data is not classified" error, so at this point I am kind of at a dead end. Any tips on how I can classify the data? I have no clue how to use it, but due to the current pandemic ArcGIS is not allowing trials, so could be several months before that is an option. I used TNM to get the Lidar las files, are there any alternate sources for the data? EDIT: So the Lidar data I got is too old, from 2001. So that won't work, I've got no clue where to go for newer data unfortunately. Did you get point cloud Lidar data Chad’s tool only uses that
|
|