Automating Tile Creation

Discussion in 'PC Editor Discussion' started by paintbrushguy, Sep 29, 2023.

  1. paintbrushguy

    paintbrushguy Well-Known Member

    Joined:
    Jun 9, 2020
    Messages:
    443
    Likes Received:
    675
    I've done some tinkering in the editor now to the extent I have imported SRTM and Lidar data and got my Maps API set up.

    Creating tiles one-by-one is rather tedious, are there any ways to speed this process up?
     
  2. bremen

    bremen Active Member

    Joined:
    Aug 24, 2023
    Messages:
    127
    Likes Received:
    105
  3. paintbrushguy

    paintbrushguy Well-Known Member

    Joined:
    Jun 9, 2020
    Messages:
    443
    Likes Received:
    675
  4. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,370
    Likes Received:
    37,341
    Can you enlighten me how you set up the API and imported the kml file so it shows in route, please?
     
  5. paintbrushguy

    paintbrushguy Well-Known Member

    Joined:
    Jun 9, 2020
    Messages:
    443
    Likes Received:
    675
    I just grabbed my Maps API key and stuck it in the tab. Only seems to work on hybrid mode though, but that’s ok for now.
     
  6. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,370
    Likes Received:
    37,341
    Sorry to be thick but which set of menus or subs is that in? I found it once by accident but couldn’t get back to it.

    IMHO adding a kml file is something that should be done via the route setup screen, would make it far easier than burying it away.
     
    • Like Like x 1
  7. paintbrushguy

    paintbrushguy Well-Known Member

    Joined:
    Jun 9, 2020
    Messages:
    443
    Likes Received:
    675
    In the viewport there’s a Maps icon, click on that and some options come up. Stick your API key in and enable hybrid mode works for me.
     
    • Helpful Helpful x 1
  8. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,370
    Likes Received:
    37,341
    Well I got the overlay menu to come up, entered my API key, lots of bits seemed to stream in but nothing overlaid in the world.

    Now I can't get the overlay menu to appear again.

    Sigh.
     
  9. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,387
    Likes Received:
    19,173
    There are console commands that will build the whole route's worth of tiles with dem for you - i'm just learning about it myself.

    I'll outline it all in the tutorial i'm putting together.

    Matt.
     
    • Like Like x 6
  10. KrisKol

    KrisKol Active Member

    Joined:
    Apr 2, 2023
    Messages:
    155
    Likes Received:
    90
    I thought that you guys would have something like that. I also thought that you guys would somehow even use a shapefile or kml to auto-generate tracks. (I have messed with something like that on TS Classic, it outputted some yucky results, for obviuos reasons so I abandoned it)

    The TransDEM tool you can buy for Trainz also auto-generates tracks from shapefiles and the likes, but quite a lot of it is unuseable in the end. So I presume that would not be in TSW either.
     
    Last edited: Oct 3, 2023
  11. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,370
    Likes Received:
    37,341
    Transdem is a very powerful tool, so much so that it’s easy to get carried away and extract long routes you could never actually hope to finish in a lifetime. I never really bothered with the autogenerated track as it doesn’t apply gradients etc. and with a decent mapping overlay you can see where you need to lay it anyway.
     
    • Like Like x 1
  12. KrisKol

    KrisKol Active Member

    Joined:
    Apr 2, 2023
    Messages:
    155
    Likes Received:
    90
    The only Auto-generated track that works there, is the 3D CAD option, Which unfortunately most people dont have access to. There is some available, And when its used, it does work as intended, but you need to make sure there are no defects or other rubbish in the CAD files.
     

Share This Page