Git Product home page Git Product logo

Comments (17)

anitagraser avatar anitagraser commented on July 20, 2024 1

That looks ok. Now you need to run summarize.py and then you can configure data-defined line widths.

It is not possible to use arrows to style bundling results, as discussed in the paper.

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024 1

It's impossible to provide a generic style because n will be different for each dataset. Use the Size assistant to get help with creating a suitable style expression:

menu_198

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

What's your input data CRS? Which settings are you using in edge bundling?

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

What's your input data CRS? Which settings are you using in edge bundling?

That is an understandable question. I will check whether I can share the data, so you can reproduce. I am pretty much using the default settings, but will provide those as well.

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

The default settings won't work for data in WGS84. For example, the default step size is 100. That means that, at the first processing step, intermediate nodes are moved by 100 degrees. The results can never recover from this huge displacement.

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

Ah, that makes sense I will try this again with different settings on Monday. What would be a better default step size, 0.5?

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

Try 0.001° ~ 100m

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

OK, good suggestion. I have tried various settings for the default step size, and get the following result with 0.05:

screenshot from 2017-11-06 11-06-04

How do I reduce the jaggedness of the lines (i.e. they are very zig-zaggey)? How do I apply your flow arrow styles to the output?

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

Still too big. Did you try 0.001 as I recommended?

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

Yep, here are the results with 0.001:

screenshot from 2017-11-06 15-48-33

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

Now you need to run summarize.py and then you can configure data-defined line widths

I have run the summarize module, and produced an output layer. What layer column should I use to control the line widths, MERGED_N (i.e. what does the MERGED_N column mean)? Do you have an example rule for setting line width based on MERGED_N (e.g. a recipe or tutorial)?

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

I have been working with the line widths and colors this morning, and have some decent results.

One strange thing that I am noticing is that some of the lines appear to be 'smeared' together:
screenshot from 2017-11-07 11-18-36

What do you think might be the underlying cause of the smearing lines (e.g. lines from different clusters being bundled together)?

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

Do you mean the effect of bundles varying in color in your above screenshot? You might want to try with a bigger tolerance in the summarization step.

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

Yeah, the yellow and red striping in the above image. It seems like multiple lines, possibly from different clusters, are overlapping on the same space. However, when I ran the same analysis without clusters, there was still, albeit reduced, striping.

from qgis-edge-bundling.

anitagraser avatar anitagraser commented on July 20, 2024

I expect that it's a summarization issue. It's not trivial to compute the local bundle strength.

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

OK, cool. I am not actively working with the data right now, so it may be some time before I can come back to it. In the meantime, we can close this issue.

from qgis-edge-bundling.

brylie avatar brylie commented on July 20, 2024

Thanks for all of your help to teach me how to use the edge bundler :-)

from qgis-edge-bundling.

Related Issues (20)

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.