Post by sirish19 on Mar 14, 2020 7:09:37 GMT -5
Hi All,
I am trying to build a sim for a course here in Japan and am running into some challenges. I have been able to download 5 mesh data from a site in Japan in GML format and then convert that to a LAS file using GlobalMapper. With the GML file, there was also an XML metadata file which I also downloaded.
Now, when I try to run Chad's program on this LAS file as well as the XML file, I get the following error:
Processing: Uenohara_1.las
Using metadata: fmdid15-3101.xml
Could not determine lidar projection, please report an issue and send this lidar and metadata
Alternatively, look for something called EPSG Value in Metadata and provide EPSG and Conversion to Meters (1.0 for Meters, Approximately 0.3048 for Feet
I then tried running it without the XML file and this is what I get:
Processing: Uenohara_1.las
Could not find metadata for Uenohara_1.las.
File is likely in Geographic Coordinates (Lat/Lon Degrees). You probably want to find alternate files, but we will try to project this for you.
For center coordinates: (35.666666682999995, 139.0):
Overwriting projection with EPSG:32654
Unit in use is 1.0
Proj4 : pyproj.Proj('+units=m +proj=latlong +datum=WGS84 ', preserve_units=True)
Warning: Data has different projection, re-projecting coordinates. This may take some time.
Generating lidar intensity image
No lidar intensity found, using elevation instead
4.77% visualizing lidar
9.98% visualizing lidar
14.85% visualizing lidar
19.21% visualizing lidar
23.8% visualizing lidar
28.12% visualizing lidar
32.79% visualizing lidar
37.7% visualizing lidar
42.91% visualizing lidar
47.9% visualizing lidar
52.6% visualizing lidar
57.61% visualizing lidar
61.66% visualizing lidar
65.48% visualizing lidar
69.32% visualizing lidar
73.94% visualizing lidar
78.7% visualizing lidar
83.74% visualizing lidar
88.61% visualizing lidar
93.47% visualizing lidar
98.09% visualizing lidar
Adding golf features to lidar data
OpenStreetMap Overpass query: (node(35.58342163119264,138.87060809647832,35.7498 9404747852,139.12886397065205);way(35.583421631192 64,138.87060809647832,35.74989404747852,139.128863 97065205);out;
Mapquest Image URL Request: open.mapquestapi.com/staticm...size=1500,1235
Generating heightmap
Selecting only needed data from lidar
Sorry, this lidar data is not classified and I can't support it right now. Ask for help on the forum or your lidar provider if they have a classified version.
Classification is where they determine which points are the ground and which are trees, buildings, etc. I can't make a nice looking course without clean input.
During this last process, I actually got to the point where I could draw the rectangle around the course on the left (in black and white) and I could actually see the mapped out course although it was really small. See attached. I am not quite sure why the course turned out so small although it could be that I took a really large area for the elevation data. It was actually 4 tiles in the general vicinity as I wasn't quite sure where the course was when I was downloading the elevation data.
This seemed like pretty good progress, but in the end, I got an error message that the lidar data wasn't classified. I believe that there is a way to go back in and classify the data within GlobalMapper but I am a bit out of my depth at this point.
Does anyone have any idea what may be the issue? Any help would be greatly appreciated.
I am trying to build a sim for a course here in Japan and am running into some challenges. I have been able to download 5 mesh data from a site in Japan in GML format and then convert that to a LAS file using GlobalMapper. With the GML file, there was also an XML metadata file which I also downloaded.
Now, when I try to run Chad's program on this LAS file as well as the XML file, I get the following error:
Processing: Uenohara_1.las
Using metadata: fmdid15-3101.xml
Could not determine lidar projection, please report an issue and send this lidar and metadata
Alternatively, look for something called EPSG Value in Metadata and provide EPSG and Conversion to Meters (1.0 for Meters, Approximately 0.3048 for Feet
I then tried running it without the XML file and this is what I get:
Processing: Uenohara_1.las
Could not find metadata for Uenohara_1.las.
File is likely in Geographic Coordinates (Lat/Lon Degrees). You probably want to find alternate files, but we will try to project this for you.
For center coordinates: (35.666666682999995, 139.0):
Overwriting projection with EPSG:32654
Unit in use is 1.0
Proj4 : pyproj.Proj('+units=m +proj=latlong +datum=WGS84 ', preserve_units=True)
Warning: Data has different projection, re-projecting coordinates. This may take some time.
Generating lidar intensity image
No lidar intensity found, using elevation instead
4.77% visualizing lidar
9.98% visualizing lidar
14.85% visualizing lidar
19.21% visualizing lidar
23.8% visualizing lidar
28.12% visualizing lidar
32.79% visualizing lidar
37.7% visualizing lidar
42.91% visualizing lidar
47.9% visualizing lidar
52.6% visualizing lidar
57.61% visualizing lidar
61.66% visualizing lidar
65.48% visualizing lidar
69.32% visualizing lidar
73.94% visualizing lidar
78.7% visualizing lidar
83.74% visualizing lidar
88.61% visualizing lidar
93.47% visualizing lidar
98.09% visualizing lidar
Adding golf features to lidar data
OpenStreetMap Overpass query: (node(35.58342163119264,138.87060809647832,35.7498 9404747852,139.12886397065205);way(35.583421631192 64,138.87060809647832,35.74989404747852,139.128863 97065205);out;
Mapquest Image URL Request: open.mapquestapi.com/staticm...size=1500,1235
Generating heightmap
Selecting only needed data from lidar
Sorry, this lidar data is not classified and I can't support it right now. Ask for help on the forum or your lidar provider if they have a classified version.
Classification is where they determine which points are the ground and which are trees, buildings, etc. I can't make a nice looking course without clean input.
During this last process, I actually got to the point where I could draw the rectangle around the course on the left (in black and white) and I could actually see the mapped out course although it was really small. See attached. I am not quite sure why the course turned out so small although it could be that I took a really large area for the elevation data. It was actually 4 tiles in the general vicinity as I wasn't quite sure where the course was when I was downloading the elevation data.
This seemed like pretty good progress, but in the end, I got an error message that the lidar data wasn't classified. I believe that there is a way to go back in and classify the data within GlobalMapper but I am a bit out of my depth at this point.
Does anyone have any idea what may be the issue? Any help would be greatly appreciated.