Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get 3D models working in the Map #1709

Closed
daviderud opened this issue Jun 6, 2023 · 6 comments
Closed

Can't get 3D models working in the Map #1709

daviderud opened this issue Jun 6, 2023 · 6 comments

Comments

@daviderud
Copy link

Can't make the 3D models display in the 3d map feature in Windows (ver 7.14.2).
I tried performing clean install, removing registry entries and the folders:
C:\Users\USERNAME\AppData\Local\f4exb
C:\Users\USERNAME\AppData\Roaming\f4exb

No luck.

I noticed that the 3d files get extracted in:
C:\data\user\0\org.sdrangel\files\3d
that seem more like an android path rather than a Windows one...

Thanks

@srcejon
Copy link
Collaborator

srcejon commented Jun 6, 2023

Can you post your log file, please?

@srcejon
Copy link
Collaborator

srcejon commented Jun 6, 2023

Oh, and in ADSB settings, check Log 3D model matching information.

@daviderud
Copy link
Author

Ok after deleting the folders in my post above and re-downloading everything with the log enabled, now the 3d files sit in the right folder:
C:\Users\USERNAME\AppData\Roaming\f4exb\SDRangel\3d

And the model works.
I do not know why in the previous attempts the files were extracted into "C:\data\user\0\org.sdrangel\files\3d" instead.

By the way find the logs attached:

  • sdrangel.log : after cleaning the folders, run to re-download everything. Interestingly some files failed to download "OpenAIP::downloadFinished: Failed:". Don't know if this is expected.

  • sdrangel_postdownload.log: restarted after downloading everything, and started the ADSB demodulation. Interestingly there are messages "QGeoTileRequestManager: Failed to fetch tile (522,336,10) 5 times, giving up. Last error message was: 'Error transferring https://maps.wikimedia.org/osm-intl/10/522/336.png - server replied: Forbidden: Map tiles are restricted to Wikimedia & affiliated sites only. See https://wikitech.wikimedia.org/wiki/Maps/External_usage if you believe your usage supports the Movement.'". In fact I have troubles when zooming the 2D map "OpenStreetMap"

Anyway with the models files in the AppData\Roaming\ subfolder the 3D models work!

sdrangel_logs.zip

@srcejon
Copy link
Collaborator

srcejon commented Jun 7, 2023

  • sdrangel.log : after cleaning the folders, run to re-download everything. Interestingly some files failed to download "OpenAIP::downloadFinished: Failed:". Don't know if this is expected.

It's probably OK - there aren't files for all countries.

Interestingly there are messages "QGeoTileRequestManager: Failed to fetch tile (522,336,10) 5 times, giving up. Last error message was: 'Error transferring https://maps.wikimedia.org/osm-intl/10/522/336.png - server replied: Forbidden: Map tiles are restricted to Wikimedia & affiliated sites only. See https://wikitech.wikimedia.org/wiki/Maps/External_usage if you believe your usage supports the Movement.'". In fact I have troubles when zooming the 2D map "OpenStreetMap"

Ok, I can see this to on the Street Map (others seem to still work), which comes from WikiMedia. It seems WikiMedia have restricted the use of the maps to certain sites.

srcejon added a commit to srcejon/sdrangel that referenced this issue Jun 7, 2023
srcejon added a commit to srcejon/sdrangel that referenced this issue Jun 7, 2023
srcejon added a commit to srcejon/sdrangel that referenced this issue Jun 7, 2023
…ia servers are no longer available. For f4exb#1709"

This reverts commit 200e83a.
@srcejon
Copy link
Collaborator

srcejon commented Jun 7, 2023

The above patch switches tile servers from WikiMedia to OpenStreetMap. Street Map will look a bit different, but should work.

@github-actions
Copy link

This issue is going to be closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants