[Qgis-user] Points grid.
Richard Duivenvoorde
rdmailings at duif.net
Wed Oct 22 01:36:58 PDT 2014
On 22-10-14 09:47, Ourizo Cacho wrote:
> Hello everyone,
>
> I have a polygon shapefile with a single entity.
>
> Need to create a point grid. Different x and y distance. Besides, I need
> to add a orientation for the grid (in degrees).
>
> I´ve searching among the different algorithms but found nothing
> interesting so far.
>
> Can anyone help me please??.
Hi Ourizo,
not at this moment, but I'm planning/busy with a
'borehole/sample'-plugin scenario. I'm also wondering about the options.
It's for a company taking samples from certain plots or lines, in a grid
or along lines.
My use-case plan was:
- select a 'plot' layer (either line or polygon), can be a temporary one
- select one line or plot in it
- give plugin some dx/dy/dxx values (to be able to do a shifted grid)
- in a fresh memory layer, the plugin will generate a grid box, big
enough to be able to rotate it and still covering the plot
- plugin will select all features in this memory layer and make it editable
- now using standard qgis tools you can move or rotate the grid (though
not yet in degrees <= would be a nice feature)
- after ready rotating/moving the plugin clips it to only have the
features which are inside the plot
- copy-paste the points to their final destination layer (standard QGIS way)
Because normally you want those points have a certain code, a second
part of the plugin (or a separate one) is a plugin which you can give a
-prefix
-counter (start)
-postfix
and a column to write the code in
Now hovering over or clicking on the points (and based on
prefix/counter/postfix) the points are given a code.
Other options? Any comment on this plan? Would this be a workable way?
Or do you think it would be easier to have this as an algorithm?
Regards,
Richard Duivenvoorde
More information about the Qgis-user
mailing list