Featured TUTORIAL Race Track Builder - Inject elevation data and terrain texture

Discussion in 'Tracks' started by Wurstkoffer, Sep 17, 2017.

  1. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    Just back to testing after a week away... I have another question: I notice that when the response to a request is a null value, after a few cycles it repeats the request and so gets into a loop it can never get out of. I think it needs to default to the google maps value if it gets a null, what do you think?
     
  2. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    About the multiple layers, I made up a combined coverage map of England. There's data at 25cm, 50cm, 1m and 2m, and together it looks like this:

    upload_2017-12-5_22-3-10.png

    Although there are a lot of gaps, it's pretty good coverage. Much better than Scotland, anyway
     
    Wurstkoffer, Willy Wale and luchian like this.
  3. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
  4. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
    It should already use Google maps values if WMS delivers a null value. Maybe there is a bug in the code. Can you send me a location where you got these null values?
     
  5. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    Okay,
    lat: 56.679901317749, lng: -5.02945604536224

    result was Elevation Google: 823.97973632812, Elevation WMS: -9999.0
     
  6. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
  7. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
    Can't see a problem in Config Test. With the latest additions to the code, it should send Googles elevation value to RTB.
    upload_2017-12-9_14-54-6.png
     
    luchian likes this.
  8. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
  9. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    You're right, there's no elevation data... The format seems to be the same as for scotland, though. It may be it's only available as a complete download, which complicates things.
     
  10. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    When you mentioned latest additions to the code before, is there a new version to download? If so, where can I find it?

    Thanks!
     
  11. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
    Yeah, you'll find them attached in the first post. But I thought you'd already adopted the changes yourself.
     
  12. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    Ah okay, I wondered if there was something new. I've already made the changes you mentioned before.

    Regarding the lidar data for england, it seems like the only way to access it is by downloading directly. I can't find a wms page that has anything other than a coverage image. The other access page is separated into categories (DTM, DSM, point cloud etc), then by year of acquisition, then resolution. A pity it can't be accessed directly, but already I'm thinking that using geoserver is worth trying. I'll read up a bit when I have time and see what happens...
     
  13. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    Another weird problem: on a test project it occasionally gets itself into a loop requesting the same points and getting the same (valid) responses. As a result it stops dead. But saving, quitting and restarting gets it going again, sending out the unfilled requests from the previous session and getting good data. Good news!

    I've been trying to set things up on my laptop, since I'll be away over christmas, but I'm having problems getting the google maps image to show up when I create a new project. I just get a sky blue blank screen. I can work around it (by making a duplicate with the original settings and copying the map image), but I'm not sure what I'm doing different to the setup on my desktop pc...
     
  14. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
    Google map image should show up, if you set
    PHP:
    $wms_orto_fetch false;
    ... but i'm pretty sure you've done that, eh?
     
  15. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    Yep, first thing I checked. I copied all the files straight over without changing anything. But I'll check it again...
     
  16. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    wms_orto_save should also be false, right?
     
  17. Les Neilson

    Les Neilson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    186
    Likes Received:
    89
    I've figured out the problem. Obviously, I'd missed a step in the setup
     
  18. ms92ita

    ms92ita New Member

    Joined:
    Jan 5, 2018
    Messages:
    1
    Likes Received:
    0
    Hi all,
    provided that the purpose of this script is absolutely ingenious, can not find a valid AND free LIDAR / WMS service to the Le Mans circuit.
    Most services are available for free in US, UK, Italy and some other countries, but not in France
    Has someone tried to similar thing or implemented to local server to obtain elevation data as specular as possible?

    For local server implementation, i do not have problems learning steps, fortunately I am a web developer

    Thanks in advance
     
  19. Wurstkoffer

    Wurstkoffer Member

    Joined:
    Sep 6, 2017
    Messages:
    51
    Likes Received:
    34
  20. JimL

    JimL New Member

    Joined:
    Sep 11, 2017
    Messages:
    1
    Likes Received:
    5
    Thank you for this, will definitely come in handy as the norwegian government last year started laser scanning _the entire country_ at 5 dots per m2 resolution!

    Screenshots of data from Rudskogen, a norwegian race track

    Screenshot337.JPG Screenshot338.JPG
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice