mhogg / pygeodesic Goto Github PK
View Code? Open in Web Editor NEWPython library to compute geodesic distance over a triangular based surface mesh
License: MIT License
Python library to compute geodesic distance over a triangular based surface mesh
License: MIT License
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.
@mhogg, could we please generate a release (v0.1.9) to deploy the wheels for Python 3.12? Thanks!
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.
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.