Comments (17)
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.
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:
from qgis-edge-bundling.
What's your input data CRS? Which settings are you using in edge bundling?
from qgis-edge-bundling.
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.
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.
Ah, that makes sense
from qgis-edge-bundling.
Try 0.001° ~ 100m
from qgis-edge-bundling.
OK, good suggestion. I have tried various settings for the default step size, and get the following result with 0.05:
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.
Still too big. Did you try 0.001 as I recommended?
from qgis-edge-bundling.
Yep, here are the results with 0.001:
from qgis-edge-bundling.
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.
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:
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.
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.
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.
I expect that it's a summarization issue. It's not trivial to compute the local bundle strength.
from qgis-edge-bundling.
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.
Thanks for all of your help to teach me how to use the edge bundler :-)
from qgis-edge-bundling.
Related Issues (20)
- Tips for 3.0 port HOT 7
- Use edge bundle data with kepler.gl HOT 2
- Bundling fails on Multilinestring HOT 5
- Porting clustering and summarize HOT 2
- Add option to ignore clustering in summarize tool
- UnboundLocalError: local variable 'visibility1' referenced before assignment HOT 2
- QGIS 3.6 and Python 3 importing issues HOT 2
- Installing from ZIP HOT 2
- Support Python 3? HOT 1
- ERROR: "range() integer end argument expected, got float." when running the edge bundling tool
- Edge bundling without qgis HOT 1
- Usage in QGIS 3 HOT 5
- ModuleNotFoundError: No module named 'processing.core.ProcessingLog' HOT 5
- Bundling fails on datasets including zero length lines HOT 6
- Step-by-step tutorial? HOT 4
- Add documentation about script options HOT 1
- Provide better warning when input is not in OD format (straight lines with only start and end node) HOT 35
- Time-series animation of edge bundles?
- Error in "cluster lines kmeans with ideal number of clusters" when not WGS84 HOT 2
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 qgis-edge-bundling.