cleder / fastkml

Fast 🌍️ KML processing for python

Home Page:https://fastkml.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve namespace handling

cleder opened this issue · comments

Refactor to be independent of predefined namespaces and utilize the name_spaces attribute to determine the appropriate namespace.

To support namespaces on attributes as well, extend the fastkml.registry.registry.register method with an e.g. supported_nsids: Tuple[str, ..] parameter that loops over all namespaces for the registered functions (possibly as a decorator for the fastkml.helpers.*_kwargs functions)