API key for TSRE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnwfan
    1000 Post Veteran

    • Oct 2005
    • 1250

    #1

    API key for TSRE

    [QUOTE
    You can use Google Maps instead with your API key.[/QUOTE]
    API key does not work I get no data just grey blocks where data should be even requested a new API key but no go. Any help with this would be appreciated , otherwise I am SOL with correct data from routes.
    Todd
    Iowa Chicago and Eastern Mason City Sub
  • NorthernWarrior
    6500 Post Veteran


    • Apr 2007
    • 6922
    • Swindon, England

    #2
    This has been discussed in the DTG Railworks/TS20xx forums where the Google overlay is built into the route editor. Basically, Google now require users to lodge a debit or credit card as "deposit" against exceeding the free usage limit. The minimum charge if you go over the limit is (I believe) US$200. Unlikely for train sim use this would be an issue, but would you trust Google with an open ended means to charge your account and what recourse do you have if they get it wrong?

    I certainly wouldn't!

    I have also seen other (not train sim) sites where embedded Google Maps feed has been taken off line, presumably because the company is applying a similar policy to data usage.
    Vern.

    Comment

    • MSTS lifer
      Senior Member

      • Dec 2012
      • 523

      #3
      Originally posted by NorthernWarrior
      This has been discussed in the DTG Railworks/TS20xx forums where the Google overlay is built into the route editor. Basically, Google now require users to lodge a debit or credit card as "deposit" against exceeding the free usage limit. The minimum charge if you go over the limit is (I believe) US$200. Unlikely for train sim use this would be an issue, but would you trust Google with an open ended means to charge your account and what recourse do you have if they get it wrong?I certainly wouldn't!I have also seen other (not train sim) sites where embedded Google Maps feed has been taken off line, presumably because the company is applying a similar policy to data usage.
      Ok, so I want to make sure I understand this correctly. I have TS 2018. I don't have to use a API key nor do I have one. It works without a key because its already built into the sim. Those of us in the train sim communities in theory should not have to worry about exceeding the free usage limit. With all that said, does Google still expect a person to put down a deposit? I'm with you. I won't. Too many cases of computer ID theft out there and more and more stories about companies like Google getting hacked and customers account info being obtained.

      Comment

      • MSTS lifer
        Senior Member

        • Dec 2012
        • 523

        #4
        And I gather those using TRES and want that API will have to deal with the policy Google now has and they will be expected to "pay" that deposit?

        Comment

        • cnwfan
          1000 Post Veteran

          • Oct 2005
          • 1250

          #5
          Originally posted by NorthernWarrior
          This has been discussed in the DTG Railworks/TS20xx forums where the Google overlay is built into the route editor. Basically, Google now require users to lodge a debit or credit card as "deposit" against exceeding the free usage limit. The minimum charge if you go over the limit is (I believe) US$200. Unlikely for train sim use this would be an issue, but would you trust Google with an open ended means to charge your account and what recourse do you have if they get it wrong?

          I certainly wouldn't!

          I have also seen other (not train sim) sites where embedded Google Maps feed has been taken off line, presumably because the company is applying a similar policy to data usage.
          This is my concern with using Google API's now.I will not pay to use Google API keys just to have a few hours in the RE. Goku really needs to figure out a better choice for maps that does not require pay or better yet fix the Open map issue! I will continue to press this issue because I know a lot of guys that use the overlay needs this!
          Todd
          Iowa Chicago and Eastern Mason City Sub

          Comment

          • GokuMK
            Senior Member

            • Oct 2015
            • 729
            • Poland

            #6
            Originally posted by MSTS lifer
            Ok, so I want to make sure I understand this correctly. I have TS 2018. I don't have to use a API key nor do I have one. It works without a key because its already built into the sim.
            Yes, but TS is not a free software. DTG has money to put into it's own key.
            I'm surprised that before it worked just like in TSRE, forcing user to obtain own API key ...

            Comment

            • cnwfan
              1000 Post Veteran

              • Oct 2005
              • 1250

              #7
              Can we come up with a solution to get me up and running with map that is what my question is about. I am very frustrated right now that as a programmer you say you can use Google API and turns out you really can't.
              Todd
              Iowa Chicago and Eastern Mason City Sub

              Comment

              • GokuMK
                Senior Member

                • Oct 2015
                • 729
                • Poland

                #8
                I still use it with my KEY.



                Don't know why it works for me. Maybe Google uses my credit card that I use for Google Play / Google Pay. Ofc I don't pay anything because I never exceed the free 200 usd limit.

                ---

                The OSM layer will be back when I find space on my SSD for QT compilation.

                Google Images will work this way as now .. lets hope that Google won't shut down the free limits.

                Comment

                • cnwfan
                  1000 Post Veteran

                  • Oct 2005
                  • 1250

                  #9
                  Originally posted by GokuMK
                  I still use it with my KEY.



                  Don't know why it works for me. Maybe Google uses my credit card that I use for Google Play / Google Pay. Ofc I don't pay anything because I never exceed the free 200 usd limit.
                  Well why dont it work for me? Can you explain that? Here is how I have imagemaps url
                  imageMapsUrl = http://maps.googleapis.com/maps/api/staticmap?center={lat},{lon}&zoom={zoom}&size={res }x{res}&maptype=satellite&key=
                  Todd
                  Iowa Chicago and Eastern Mason City Sub

                  Comment

                  • GokuMK
                    Senior Member

                    • Oct 2015
                    • 729
                    • Poland

                    #10
                    There is a space here:
                    {res }
                    and ofc you need a key.

                    Comment

                    • cnwfan
                      1000 Post Veteran

                      • Oct 2005
                      • 1250

                      #11
                      Got a brand new key and still wont work . As you can see this is starting to get frustrating.Image1.jpg I have not even touched using the free 200 they give I just started working with the editor about a month ago again after a brief break.
                      Todd
                      Iowa Chicago and Eastern Mason City Sub

                      Comment

                      • NorthernWarrior
                        6500 Post Veteran


                        • Apr 2007
                        • 6922
                        • Swindon, England

                        #12
                        Originally posted by GokuMK
                        Yes, but TS is not a free software. DTG has money to put into it's own key.
                        I'm surprised that before it worked just like in TSRE, forcing user to obtain own API key ...
                        Just as a correction, DTG do not contribute in any way other than facilitating the maps overlay in their code. It is up to the user to obtain an API key and as of now decide if they want to deposit their payment details with Google.

                        Could TSRE possibly utilise Open Street Map or Yandex mapping data instead?
                        Vern.

                        Comment

                        • cnwfan
                          1000 Post Veteran

                          • Oct 2005
                          • 1250

                          #13
                          Originally posted by NorthernWarrior
                          Could TSRE possibly utilise Open Street Map or Yandex mapping data instead?
                          TSRE does use OSM but with the change to HTTPS it does not work and Goku isn't too willing to change that for us to make it to work. So until He decides to fix the problem all map users of TSRE are SOL.I would like to see another mapping data set be used instead of Google.
                          Todd
                          Iowa Chicago and Eastern Mason City Sub

                          Comment

                          • NorthernWarrior
                            6500 Post Veteran


                            • Apr 2007
                            • 6922
                            • Swindon, England

                            #14
                            Well Yandex is Russian so will probably have the CIA (or MI6 here in the UK) after us for over-use! However their English version of the site is actually quite good for some areas, more detail than OSM and their aerial imagery is often better than Google.
                            Vern.

                            Comment

                            • CSRX
                              13500 Post Veteran



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

                              #15
                              Started recently having this issue as well, Guess yet again my route building is on a stand still because we continue to use broken items. It's unfortunate that Google itself is also dipping into the we want money for API key in order to do this.
                              As for the raster layer, I've tried that, and it continues to fail no matter what trick I do as guided here in the forums.

                              This, is honestly very unfortunate for any developer.
                              -Shawn K-
                              MEC Mountain Subdivision - Trackwork 70%, Scenery 35%
                              ​

                              Comment

                              Working...