Can I make a shapefile out of three variables?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
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?
Réponses (1)
KSSV
le 25 Juil 2017
Read about shapewrite
7 commentaires
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
le 5 Juil 2019
cell2struct() to avoid the loop. Probably in connection with num2cell() to create the data as cell.
Voir également
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!