Giter Site home page Giter Site logo

urschrei / polylabel-rs Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 8.0 1.06 MB

A Rust implementation of the Polylabel algorithm, with FFI.

Home Page: https://docs.rs/polylabel

License: Other

Rust 94.43% Python 1.29% Shell 0.80% Jupyter Notebook 2.94% PowerShell 0.18% C 0.36%
algorithm computational-geometry ffi geo geospatial gis mapping rust rust-library

polylabel-rs's Introduction

About

I'm a Marie Curie research fellow in the department of geography at Trinity College Dublin. My work focuses on public participation in climate adaptation, specifically, the use of "serious games", geodata, maps, and open urban data to inform and facilitate public participation.

I also work on computational geometry algorithms in Rust, and I have a longstanding interest in geographic data processing and visualisation in Python.

If you're interested, you can see my publications at Google Scholar. I almost never talk about work on social media. I am not overly interested in imputing meaning to the results of matrix multiplication.

polylabel-rs's People

Contributors

ckp95 avatar dabreegster avatar dependabot-preview[bot] avatar dependabot[bot] avatar mark-simulacrum avatar michaelkirk avatar robwalt avatar urschrei 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

polylabel-rs's Issues

new release for dependency updates

It looks like it's only dependency updates, but it'd be nice to avoid patches to avoid including multiple versions of depenencies, e.g. https://github.com/a-b-street/abstreet/blob/master/Cargo.toml#L45

Here are the changes compared to the commit which I think[^**] corresponds to the latest release: 12f0e5e...master

[**]Note: We're missing a tag on GH for the latest (2.4.1) release: https://crates.io/crates/polylabel/versions

I'd guess it corresponds to 12f0e5e which happened on the same date, but I'm not sure.

Python wheel

Hello,

Are you planning on creating a python wheel to utilize this binary? I have a use and was looking at the steps of creating one when I saw that you are making python packages for many of your rust implementations.

Thanks!

Would you consider making cbindgen dependency optional?

I have a pure rust project which has no need for the generated bindings.

I'm not familiar enough with cbindgen to know what the conventions are, but I was thinking it might make sense to simply make cbindgen an optional build dependency, and only generate the bindings when the feature is enabled.

Are you amenable to a PR?

For context, what brought me here was I noticed that your (up-to-date!) cbindgen resulted in my project duplicating the dependency. Now, I know I should go hound all the other crates to update their cbindgen, but the only thing better than an up-to-date dependency is no dependency at all!

Feature-guard cbindgen dependency

I'm having trouble depending on polylabel -- cbindgen 0.6.8 requires the old serde_derive 1.0.58, which is conflicting with the newer version demanded by some of my other dependencies. Is it possible to either guard the build-dependencies section by an optional feature, or upgrade the cbindgen dependency in the hopes that it'll use a more recent serde_derive? Thanks!

Tolerance parameter is too high in example

The L-shaped example uses a tolerance of 1.0 yielding the point (0.5, 1.5). Reducing this parameter to 0.1 matches the expected value (0.5625, 0.5625).

Using geo = "0.14.0" and polylabel = "2.3.0"

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.