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
What would be the appropriate class to deserialize to?
According to Utils.IdentifyStacType the type of the above json is SimpleLinksCollectionObject, however I cannot use it in StacConvert.Deserialize<T> because it does not inherit from IStacObject
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Emmanuel, thanks for the work you are doing in the DotNetStac project!
I'm currently trying to implement a Stac browser using DotNetStac but I'm having some issues you hopefully can help me with.
I can successfully deserialize to
StacCatalog
andStacCollection
, the problem is when I try to get thefeatures
inside a collection.i.e.: https://planetarycomputer.microsoft.com/api/stac/v1/collections/naip/items
What would be the appropriate class to deserialize to?
According to
Utils.IdentifyStacType
the type of the above json isSimpleLinksCollectionObject
, however I cannot use it inStacConvert.Deserialize<T>
because it does not inherit fromIStacObject
Thank you so much in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions