Effacer les filtres
Effacer les filtres

Can I make a shapefile out of three variables?

2 vues (au cours des 30 derniers jours)
Louise Delaigue
Louise Delaigue le 25 Juil 2017
Commenté : Walter Roberson le 5 Juil 2019
Hi there,
I am working on a system, where the bathymetry does not exist in Ocean Data View. I have the bathymetry data, but I would need to turn them into a shapefile to then use it in ODV.
How can I make a shapefile out of a set of coordinates (lat, lon) and depth? I have about 400,000 data points..
Thanks for your help!
Louise
  4 commentaires
Louise Delaigue
Louise Delaigue le 25 Juil 2017
Hello! My field of science is oceanography. I would like to basically map the bathymetry that I have into a shapefile contours, to then import it into another software. I am a beginner on matlab, thanks for your patience.
Chad Greene
Chad Greene le 25 Juil 2017
Louise, my experience with ODV is limited--what can you do in ODV that can't be done in Matlab?

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 25 Juil 2017
Read about shapewrite
  7 commentaires
CamboSlice
CamboSlice le 5 Juil 2019
Hello,
I was wondering if this was possible WITHOUT running it through a for loop? I make MANY shapefiles and have recently been writing them using MATLAB but they take FOREVER when they contain around 10,000 points. It takes less than 5 seconds to actually compute the data but then about an hour writing it to a shapefile. Avoiding a for loop would be wonderful.
Thank you!
Walter Roberson
Walter Roberson le 5 Juil 2019
cell2struct() to avoid the loop. Probably in connection with num2cell() to create the data as cell.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by