OSM not loading golf features in Chad's tool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NDFAN
    Junior Member
    • Jan 2016
    • 8

    #1

    OSM not loading golf features in Chad's tool

    using0.4.0 version of chads tool I cannot get OSM golf features to load onto the course. The preview will show trees and the topography is there just no greens or tees or anything really, you can clearly see many of greens and bunkers in the topography but that it all. I've published 40 plus lidar courses without a problem. Any help is appreciated
  • jpotas
    Super Member
    • Apr 2020
    • 613

    #2
    Wrong epsg, I assume.
    My published Courses, all Lidar:

    My Early Courses:
    Boyne Arthur Hills Lidar2
    Boyne Donald Ross LidarV2
    Boyne Moor Lidar
    BoyneHeather5T Lidar V2
    CalderoneFarmsLidar5T2Pin
    Lake Erie Metro Lidar3
    Marco Island CC Lidar3
    Willow Metropark Lidar5
    Wyandotte Shore Lidar2

    Later Courses:
    Fraserglen Golf Course, British Columbia
    Meadowbrook Northville (L)
    The Glen (Illinois) Lidar
    Deer Park Estate GC, Scotland
    Green Craig Point GC, Scotland
    Red Rock GC Las Vegas MTN
    Ottumwa Country Club
    And Many More...

    Comment

    • NDFAN
      Junior Member
      • Jan 2016
      • 8

      #3
      nope I get this error or most often the server is too busy try again later, but it happens persistently at all hours of the day.

      Exception in Tkinter callback
      Traceback (most recent call last):
      File "tkinter\__init__.py", line 1705, in __call__
      File "tgc_gui.py", line 547, in generateCourseFromLidar
      File "tgc_image_terrain.py", line 264, in generate_course
      File "OSMTGC.py", line 391, in addOSMToTGC
      AttributeError: 'NoneType' object has no attribute 'ways'
      Exception in Tkinter callback
      Traceback (most recent call last):
      File "tkinter\__init__.py", line 1705, in __call__
      File "tgc_gui.py", line 547, in generateCourseFromLidar
      File "tgc_image_terrain.py", line 264, in generate_course
      File "OSMTGC.py", line 391, in addOSMToTGC
      AttributeError: 'NoneType' object has no attribute 'ways'​

      Comment

      • NDFAN
        Junior Member
        • Jan 2016
        • 8

        #4
        this is the progress bar text... Every time.

        Loading data from C:/Users/hoods/Documents/TGC 2019 Design/Pfau Golf Course
        Filling holes in heightmap
        Map scale is: 2.0 meters
        Background requested with scale: 16.0 meters
        Finding valid masked points
        Generating low detail background
        Filling missing data in heightmap
        For latitude 39.17853272944273: Setting sun angle to: 74.32146727055726
        29.39% through heightmap
        58.87% through heightmap
        84.54% through heightmap
        Adding trees from lidar data
        Adding golf features to lidar data
        OpenStreetMap Overpass query: (node(39.178457764351776,-86.51453540894728,39.19502507356117,-86.49772574152907);way(39.178457764351776,-86.51453540894728,39.19502507356117,-86.49772574152907);out;
        0.53% through OpenStreetMap Ways
        0.88% through OpenStreetMap Ways
        OpenStreetMap servers are too busy right now. Try running this tool later.
        Moving course to lowest valid elevation
        Shifting elevation by: -182.85682678222656
        Course Description Complete
        Done Rendering Course Preview​

        Comment

        • jpotas
          Super Member
          • Apr 2020
          • 613

          #5
          If it is done rendering and tells you the preview the course and you don't see your golf course on that. Section of land then it is not looking in the right place for the golf course features. Not having the correct epsg will cause that.

          When you get done running the lidar in Chads tool and you have to draw the red square around the plot. Can you see your course features at that time? If not, don't go any farther because you have the wrong epsg.
          My published Courses, all Lidar:

          My Early Courses:
          Boyne Arthur Hills Lidar2
          Boyne Donald Ross LidarV2
          Boyne Moor Lidar
          BoyneHeather5T Lidar V2
          CalderoneFarmsLidar5T2Pin
          Lake Erie Metro Lidar3
          Marco Island CC Lidar3
          Willow Metropark Lidar5
          Wyandotte Shore Lidar2

          Later Courses:
          Fraserglen Golf Course, British Columbia
          Meadowbrook Northville (L)
          The Glen (Illinois) Lidar
          Deer Park Estate GC, Scotland
          Green Craig Point GC, Scotland
          Red Rock GC Las Vegas MTN
          Ottumwa Country Club
          And Many More...

          Comment

          • Boxman
            Junior Member
            • Jan 2021
            • 7

            #6
            I have the same issue, tried every epsg code for Esplanade Golf in Naples FLA and continue to get a gray Lidar mapping with nothing in green. If OSM is busy , will this happen even if the correct epsg code is used ?

            Comment


            • TheLidarKing
              TheLidarKing commented
              Editing a comment
              Try this one for the Florida course: EPSG:6350
          • jpotas
            Super Member
            • Apr 2020
            • 613

            #7
            I am not sure of what version of Chads tool you are using but if it runs all the way through the lidar it will bring up a screen where you have to make a red box to select the specific area you want in detail.. You should see your features at this point. At least that's true with the older versions of the tool.

            You can email me your lidar file. And I can run it and check the epsg for you

            Jpotas67@gmail.com
            My published Courses, all Lidar:

            My Early Courses:
            Boyne Arthur Hills Lidar2
            Boyne Donald Ross LidarV2
            Boyne Moor Lidar
            BoyneHeather5T Lidar V2
            CalderoneFarmsLidar5T2Pin
            Lake Erie Metro Lidar3
            Marco Island CC Lidar3
            Willow Metropark Lidar5
            Wyandotte Shore Lidar2

            Later Courses:
            Fraserglen Golf Course, British Columbia
            Meadowbrook Northville (L)
            The Glen (Illinois) Lidar
            Deer Park Estate GC, Scotland
            Green Craig Point GC, Scotland
            Red Rock GC Las Vegas MTN
            Ottumwa Country Club
            And Many More...

            Comment

            • Boxman
              Junior Member
              • Jan 2021
              • 7

              #8
              I do get all the way to the screen that I am supposed to box out, but it is all grey, no green and blue highlighted areas and if I box it and let it continue, the mask file is all grey.
              Just sent osm and meta files, my server won't let me send the Lidar files , there are 9 total and range from 53MB to 100MB.

              Comment


              • TheLidarKing
                TheLidarKing commented
                Editing a comment
                Try this one for the Florida course: EPSG:6350
            • Boxman
              Junior Member
              • Jan 2021
              • 7

              #9
              It worked , thank you. How did you get this epsg. Here is a screen shot of all the codes I used and 6350 not even on the list.
              Do you have a different site that gives codes ?

              Comment

            • TheLidarKing
              Senior Member
              • Apr 2020
              • 101

              #10
              It is easier to ask than for me to try to explain everything.

              Comment

              • coblue
                Member
                • Aug 2021
                • 60

                #11
                Trying to find EPSG for Stono Ferry GC in Hollywood, SC. Does is matter if its one in meters or feet? I found one in meters that appeared to work on Load LIDR step but then I don't get any course data created so guessing it's not correct EPSG.

                On the generate height map if the result is only a black and white image... i.e. no color where the course is can I assume the EPSG was incorrect?

                OSM Data for course all appears to have been previously created for course so don't think that's the issue.

                Comment

                • jpotas
                  Super Member
                  • Apr 2020
                  • 613

                  #12
                  Yes, wrong EPSG. Where did you get your Lidar?
                  My published Courses, all Lidar:

                  My Early Courses:
                  Boyne Arthur Hills Lidar2
                  Boyne Donald Ross LidarV2
                  Boyne Moor Lidar
                  BoyneHeather5T Lidar V2
                  CalderoneFarmsLidar5T2Pin
                  Lake Erie Metro Lidar3
                  Marco Island CC Lidar3
                  Willow Metropark Lidar5
                  Wyandotte Shore Lidar2

                  Later Courses:
                  Fraserglen Golf Course, British Columbia
                  Meadowbrook Northville (L)
                  The Glen (Illinois) Lidar
                  Deer Park Estate GC, Scotland
                  Green Craig Point GC, Scotland
                  Red Rock GC Las Vegas MTN
                  Ottumwa Country Club
                  And Many More...

                  Comment

                  • coblue
                    Member
                    • Aug 2021
                    • 60

                    #13
                    Got it working. Went thru all the EPSGs and the last one I tried worked. Course layout looks good but got some random trees on greens and in bunkers so got some cleanup to do now. Do you have tips for order to cleanup a new course you recommend? I assume first thing I should do is remove the obvious stuff but then is it best to start with infrastructure like adding cart paths, buildings, water? Is there a good logical order?

                    Oh and can I add a driving range that can be used?

                    thanks

                    Comment

                    Working...