Load Map issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CSRX
    13500 Post Veteran



    • Oct 2005
    • 13646
    • Lincoln, ME
    • English
    • ORTS

    #1

    Load Map issue

    Trying to get back into the Route Editing, and wanted to use real maps like I was before.. except now... I'm running into this issue..

    I do the normal, load map, and get this error for the Raster Images




    In the settings.. I have it set exactly as it should be.

    "imageMapsUrl = http://api.mapbox.com/v4/mapbox.satellite/{lon},{lat},{zoom}/{res}x{res}.png?access_token=LongAndBoringAPICodin g"

    So.. What gives? Windows 10 issue?, TSRE V0.699 install issue?




    Also, DEMS, or whatever they are called.. Still under USGS correct? Can't seem to figure out how to download those again. Would be nice for the route I am also working on, besides the Mountain Division 2.0.
    -Shawn K-
    MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
    ​
  • Vince
    6500 Post Veteran

    • Nov 1999
    • 6961
    • Mohave

    #2
    Going to the URL you listed,
    http://api.mapbox.com/v4/mapbox.satellite/{lon},{lat},{zoom}/{res}x{res}.png?access_token=LongAndBoringAPICodin g

    gives this message:
    message "Not Authorized - Invalid Token"

    Which probably has somthing to do with your problem.

    regards,
    ............Vince ..............
    ...... Author NECv4 .......
    .... LIRR BUILD PHOTOS ....
    ...... Eschew Obsfucation ......

    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
    "Give me your tired, your poor, your huddled masses yearning to breathe free,
    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
    I lift my lamp beside the golden door!"

    Comment

    • CSRX
      13500 Post Veteran



      • Oct 2005
      • 13646
      • Lincoln, ME
      • English
      • ORTS

      #3
      Originally posted by Vince
      Going to the URL you listed,
      http://api.mapbox.com/v4/mapbox.satellite/{lon},{lat},{zoom}/{res}x{res}.png?access_token=LongAndBoringAPICodin g

      gives this message:
      message "Not Authorized - Invalid Token"

      Which probably has somthing to do with your problem.

      regards,
      That's because I am not going to share my personal API code on a forum.

      But thanks for the help anyways.


      Followed what was posted here, but as you see, I can't seem to get it working. Shrugs.
      -Shawn K-
      MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
      ​

      Comment

      • GokuMK
        Senior Member

        • Oct 2015
        • 729
        • Poland

        #4
        Wrong location of settings.txt file? It must be located where EXE file is, not the shortcut.
        Or .. character mismatch in your line?

        Comment

        • CSRX
          13500 Post Veteran



          • Oct 2005
          • 13646
          • Lincoln, ME
          • English
          • ORTS

          #5
          settings.txt is in the same folder as the TSRE5_v0.699.exe file is located in.

          Not sure how it would be a character mismatch, as I copied directly from the forum page notes, as well as directly from the page my API key was on.
          -Shawn K-
          MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
          ​

          Comment

          • eolesen
            9500 Post Veteran and Administrator



            • Dec 2002
            • 9583
            • NS MP245.4 CNO&TP South District
            • English, SQL
            • General

            #6
            Is there anything in the TSRE log.txt file?

            My MapBox key URL looks pretty much the same as yours. No quotes around the string, though.

            Perhaps you can regenerate a new key?
            If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

            Comment

            • CSRX
              13500 Post Veteran



              • Oct 2005
              • 13646
              • Lincoln, ME
              • English
              • ORTS

              #7
              Originally posted by eric
              Is there anything in the TSRE log.txt file?

              My MapBox key URL looks pretty much the same as yours. No quotes around the string, though.

              Perhaps you can regenerate a new key?
              No quotes, just used those on here to show what I had.

              I did regenerate the key earlier as well to see if that helped, which unfortunately it didn't.

              I'll have to take a peek later after work and see what the log file says.

              Hope to get this resolved. The real image maps I feel would be a huge help when it comes to the scenery.
              -Shawn K-
              MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
              ​

              Comment

              • eolesen
                9500 Post Veteran and Administrator



                • Dec 2002
                • 9583
                • NS MP245.4 CNO&TP South District
                • English, SQL
                • General

                #8
                The difference is huge. You do pay a bit of a price in terms of the size of your Terrtex folder -- my CNW-Chicago has about 10Gb of Terrtex right now, but it's worth every byte.
                If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

                Comment

                • cnwfan
                  1000 Post Veteran

                  • Oct 2005
                  • 1250

                  #9
                  Ive ran into this problem before https://www.trainsim.com/vbts/showth...hlight=API+key
                  Todd
                  Iowa Chicago and Eastern Mason City Sub

                  Comment

                  • CSRX
                    13500 Post Veteran



                    • Oct 2005
                    • 13646
                    • Lincoln, ME
                    • English
                    • ORTS

                    #10
                    Originally posted by cnwfan
                    I'm not using Google, I'm using mapbox, which was discovered works as well, with the link I posted to Goku's site, as well as the description of the line I was using...
                    -Shawn K-
                    MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
                    ​

                    Comment

                    • GokuMK
                      Senior Member

                      • Oct 2015
                      • 729
                      • Poland

                      #11
                      TSRE message says that it can't find imageMapsUrl in settings.txt at all. You have something wrong with your settings file.

                      Comment

                      • cnwfan
                        1000 Post Veteran

                        • Oct 2005
                        • 1250

                        #12
                        Originally posted by CSRX
                        I'm not using Google, I'm using mapbox, which was discovered works as well, with the link I posted to Goku's site, as well as the description of the line I was using...

                        Sounds like same issue though......I was only trying to help...........
                        Todd
                        Iowa Chicago and Eastern Mason City Sub

                        Comment

                        • CSRX
                          13500 Post Veteran



                          • Oct 2005
                          • 13646
                          • Lincoln, ME
                          • English
                          • ORTS

                          #13
                          I'll upload the settings file later and see if anyone can figure it out that way.
                          Trying to balance work and figuring out the new Windows 10 laptop is a bit tricky. Haha
                          -Shawn K-
                          MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
                          ​

                          Comment

                          • CSRX
                            13500 Post Veteran



                            • Oct 2005
                            • 13646
                            • Lincoln, ME
                            • English
                            • ORTS

                            #14
                            Here it is, set exactly the same as on my old laptop, which works fine on there. Again, removed my API key, because I do not wish for others to use my key!

                            settings.txt
                            -Shawn K-
                            MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
                            ​

                            Comment

                            • CSRX
                              13500 Post Veteran



                              • Oct 2005
                              • 13646
                              • Lincoln, ME
                              • English
                              • ORTS

                              #15
                              Guess we can't edit posts? Maybe I am missing that..

                              Anyways, I goofed and didn't give the right settings file.

                              settings.txt


                              edit:
                              FIXED IT, and it's working now. Apparently if you scroll down further, there is a "imageMapUrl" under the "#extra" section, just needed to copy the link there.

                              Previous updates of TSRE did not have this, so adding the line elsewhere worked just as well.

                              Wish that was mentioned with the updates of TSRE, but, you scroll long enough, you learn on your own...
                              Last edited by CSRX; 01-27-2021, 20:31.
                              -Shawn K-
                              MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
                              ​

                              Comment

                              Working...