Global dictionaries in osm.py
Hi, please see this diff: https://github.com/obtitus/spiderosm/blob/master/spiderosm/osm.diff
The previous code had 'ways' and 'nodes' as global variables, so creating 2 OSMData objects made these identical. I assume that was not the intention?
I might open a new issue asking for help getting spiderosm to work with Norwegian road data ;)
Thanks for the bug fix!
Cheers, Michael spiderOSM.org
On Fri, Nov 13, 2015 at 8:34 AM, Øystein Bjørndal [email protected] wrote:
Hi, please see this diff: https://github.com/obtitus/spiderosm/blob/master/spiderosm/osm.diff
The previous code had 'ways' and 'nodes' as global variables, so creating 2 OSMData objects made these identical. I assume that was not the intention?
I might open a new issue asking for help getting spiderosm to work with Norwegian road data ;)
— Reply to this email directly or view it on GitHub https://github.com/mharnold/spiderosm/issues/27.