Code Monkey home page Code Monkey logo

pygeodesic's People

Contributors

akaszynski avatar mhogg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pygeodesic's Issues

Segment Fault

Hi, I encoutered an error with only segment fault logging, "Segmentation fault (core dumped)".
I found out the error line is the initiation of geoalg:

geoalg = geodesic.PyGeodesicAlgorithmExact(vertices, faces)

Then I check vertices and faces loading, and everything is ok. Is it a memory problem or something buried inside C++ code?
Btw, I've got 17000+ vertices and 34000+faces in that case.

Path flips sometimes.

Thanks for sharing the code!
When I call the function geoalg.geodesicDistance(p1, p2), where p1 should be source, p2 shoulde be target. The returned path will be flipped sometimes. i.e. The path should start from p1 to p2, but instead it will return a path from p2 to p1 instead.

Issue when importing pygeodesic

Hello,
Thank you for the nice library. However, I cannot import it as I get the following:

import pygeodesic.geodesic as geodesic

  File "pygeodesic\geodesic.pyx", line 1, in init pygeodesic.geodesic

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Any idea ?

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.