Effacer les filtres
Effacer les filtres

Creating a shapefile...

4 vues (au cours des 30 derniers jours)
Joao
Joao le 7 Déc 2018
Hi all,
I've a bunch of data that I would like to store in a shapefile using matlab, but this is being really tricky.
My data has 149 elements and 6 fields. The fields are "Geometry" (char), "Latitude" (vector changing for each element), "Longitude" (vector same size as Latitutde), "Prop 1" (vector same size as latitute), "Prop2" (constant value), "Prop3" (constant value). So far:
1 - I've created an structed array to use shapewrite:
Error using makedbfspec>validateAttributes (line 350)
Attribute field Latitude of S contains at least one value that is not a scalar.
2 - If tried using geoshape to convert my structed array to a format that could be used by shapewrite:
Only Lat and Long were written not the other fields
Can someone help me with this please.
Thanks in advance

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by