Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join connected SEGMENTs into LINESTRINGS #145

Open
Notgnoshi opened this issue Feb 12, 2023 · 0 comments
Open

Join connected SEGMENTs into LINESTRINGS #145

Notgnoshi opened this issue Feb 12, 2023 · 0 comments
Labels
C++ general Supports _general_ generative art graph Geometry type Rust

Comments

@Notgnoshi
Copy link
Owner

Notgnoshi commented Feb 12, 2023

Input:

LINESTRING(0 0, 0 1)
LINESTRING(0 1, 0 2)

Output:

LINESTRING(0 0, 0 1, 0 2)

Use a heuristic to traverse graph, and emit traversals as LINESTRINGs. Maybe add to the traverse tool? Or to geom2graph --graph2geom

The problem with geom2graph is:

  1. It's C++
  2. It outputs two-point LINESTRINGs, even when they're adjacent (because it uses GEOS for this)

Related: #130

@Notgnoshi Notgnoshi added general Supports _general_ generative art C++ Rust graph Geometry type labels Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ general Supports _general_ generative art graph Geometry type Rust
Projects
Status: TODO
Development

No branches or pull requests

1 participant