What exactly does LOTUS expect an aerial map link to return?

  • Hi,


    I'm attempting to port over my Aerial imagery bridge for Google Maps from OMSI to LOTUS. In OMSI I know that just using:

    PHP
    1. header("Location: " . $link);

    would redirect to the image using a generated link, but does it now need to go directly to a png or jpeg file? I've tried setting the Content-Type in the header, but no luck. How is the link handled differently to OMSI? Any help is appreciated!

  • Hmm, the file will be just downloaded from the URL and then saved...

    It appears that its not actually going to my URL, and is still using openstreetmaps. Any ideas? Cache folder was deleted a few times, restarted the editor..

  • What do you have entered as link finally?

    Its running off of a small webserver on my local network, hence the IP.

    Code: Aerial Link
    1. http://192.168.0.3/maps.php?x=~x&y=~y&z=~z&apicode=[REDACTED]


    You have switched "Ground textures" over to "Aerials", haven't you?

    Wait, so I'm guessing the Terrain Texture Map uses a default openstreetmaps server? Does Aerial's use the aerial link provided? - if so, that would explain why it doesnt work. Let me try it quickly.


    EDIT: So, yes, the above point seems to be the case. However, the images are slightly jumbled up, so I guess I'll have to debug that on my side. Is there a way to limit which tiles get aerial info?

  • Sorry, but I don't really understand this question...? :-(

    Basically, is it possible to select which tiles get the aerial imagery?


    ^ that question is kind of irrelevant for me now, as I needed it for debugging, but found the issue.

    One last question, am I able to disable the higher resolution aerial image for the current tile? it takes quite a while to download, and I don't want to have to continuously wait a long time when I move on to a different tile

  • One last question, am I able to disable the higher resolution aerial image for the current tile?

    Since we currently have some troubles with the center tile, I think we will make this feature disengageable. :-)

  • Newly created posts will remain inaccessible for others until approved by a moderator.

    The last reply was more than 60 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.

    The maximum number of attachments: 5
    Maximum File Size: 500 kB
    Allowed extensions: bmp, cfg, ini, jpeg, jpg, lct, ldl, llg, lob, log, lpmtl, lptmt, ltx, pas, pdf, png, railtrack, rar, txt, veh, wav