Re: In fiona.open(), can I pass a namedtuple into schema, rather than a dict?


Sean Gillies
 

No, namedtuples aren't supported. fiona.open() only accepts a dict or ordered dict. We're switching from dicts to custom classes in several other places in Fiona, but haven't made plans to do so for the schema.

On Thu, Jun 13, 2019 at 2:32 PM <joe.huang@...> wrote:
Named schemas are a little more lightweight and seem well-suited to the purpose of the schema dict.



--
Sean Gillies

Join main@fiona.groups.io to automatically receive all group messages.