Adding split data point (shape) in one map

5 visualizaciones (últimos 30 días)
Rachele Franceschini
Rachele Franceschini el 18 de Nov. de 2021
Respondida: arushi el 2 de Mayo de 2024
Hi Can you help me?,
I would like to merge differents data with coordinates within one map.
I mean, I have two split data (shapefile). These data are points. These points I would like in one map using the function shaperead (I think)
I would like to rappresent this data in one map, the way similar it is to use ArcGIS, but I need to use MATLAB.

Respuestas (1)

arushi
arushi el 2 de Mayo de 2024
Hi Rachele,
I understand that you want to merge and display point data from two different shapefiles on a single map in MATLAB. You can use the "shaperead" function to read the shapefiles and geoshow or mapshow functions to plot them, depending on your coordinate reference system.
First, you'll need to read your shapefiles using the "shaperead" function. Next, prepare a figure where you will display the map. This step involves initializing a figure window.Use "hold on" and "hold off" to add new data to a set of existing Axes.You can then plot the data in the same figure.
figure;
hold on; % This allows multiple plots in the same figure.
Please refer to the Mathworks documentation for more information on hold on :
Hope this helps.

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by