Let's say I have a
geopandas.GeoDataFrame with a
shapely.geometry.polygon.Polygon as geometry type.
The problem is that I have an attribute per vertex of the polygon, which could theoretically be stored in the shapefile's
M slot. The only problem is that I could not find an option to include this
M into the polygon. The shapely documentation says:
The Polygon constructor takes two positional parameters. The first is an ordered sequence of (x, y[, z]) point tuples [...]
Further, when using the geopandas.GeoDataFrame.to_file method, I couldn't find an option to insert this kind of information.
Can anyone help?