clarisma / geodesk-py

Fast and storage-efficient spatial database engine for OpenStreetMap data
https://docs.geodesk.com/python
GNU Lesser General Public License v3.0
36 stars 0 forks source link

Implement `==` for `Tags` #55

Open clarisma opened 5 months ago

clarisma commented 5 months ago

Right now, the tags of two features can only be compared for equality by first converting them to a str or dict. It would be easier (and faster) to allow direct comparison:

if a.tags == b.tags: ...