spiderosm icon indicating copy to clipboard operation
spiderosm copied to clipboard

Global dictionaries in osm.py

Open obtitus opened this issue 10 years ago • 1 comments

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 ;)

obtitus avatar Nov 13 '15 16:11 obtitus

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.

mharnold avatar Nov 15 '15 19:11 mharnold