You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help?> GI.properties
GeoInterface.properties(feat) => properties
Retrieve the properties of feat. This can be any Iterable that behaves like an AbstractRow. Ensures
backwards compatibility with GeoInterface version 0.
But here we return a Dict which doesn't have getproperty like an AbstractRow
However you can call getproperty on the feature itself as a workaround, its' just confusing - and we cant standardise code accross feature types.
The text was updated successfully, but these errors were encountered:
rafaqz
changed the title
Feature properties are kina broken
Feature properties are kinda broken
May 1, 2023
Maybe we need a wrapper for Dict that defines getproperty, or a a different kind of dict. Or... we define a NamedTuple exactly frome the pass that gets the column names so its type stable.
But here we return a
Dict
which doesn't havegetproperty
like anAbstractRow
However you can call
getproperty
on the feature itself as a workaround, its' just confusing - and we cant standardise code accross feature types.The text was updated successfully, but these errors were encountered: