Editing Google maps terrain_maps in TSRE5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rickloader1
    New Member
    • Jul 2011
    • 13
    • Hampshire UK

    #1

    Editing Google maps terrain_maps in TSRE5

    Having downloaded google maps images, with TSRE5 ,I need to edit them for colour correction, and to remove modern features that are out of place in my period route.
    Can anyone advise me please?
    I have found that in tools/ Geo/ loadmap/ save to disk, a .png image is created in routes/myroute/terrain_maps. This image can be adjusted in Photoshop. So my tile -6158 14889 becomes -61584889.png by TSRE5.

    TSRE5/ geo/ make tile texture from map converts the edited .png to .ace in the route terrtex file as -109a98e0_map.ace.
    So far so good. The edited terrain shows in TSRE5 and in game. However, any subsequent edits don`t show, and TSRE5 always shows the first edit. So is there a 3rd location TSRE5 is storing image info? "Tiles" folder for example And how to access this?
    I have tried converting . png to .bmp then to .ace with TGAtools but no go.
    thanks for any help, rick
  • rickloader1
    New Member
    • Jul 2011
    • 13
    • Hampshire UK

    #2
    I`ve found that converting edited map images to ace in terrtex using TGAtools does actually work. Maybe my failed attempts were due to lack of memory as these are big 4096 textures.
    So the steps are
    1) In TSRE5 Download the googlemap using your api key, save to disk and make tile texture from map
    2) Load the .png from routes/myroute/terrain_maps and edit
    2) save as .bmp
    3)Back in TSRE5 find the main tex e.g -109a98e0_map.ace ( tools/objects/ select / click a terrain patch)
    4)Using TGAtools export the .bmp as .ace to your route terrtex folder.

    I confess I`m working in Open Rails, but this seems the location for TSRE5.
    The edited terrain_maps are pleasing in game, when decorated with vegetation and buildings, and the low res is offset by the varied textures.
    My thanks to Goku!

    Comment

    • cnwfan
      1000 Post Veteran

      • Oct 2005
      • 1250

      #3
      Originally posted by rickloader1
      1) In TSRE5 Download the googlemap using your api key, save to disk and make tile texture from map
      How is this possible when google is wanting you to pay for a key?
      Todd
      Iowa Chicago and Eastern Mason City Sub

      Comment

      • rickloader1
        New Member
        • Jul 2011
        • 13
        • Hampshire UK

        #4
        Google has my card details for the api key. Some people are comfortable with this : others not. If you are not , open a 2nd sacrificial account with a few dollars. Please lets not divert this thread into a "google are evil rant"

        Returning to map editing. Often you need the track tdb outline, especially when existing track does not follow the google map.
        Mosaic has a feature to copy the tdb outline, but it crashes with the 4096 textures.
        However, zoom out in Mosaic to get a single tile full screen and "print screen"
        Paste this into a Photoshop 4096 image, and you now have the location of your tracks.
        To get the railroad "right of way", you need 3 layers
        1) Make the Mosaic track the visible layer
        2) Make the google terrain_map the active layer (ie the painting onto layer)
        3) Make a right of way texture layer. Use the clone stamp tool to use this as your drawing source.
        Now trace the rail tdb path with the clone stamp and you will draw the rightof way onto the terrain_map image.

        An oddity is that TSRE5 seems to name the tiles shifted 1 tile to the East. This can be confusing when searching for savedmaps. Making the icons bigger seems to help.
        Finally, when I say "Photoshop" of course any layers capable editor will do.
        rick

        Comment

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

          #5
          Hello

          I am going to use API key for terrain... Do you know how could I be aware of no exceeded the allowed 300 dollars of free trial.. how many tiles represent?

          Are the 300 dollars of free trial annually? Or monthly o what happens if I download more maps than the free trial??

          I will appreciate your help to prevent having a incorrect usage and oaying...

          Thanks

          Comment

          • rickloader1
            New Member
            • Jul 2011
            • 13
            • Hampshire UK

            #6
            You will be aware of your usage because you can set alarms when a certain amount is exceeded. You get monthly emails itemising your usage. The free trial is for 1 year, and afterwards you pay if you want to continue. Any left over money of the free 300 uSD is lost.
            So it would make sense to download all of your routes tile in the first year.
            I do not understand exactly how Google calculates usage, but I think it is like this..... maybe??
            There are 2 down load options in TSRE raster z17 and z18
            z17 counts to about 70, and z18 is higher resoulution at about 140 = calls to google for 1 map image.
            So this month I have 1500 calls @ about 3USD = about 10 tiles. So very roughly you can get 1000 tile images in your free year.
            As I said, z18 has a more detailed image for the same 4096 sq, than the z17 raster. But z18 would time-out on my uk broadband. I just got a fibre connection and it now completes the download.
            rick

            Comment

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

              #7
              Hi thanks a lot for your help!!

              I have an additional question..

              I updated the settings.txt file addign the following line

              Googlemapskey = my API key here*

              Should I add something else? Due when I started downloading the map usign z18 there was an advice saying that I should put some URL in the settings...

              I will appreciate your help!!

              Thanks

              Rodrigo
              Last edited by rodrigoville; 11-15-2018, 20:19.

              Comment

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

                #8
                Originally posted by rodrigoville
                Hi thanks a lot for your help!!

                I have an additional question..

                I updated the settings.txt file addign the following line

                Googlemapskey = my API key here*

                Should I add something else? Due when I started downloading the map usign z18 there was an advice saying that I should put some URL in the settings...

                I will appreciate your help!!

                Thanks

                Rodrigo[ATTACH=CONFIG]75446[/ATTACH]
                Captura.JPG

                Comment

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

                  #9
                  Hello

                  I was able to use my API Key but when I am loading the map... using z17 or z18 just when there is one item pending to be load TRSE fails in the program stop working.... in z17 when the map is loading 41 / 42 fails, and z18 when the loading is in 142/143 fails...

                  amERROR.jpg I missing something??

                  See picture attached

                  Thanks

                  Comment

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

                    #10
                    Hi Rick!

                    I was able to obtain satelite images for my route using API key and TSRE, but I have noticed that the size GBytes of my route is going up very fast, in a very short part of my route I have 3GB....!!

                    what type of maps are you using Z17 or Z18?
                    Is there a way to have a better management of the size in GB of my route? I am concern about the size in GB...
                    whats is the distance in miles that yur route is having and how many Gbytes do you have? just to have a reference...

                    Thanks!

                    Comment

                    Working...