-
Notifications
You must be signed in to change notification settings - Fork 0
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
Smooth grid edges #23
Comments
@FLO-2DKaren I need to run a couple of algorithms to get the same mapper result. It will take around 3-5 seconds per map I think. |
Did you use raster contour tool? |
To get this kind of result, I follow these steps:
It is not efficient but it works. |
It works fine for continuous data, but for categorized data (e.g. hazard maps) it is bad. |
Maybe we should see what the Mapper code is doing. I’ll ask JJ to give us some help. |
@FLO-2DJJ hi JJ. Can you tell us how Mapper builds contour maps? If you follow this conversion you’ll get an idea of what’s happening with the raster maps. |
Great idea! If I have to code everything, I'll have something to be based on. |
Yes. I've been following this. Great work Robson. Tomorrow I'll see if
there is something that can be done according to my experience with Mapper.
It uses a different approach but could show some light on the issue.
…On Fri, 27 Oct 2023, 9:51 pm Robson Pachaly, ***@***.***> wrote:
hould see what the Mapper code is doing. I’ll ask JJ to give us some help.
Great idea! If I have to code everything, I'll have something to be based
on.
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE32O74OQG46U5FOW7X3Q5LYBQGDFAVCNFSM6AAAAAA6SXGH2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGQZDSMBYHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@rpachaly hi Robson, can I see the code you are using here. Do you have a branch with this code so that I can see it? I t doesn't seem to be in the "new_mapping" branch. |
@FLO-2DJJ No, this is not coded yet. This is just the QGIS native algorithms that I intent to use. If you think this is a good approach, I'll code this way. Otherwise, feel free to suggest other approaches. |
Ok. No problem. Currently I'm looking at the old Mapper code to see the
approach. The code itself is obsolete and no longer supported but it could
show a direction to follow.
Thanks.
…On Sat, 28 Oct 2023, 4:52 pm Robson Pachaly, ***@***.***> wrote:
@FLO-2DJJ <https://github.com/FLO-2DJJ>
Hi JJ,
No, this is not coded yet. This is just the QGIS native algorithms that I
intent to use. If you think this is a good approach, I'll code this way.
Otherwise, feel free to suggest other approaches.
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE32O77V6ECMDTX7HOQRTWTYBULZHAVCNFSM6AAAAAA6SXGH2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTHAZTMOJSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks JJ! This is a good direction to follow. I don't think that creating the contours is a good approach, specially for categorized data. |
This plugin is also good. It creates contour polygons from points. https://github.com/ccrook/QGIS-Contour-Plugin |
Interesting. I'm going to try creating cell centroids and continue
from there.
…On Tue, 31 Oct 2023, 5:59 pm Robson Pachaly, ***@***.***> wrote:
This plugin is also good. It creates contour polygons from points.
https://github.com/ccrook/QGIS-Contour-Plugin
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE32O74C2JO2PQPCIF5UZE3YCEU5VAVCNFSM6AAAAAA6SXGH2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGYYTOOJZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes Robson, the https://github.com/ccrook/QGIS-Contour-Plugin plugin produces acceptable results. Let's try its several options to see if we can adopt it.
It creates a 'Vector points' layer.
|
That looks good! I'm think that the best option so far is to understand the Contour Plugin logic and adapt it to MapCrafter. I was worried about the processing time to create a map, but Mapper also takes some seconds to generate a Shaded Contour map. |
I suggest we let the end users figure this out for now. Not many people request contours and those who do should be able to figure it out with the QGIS toolbox. Let's not spend more time on this. We have more important tasks. |
Find a way to smooth the grid edges like Mapper
The text was updated successfully, but these errors were encountered: