GithubHelp home page GithubHelp logo

Comments (3)

yuanjian24 avatar yuanjian24 commented on May 28, 2024

Hi, I also run into the same error while trying map_con.add_node(nid, (row['y'], row['x'])) using OSM download from OSMNX

It works when I set rtree=False:

map_con = InMemMap(name='pNEUMA', use_latlon=True, use_rtree=False, index_edges=True)

from leuvenmapmatching.

creatorLEI avatar creatorLEI commented on May 28, 2024

Thank you, I'll try it. By the way, I also used the method proposed in "Pull requests", which also works.

from leuvenmapmatching.

wannesm avatar wannesm commented on May 28, 2024

Thanks for the notification and detailed information. This was an unintended change in this file. I've reverted it back to insert in df90155 . This way you can still use rtree which is a lot faster than linear search (remember that inmem.py is simple demonstration database. A real db like sqlite/postgress is recommended).

from leuvenmapmatching.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.