Effacer les filtres
Effacer les filtres

Problem with siteviewer (Open Street Maps): name controller, connector service provider, get resource URL.

6 vues (au cours des 30 derniers jours)
Hi, I want to use this code in a Livescript in Matlab
clear all
close all
clc
tic
viewer=siteviewer("Buildings","map.osm","Basemap","streets");
toc
But at the end it results in this error:
Error using siteviewer
Unable to resolve the name controller.ConnectorServiceProvider.getResourceURL.
What can I do?

Réponses (1)

Aditya
Aditya le 21 Nov 2023
Hi Fernando,
I understand that you are encountering some error with the siteviewer” function in MATLAB. Although I've attempted to reproduce the error on my end using the same function, it didn't result in any issues.
Here are several steps you can take to troubleshoot and resolve this issue:
  • MATLAB Version and Toolboxes: Ensure that you have the correct version of MATLAB and the required toolboxes installed. The “siteviewer” function is the part of the Antenna Toolbox.
  • Check OSM file: Verify that the OSM file you're trying to load ("map.osm") is valid and accessible. Ensure that the file path is correct and that the file is not corrupted.
To further check the problem, please execute the commands below. If these execute successfully, it is likely that the issue is specific to the OSM file you are currently using:
>> viewer = siteviewer("Basemap","streets");
>> viewer = siteviewer("Basemap","streets","Buildings","manhattan.osm");
For additional information and examples on using the siteviewer function, please refer to the MATLAB documentation at the following link:
Hope this helps!

Catégories

En savoir plus sur Propagation and Channel Models dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by