API key for TSRE

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

    • Oct 2005
    • 1250

    #76
    Thank you for doing this! Hope we can get a down day for harvest to download the latest version!
    Todd
    Iowa Chicago and Eastern Mason City Sub

    Comment

    • Vince
      6500 Post Veteran

      • Nov 1999
      • 6961
      • Mohave

      #77
      Originally posted by GokuMK
      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.
      Hi Goku,
      Downloaded v6963 & installed no problems.

      Question tho' . . . I assume that: useTdbEmptyItems = false goes into the Settings.txt file?
      Is this correct?

      I looked at the alter global Y axis for signal items.
      Yay! Just in time as I ready to start replacing all those dead signals I've deleted over the past few days.

      I'll report any glitches I find.

      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

      • rodrigoville
        Senior Member
        • Dec 2008
        • 405
        • Aguascalientes, Mexico

        #78
        HI to ALL,

        I aware that API topic was mentioned in previous post... but I am looking for some help in the use of API...

        I got my API key and I changed the setting entering the URL... but when I am in TRSE loading the map the program shows a failure and it closes exactly when there is only 1 missing item to load the map for exmaple..

        wait.. 141/142 when there is one left item to complete the load of the map the TRSE stops working and it closes

        This is the URL that I am ussing:

        https://maps.googleapis.com/maps/api...e=400x400&key=MYKEYHERE

        I tested the URL with the new york map showed in previous post with my API key and I am able to load a map of New York in any tile of my route... but when I use my URL the TRSE collapsed just with a 1 item left to complete the map...

        please see the picture attached with the issue during the loading of the map
        IMG-20181116-WA0000.jpg


        It is something related to the lat and long, and zoom???
        could someone assist?

        thanks

        Comment

        • eolesen
          9500 Post Veteran and Administrator



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

          #79
          Try selecting Z17 in the Load Map dropdown?
          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

          • rodrigoville
            Senior Member
            • Dec 2008
            • 405
            • Aguascalientes, Mexico

            #80
            HI, thanks for the information...

            I already tried using Z17... but it happened the same with 1 item pending to be loaded the program TRSE closes...

            My thinking is that the URL is not correct defined in the setting file... could someone confirm that?

            I used the following URL provided by my google API Key console:

            imageMapsUrl = http//maps.googleapis.com/maps/api/staticmap?center=40.714%2c%20-73.998&zoom=12&size=400x400&key=MY_API_KEY[/url]

            that is not matching with the configuration of URL showed in previous post... as:

            imageMapsUrl = http//maps.googleapis.com/maps/api/staticmap?center={lat},{lon}&zoom={zoom}&size={res }x{res}&maptype=satellite&key=MY_API_KEY

            The specific question is... do I have to put values for lat, lon, zoom, and size??? or it should be exactly as the URL with just the names {lat} {lon}..etc just adding my API key at the end?

            I also noticed that URL provided does not have the letter "s" for https... only as http.... what is the correct? with as https, or http??

            I will appreciate the support on this..

            Thanks.
            Last edited by rodrigoville; 11-16-2018, 12:30.

            Comment

            Working...