Skip to main content

captureHi!

I'm looking for create a specific grid over my datas. It's not a standard grid with rows and columns. I would like to have polygons with the same areas and put them along my datas. The polygons have to be joined and no have superposition. The datas have to be centered (or almost), the idea is to have maximum datas on the polygon and not just a little bit.

After I would like to create numbering based on the order of these polygons.

 

I tried with 2Dgridcreator and spatialfilter with my datas convert on a polygon (hullreplacer), but I have a lot of polygon with few data and a lot of empty.

 

On the capture, that I would like to obtain.

 

Do you have an idea?

 

Thanks!

So basically you are trying to create a print composer.

It's a lot of work. I tried one with a linear feature. I had a standard paper format for all pages.

First I added a measure to my line feature.

I chopped the page rectangle into lines, determined which rectangle line/lines does my feature intersect and used the offseter to move my rectangle on x and y so the feature is approximately centered on the page, and if it intersects 2 adjacent lines it determines a better fill with some kind of page margin, clipped the part that is outside and added a new rectangle on the new start of my line feature and iterated on that.

I never got the desired output so I left it at that 😁

I hope it is of use to you


Hi!

Yes it's a lot of work 😃

Thanks for your answer, that give me leads.

Have a nice day!


Reply