Comments (4)
As a workaround, distance()
seemed to work (it returns 0.0007597735583716097
)...
from geo.
God damnit, I'm an idiot. Please ignore this issue... :(
(turned out I had written assert(ln.intersects())
instead of !ln.intersects
in this reduced test case, and I was using ||
instead of &&
in my code that was broken....)
from geo.
np! I was about to ask whether the test was correct when you beat me to it. Looks like you're building something OSM and rail-related…ping us if / when it's something public?
from geo.
@urschrei Yup, your guesses are correct...I'm trying to work out when level crossings close & open in the UK, using OSM and Network Rail data. Not as easy as I'd hoped! I'll ping you if I ever manage to make anything useful.
from geo.
Related Issues (20)
- Happy 1,000th issue geo 🎉
- Panic due to integer overflow in Line::delta logic, and thus Line::slope HOT 6
- Offer `Triangulate` algorithm trait HOT 14
- Clarify that the `triangles` method does _not_ do triangulation HOT 3
- ML-assisted contributions
- Compiling with cross set to target `armv7-unknown-linux-gnueabihf` causes issues with `try_map_coords_inplace`. HOT 11
- Nightly build error with `1.71.0-nightly` HOT 2
- MSRV policy HOT 12
- Add "Geospatial" category to `Cargo.toml` HOT 1
- Panic in BooleanOps::difference for Multipolygon HOT 10
- `MapCoordsInPlace` not listed under `Iteration` in `lib.rs`
- Implement EuclideanDistance for all combinations of geometry types HOT 1
- implement conversion from multipolygon to polygon of length one HOT 2
- implement RTreeObject for `Geometry`
- Add `ClosestPoints` trait which returns the two closest points between two geometries. HOT 5
- LineString intersection API HOT 2
- LineString slicing HOT 2
- Rename Bearing trait to HaversineBearing
- Change in behavior of LineString::simplify from 0.23.1 to 0.24.0 HOT 3
- `Bearing.bearing(p: &Point)` computes wrong bearing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geo.