chadrockey / TGC-Designer-Tools

Tools to support course creation and Lidar/Terrain Creation in The Golf Club 2019.
Apache License 2.0
44 stars 27 forks source link

OSM not importing properly #135

Open jswilmer opened 3 weeks ago

jswilmer commented 3 weeks ago

OSM data imports partially despite detailed data available from the OSM website. Only a few fairways are picked up but all greens, teeboxes, traps, and water hazards import just fine.

Screenshot 2024-06-25 213712

Screenshot 2024-06-25 214112
jswilmer commented 3 weeks ago

Loading OpenStreetMap Data from C:/Users/jacob/Desktop/MyCourses/TheLakesV2/map (4).osm Adding OpenStreetMap from XML Determining the UTM Geo Projection for this area For center coordinates: (-21.385399999999997, -82.9408): Overwriting projection with EPSG:32717 Done Rendering Course Preview Loading data from C:/Users/jacob/Desktop/MyCourses/TheLakesV2 Filling holes in heightmap Map scale is: 1.0 meters Finding valid masked points Filling missing data in heightmap For latitude 40.15823492939726: Setting sun angle to: 73.34176507060275 12.56% through heightmap 23.86% through heightmap 34.85% through heightmap 45.3% through heightmap 57.64% through heightmap 70.48% through heightmap 79.44% through heightmap 92.29% through heightmap Adding golf features to lidar data OpenStreetMap Overpass query: (node(40.156217934323635,-82.95349540140035,40.17275609652189,-82.93296251913402);way(40.156217934323635,-82.95349540140035,40.17275609652189,-82.93296251913402););out; 1.28% through OpenStreetMap Ways 4.68% through OpenStreetMap Ways 7.66% through OpenStreetMap Ways 11.06% through OpenStreetMap Ways 13.62% through OpenStreetMap Ways 18.3% through OpenStreetMap Ways 23.19% through OpenStreetMap Ways 29.79% through OpenStreetMap Ways 53.4% through OpenStreetMap Ways Moving course to lowest valid elevation Shifting elevation by: -241.09579467773438 Course Description Complete Done Rendering Course Preview

Log makes it seem as if OSM data imported just fine

Baconjunkie1 commented 3 weeks ago

On these newer versions of Chads you don't have to download/export the OSM file, the newer versions of the program will get it for you.

About the fairways if you click on the fairway and if it has a multipolygon tag assigned to it that fairway will not render. I've never been able to figure out how to delete that tag and ended up just having to respline the fairway but the OSM people are not going to like you doing that and you can expect a nice message from them.

jswilmer commented 3 weeks ago

Dang so every fairway on my home course but 3 will never be able to render because they have that tag. Well thats a bummer