'Save shapefile as mat file using python?
After reading a shapefile using the following: Using Fiona
y_data = fiona.open("example.shp")
y_data.schema
and I came across how to save it as a mat file by doing:
scipy.io.savemat("example_save.mat", y_data)
The following error showed up: TypeError: 'int' object is not subscriptable
Any hints?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
