Effacer les filtres
Effacer les filtres

M map won't run

26 vues (au cours des 30 derniers jours)
Hollie Cushion
Hollie Cushion le 30 Jan 2019
Commenté : Madmad le 19 Mar 2024
I'm trying to run m map, I have downloaded this and made it part of the pathway on matlab, I then run this line:
m_proj('utm','lat',[29 19],'lon',[-82 -97])
then:
m_gshhs_i('patch',[0.5 0.5 0.5]);
but get given this error:
Warning: Coastline file private/gshhs_i.b not found \n(Have you
installed it? See the M_Map User's Guide for details)\n ---Using
default coastline instead
> In mu_coast>get_coasts (line 460)
In mu_coast (line 101)
In m_gshhs (line 116)
In m_gshhs_i (line 28)
I have checked the file and everything is there and in the pathway, plus have redownloaded mutliple times, so if anyone has any ideas that would be a great hekp, thank you.
  9 commentaires
Walter Roberson
Walter Roberson le 23 Août 2022
Rik
Rik le 4 Juil 2023
Comment posted as flag by Xiaofei Zhan:
you can download a new coastline data and load in the path , the original tool box do not include it

Connectez-vous pour commenter.

Réponses (2)

Sathsara Dias
Sathsara Dias le 8 Fév 2024
  1. Visit the National Centers for Environmental Information (NCEI) website at "https://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/" to access the GSHHG (Global Self-consistent, Hierarchical, High-resolution Geography) data files.
  2. Locate and download the file named gshhg-bin-2.3.7.zip from the list of available files.
  3. Once the download is complete, extract the contents of the ZIP file. Within the extracted folder, search for a file named gshhs_i.b.
  4. Copy the gshhs_i.b file to the data folder located within the m_map folder in your project directory.
By following these instructions, you should have successfully integrated the GSHHG data into your project. This setup is crucial for the correct functioning of the mapping features. Good luck with your project, and should you encounter any issues, feel free to seek further assistance.
  1 commentaire
Madmad
Madmad le 19 Mar 2024
Thanks!

Connectez-vous pour commenter.


Aditya Kaloji
Aditya Kaloji le 26 Juin 2022
Hi
You can this :
"If the database files are not in subdirectory m_map/private, you must edit the FILNAMEsetting in m_gshhs.m to point to the appropriate files."
Thanks
  2 commentaires
Walter Roberson
Walter Roberson le 26 Juin 2022
That is what Mark suggested in 2019
Xiaofei Zhan
Xiaofei Zhan le 2 Juil 2023
you can download a new coastline data and load in the path , the original tool box do not include it

Connectez-vous pour commenter.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by