arongergely / qgis-h3-toolkit-plugin

Brings the H3 discrete global grid system to QGIS. :rocket::globe_with_meridians:
GNU General Public License v2.0
11 stars 1 forks source link

FeatureRequest: defaults for extent and zoom #3

Open rduivenvoorde opened 2 years ago

rduivenvoorde commented 2 years ago

Would it be possible to have some sensible defaults for extent and zoom.

My use-case: I open a map and want to see... say 2cm large hexagons (or 1 or 3)... what scale should I choose then? Now the plugins open with 0.

About the extent to use: given you probably want to see the hexagons on current map(view), would it not be ok to default to 'current mapcanvas extent'? If the use does not give an input? Or is that not possible from within a processing algorithm?

arongergely commented 2 years ago

Thanks for the requests @rduivenvoorde.

My use-case: I open a map and want to see... say 2cm large hexagons (or 1 or 3)... what scale should I choose then? Now the plugins open with 0.

Not sure if guessing a resolution would work for a given user. To help users further I'd rather elaborate in the documentation or in how-tos. Btw in case you missed it: there is a tooltip for the resolution input. It includes a table with hexagons sizes for each resolution.

About the extent to use: given you probably want to see the hexagons on current map(view), would it not be ok to default to 'current mapcanvas extent'? If the use does not give an input? Or is that not possible from within a processing algorithm?

Oh yes, unsure if it's possible to set such default directly via the processing algo input classes, but I will look into it.