Effacer les filtres
Effacer les filtres

How can I import shape file (Yield data points) and display the map?

10 vues (au cours des 30 derniers jours)
Golden Jiang
Golden Jiang le 26 Nov 2015
Modifié(e) : Surafel le 28 Jan 2023
How can I import shape file (Yield data points) and display the map? My Matlab here does not recognise this file type. Do I have to install the mapping toolbox first?

Réponse acceptée

Mohammad Abouali
Mohammad Abouali le 27 Nov 2015
Yes, you need Mapping Toolbox installed.
Then you can use shaperead() to read a shapefile. and then use geoshow() to visualize it.
If you just want to show it, and no further processing, you can directly use geoshow().
  1 commentaire
Surafel
Surafel le 28 Jan 2023
Modifié(e) : Surafel le 28 Jan 2023
Hi Mohammed I can read shapefile with this command and see the map.
S = shaperead('CityABCD.shp');
mapshow(S)
Question is how do I add this to a basemap please? also what if I want to have multipe shapefiles?

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by