[Qgis-developer] New grid decoration

Etienne Tourigny etourigny.dev at gmail.com
Thu Jul 5 06:53:51 PDT 2012


A first use I see for it is to have a better idea of scale and easily
see the extents and distances.

When I first started using QGis I thought that that an easy way ti
have a grid on the canvas was missing.

I started this thread a few months ago and decided to implement it as
a decoration. I also refactored the decorations with a base class.

http://osgeo-org.1560.n6.nabble.com/show-grid-on-map-canvas-similiar-to-grid-used-in-composer-strategy-td4964055.html

Before implementing this feature the only way to draw a grid was to
use the ftools "vector grid" tool which is cool but a little clumsy
(have to save a shape file) and has some performance issues with
high-resolution grids (esp. when saving as polygons).

My initial motivation was to be able to make a grid from a raster
(which was created by rasterization of a polygon vector layer), to see
if things lined up correctly.

John Donovan is working on a more flexible plugin to draw complex
grids - see the above thread also


Etienne

On Thu, Jul 5, 2012 at 7:35 AM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> Just been playing with the new grid decoration.  Pretty cool.
>
> Just wondering what a use case for it is?  I have never really seen
> the need to create a grid like that on any maps I have worked on.  In
> the composer I have but never in the map canvas.
>
> P.S Not bashing the new feature, just generally interested in use cases.
>
> Regards,
> Nathan
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list