RFCL-PolygonDivider icon indicating copy to clipboard operation
RFCL-PolygonDivider copied to clipboard

Documentation Issue

Open itssidhere opened this issue 4 years ago • 2 comments

Thanks for this great plugin. However, I am not able to understand how to create a minimalistic example of a polygon and then applying this to it, maybe due to my limited knowledge of the plugin.

What I am currently want to achieve is adding a shapefile, drawing a polygon, and then using this plugin to divide it. What values do I need to fill for this minimal example to work I cant figure out? Most of the time it gives can't divide by zero error and if it succeeds it shows nothing just the same polygon. Can you document a simple example of how to create and feed in values to the plugin so that anyone can reproduce at least the minimal example?

image

itssidhere avatar Oct 04 '21 12:10 itssidhere

Thank you for this suggestion, and I'm sorry it has taken a few days to get back to you. I think that this is a great suggestion, I will add some better instructions soon.

In this case, the issue is that you are using a geographical (rather than projected) coordinate reference system - meaning that your coordinate units are degrees, not metres. As such, you are asking the tool to divide your polygon into sections of 100000 degrees squared, which is larger than the polygon, meaning that it is not subdivided.

If you project the dataset (so that the units are metres) then it should work as expected. Does that help?

Thanks again for getting in touch,

Jonny

jonnyhuck avatar Oct 09 '21 21:10 jonnyhuck

@jonnyhuck Thanks for the very clear explanation. It would be great to have a minimal reproducible example like drawing a polygon and dividing it inside the documentation.

itssidhere avatar Oct 10 '21 07:10 itssidhere