Closed Artur-man closed 1 month ago
Hi @Artur-man, here the problem is that parse()
uses functools.singledispatch
, so the first argument should be specified without the prefix data=
. We will be making a new release next week that will also add a notebook on the shapes model.
Minor note, we don't interact with the geopandas
part that uses the crs
, so the line , crs='epsg:4326'
should have no effect.
Ah that works, thanks!
Dear all,
I have been playing around with spatialdata.models and was trying to build a custom ShapesModel object with Polygon geometry.
I have started with a set of Polygon points, and kept getting IndexError, but then I simplified the example as in here:
Here is how the GeoDataFrame looks like:
But still throws the same error. Would love to know if I am doing something wrong here.
This is the version pulled from main branch. Thanks in advance.