oscarpilote / Ortho4XP

A scenery generator for the X-Plane flight simulator
504 stars 206 forks source link

Default source #206

Closed chevdor closed 1 year ago

chevdor commented 1 year ago

Is it possible to setup a default source, especially for the Zoom Level editor ? It seems that the default is OSM, is there a reason for that ?

d41k4n commented 1 year ago

The default source is the one last selected in the main window. FYI: Whenever Ortho4XP exits normally the main window parameters are saved in file .last_gui_params.txt. This file is then read at the next start in order to populate the source parameters in the main and zoom level windows (under "Zone params").

However, the pre-selected source for the preview function is currently hardcoded to OSM). The reason for that is because the OSM layer includes administrative boundaries and names which are typically useful for identifying locations and POI's.

Btw, the official support forum is located here. I recommend posting usage questions there rather than raising issues here.

chevdor commented 1 year ago

Hello @d41k4n, thanks for your detailled answer.

The default source is the one last selected in the main window.

If tihs is the supposed behavior, it does not work. Thanks to your pointer to .last_gui_params.txt, I could edit the file and switch the default.

However, the pre-selected source for the preview function is currently hardcoded to OSM). The reason...

Ok clear, the issue is that OSM does not load (white content even when using a VPN) and crashes the App for me from time to time.

Thanks for the forum link, I am checking for a solution in there.

chevdor commented 1 year ago

btw OSM is returning an HTTP status 418 no matter what when using Ortho4XP so switching the default provider may help. With your hint above, I can easily fix it myself but I think that all users trying will not help with the situation.