Giter VIP home page Giter VIP logo

Comments (4)

gboeing avatar gboeing commented on June 5, 2024

Thanks for using OSMnx. Per the new issue template, 1) ensure you are using the latest release (you are currently have an old version of OSMnx), and 2) ensure you followed the installation instructions (i.e., install with conda instead if you're running into problems), as pip is an unsupported installation option for the reasons stated in the installation instructions.

from osmnx.

gboeing avatar gboeing commented on June 5, 2024

Looking at your error message, the longitude of "-179.2" also suggests that it could be a problem of wrapping around the antimeridian, which Shapely does not handle well because it uses a Cartesian plane for its geometry work. So assuming the problem persists after you upgrade to the latest version and install it all via conda, the question becomes: what exactly are you trying to analyze with this query? Do you want to study each of the Aleutian islands? Assuming not, it would be more straightforward to use graph_from_polygon with a simple study area polygon on just one side of the antimeridian.

from osmnx.

gboeing avatar gboeing commented on June 5, 2024

I just had a chance to run it, and your code snippet completes fine on my machine (OSMnx 1.7.1, dedicated conda env, Ubuntu). So try the two things I mentioned in my first comment.

from osmnx.

juthoma22 avatar juthoma22 commented on June 5, 2024

Thank you for making me aware of the guidelines and for the help! Using a custom polygon worked

from osmnx.

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.