API key for TSRE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MSTS lifer
    Senior Member

    • Dec 2012
    • 523

    #61
    Just a thought here...Maybe a long shot. Would a API from some outfit beside Google work or does the API have to be one from Google?

    Comment

    • cnwfan
      1000 Post Veteran

      • Oct 2005
      • 1250

      #62
      Originally posted by MSTS lifer
      If ANYONE has recently got a API from Google WITHOUT having to either outright pay, or make some sort of other financial arrangements for payments (Got it for free like it used to be) please explain how you did that.
      I would like to know as well. I know some use it daily and get error free images. Being stuck with old editor is fine for me for now but I use to use TSRE extensively laying roads and new track layouts because of the map overlay.
      Todd
      Iowa Chicago and Eastern Mason City Sub

      Comment

      • NorthernWarrior
        6500 Post Veteran


        • Apr 2007
        • 6922
        • Swindon, England

        #63
        The strange thing is, I briefly fired up the Railworks (TS2019) editor the other day and the Google Maps overlay still works fine under my old API. Not much consolation for the TSRE situation but does seem to indicate enforcement from Google is somewhat erratic. And no, they haven't got my debit card details!
        Vern.

        Comment

        • ebnertra000
          1500 Post Veteran


          • Jun 2013
          • 1778
          • Minnesota

          #64
          Originally posted by NorthernWarrior
          ...
          And no, they haven't got my debit card details!
          ...yet... They'll probably come for you when they figure it out

          Comment

          • GokuMK
            Senior Member

            • Oct 2015
            • 729
            • Poland

            #65
            Good news. ( For some not so good ... )

            New version of TSRE with HTTPS support for OSM is coming soon.



            I don't have new SSD yet, so I decided to remove 32 bit tools for building TSRE. Using this solution I've got additional 15 GB of disk space and was able to build new QT with OpenSSL support. After 3 day fight I managed to build newest QT 5.12.beta with OpenSSL.

            It is huge update from previous 5.7 used in TSRE, so I have to fix some bugs that emerged.
            For example I have to do something with DDS texture loading:

            Note: For security reasons, the Direct Draw Surface (DDS) handler is not built by default since Qt 5.8. Users who still want this handler can build it from the source project.

            So, the problem changed from "No HTTPS TSRE until I buy new SSD" to "No 32 bit TSRE until I buy new SSD".
            Last edited by GokuMK; 10-18-2018, 05:22.

            Comment

            • cnwfan
              1000 Post Veteran

              • Oct 2005
              • 1250

              #66
              I am unfamiliar with OSM, can you see sidings and yards with this?
              Todd
              Iowa Chicago and Eastern Mason City Sub

              Comment

              • GokuMK
                Senior Member

                • Oct 2015
                • 729
                • Poland

                #67
                Here you can see what railway infrastructure is visible in OSM:
                OpenRailwayMap - An OpenStreetMap-based project for creating a map of the world's railway infrastructure.


                And here you can see everything else:
                OpenStreetMap is a map of the world, created by people like you and free to use under an open license.


                There are areas where the data quality is overwhelming, but for some rural areas there might be low quality data.
                In this case you must use OSM editor to make the map better (using one of many available satellite image layers) and then use the data in TSRE.

                Comment

                • cnwfan
                  1000 Post Veteran

                  • Oct 2005
                  • 1250

                  #68
                  I’m liking OSM, any suggestions as far as old sidings that were in place 10+ years ago? I see map has some data for that but some that were taken out two years ago arnt in.
                  Todd
                  Iowa Chicago and Eastern Mason City Sub

                  Comment

                  • haverfordwest
                    5500 Post Veteran


                    • May 2010
                    • 5541
                    • Johnston, S.W.WALES
                    • Run8

                    #69
                    Good stuff GokuMK, thanks for the links.

                    Mike.
                    Yma O Hyd

                    Comment

                    • slipperman
                      3500 Post Veteran



                      • May 2010
                      • 3787
                      • Worksop, UK
                      • MSOR

                      #70
                      Hi GokuMK,
                      Many thanks for those links, particularly www.openrailwaymap.org

                      Will they be downloadable on to routes being created in TSRE5 to provide the line of the track? Are the satellite image layers available from other than Google?

                      Cheers,
                      Ged

                      Comment

                      • cnwfan
                        1000 Post Veteran

                        • Oct 2005
                        • 1250

                        #71
                        Originally posted by slipperman
                        Are the satellite image layers available from other than Google?

                        Cheers,
                        Ged
                        He suggests there are but you will have to find the links yourself. I’m hoping he will be kind enough to provide links when the new update comes out. While I like OSM, real world images are important to set buildings right. Since Google is out as a second choice for this
                        Todd
                        Iowa Chicago and Eastern Mason City Sub

                        Comment

                        • GokuMK
                          Senior Member

                          • Oct 2015
                          • 729
                          • Poland

                          #72
                          There are no free worldwide static API satellite image services. Google was the only service of this kind, but after killing their opponents, they closed free service. If you want to use GM, give them your credit card info. Some users did this and are still using GM API.
                          Some users can still use old API key without credit card info, like me. Bug?, gift? Don't know. But google says that this is no longer allowed.

                          There are local satellite image services and if you find one where you can use HTTP/HTTPS request with these values:
                          {lat},{lon},{zoom},{res}
                          You can use them.

                          Comment

                          • cnwfan
                            1000 Post Veteran

                            • Oct 2005
                            • 1250

                            #73
                            Some yes but this has been hashed out before some like me can not ! I will not give google my CC I do not have the money to spend for API that google is wanting! Here we go again with re hashing a old topic. Let’s move forward shall we? Why waist my time and effort into something that I can not get right.


                            I do do not know how to input that request into settings, please show correct way . Thank you.
                            Last edited by cnwfan; 10-18-2018, 14:30.
                            Todd
                            Iowa Chicago and Eastern Mason City Sub

                            Comment

                            • MSTS lifer
                              Senior Member

                              • Dec 2012
                              • 523

                              #74
                              Originally posted by NorthernWarrior
                              The strange thing is, I briefly fired up the Railworks (TS2019) editor the other day and the Google Maps overlay still works fine under my old API. Not much consolation for the TSRE situation but does seem to indicate enforcement from Google is somewhat erratic. And no, they haven't got my debit card details!
                              Well my API for TS went bye-bye 8 days ago. Last time it worked was Oct 9th. On the 10th nothing but the %$$#@@ spinning blue circles. Update to TS 2019 didn't solve the issue. Can't make head or tales out of the Google Cloud Platform now as well. Better than 75% of the time pages won't even load. When it does, My API is enabled according to Google. But get this, as I study the page the darn API become disabled. Refresh the page and if it loads, it's enabled again only to immediately fail. I can't set up a billing account even if I wanted to. I tried. Google Cloud Platform (controls the maps now) will not accept a prepaid CC. I was a victim of ID theft 8 years and all though I was cleared by the local police and 7-8 banks, 1 bank demanded their money. So whenever I try for a bank account or a regular CC, that bank comes up on the report and I'm denied.So I'm going to have to build old school which I have never done before. I found a very good PDF for TS on how to go about this. I have not tried yet, but so far I've understood what I've read to date.I think it's pretty clear now that of one wants a working API or any other kind of map from Google you'll need a billing account with a VALID CC or bank account. Google really put the screws to the train sim as well as the flight sim communities.

                              Comment

                              • GokuMK
                                Senior Member

                                • Oct 2015
                                • 729
                                • Poland

                                #75
                                Here is experimental version with OSM support:

                                Only 64 bit at the moment. 32 bit later.
                                This version is based on a new QT build and requires some tests.

                                How to install? Paste this exe in existing TSRE installation and rename "695" directory to "696".
                                Automatic data download doesn't work in this experimental release.

                                New experimental and not tested features:
                                - elevation info for dynamic tracks and rulers
                                - set position Y value for group of objects
                                - edit position of signal shape in properties window
                                - more actions available from the context menu
                                - pick elevation for placement -> easy placement of elevated track using short segments
                                - new option "useTdbEmptyItems = false" may help editing broken routes?

                                And much more.

                                Now you can test this version and I'm going to one week long vacation.

                                Comment

                                Working...