Open
Description
I attempted to implement fix for osmcode/pyosmium#66 but I'm missing few constructs in libosmium.
- Factory methods for
Multimaps
. There are few approaches that I considered, but neither is without drawbacks:
- just copy&paste most of
MapFactory
to Multimap - create generic
MapFactory
that can register and create bothMap
andMultimap
by extending the template with one more argument, but this will break backward compatibility - create generic
MapFactory
as a "meta-template", and create separate factories forMap
andMultiMap
-
Multimap
interface doesn't specifyget_all
method (not all implementing classes implement this) so there is no way to retrieve data usingMultimap
interface, user would have to bind to specific implementation -
(probably not that important)
Multimap
andMap
missiterator
,begin
,end
triple to make it easy to expose a way to iterate through the (key, value) pairs -
multimap/all.hpp
is missingmultimap/hybrid.hpp
#include
Metadata
Metadata
Assignees
Labels
No labels