Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-14 Thread Etienne Tourigny
Hi Bob, Output looks really nice but I see 2 issues: 1 - grass is optional, not part of qgis core 2 - made for PS output, may not fit nicely with the composer nor the map canvas Perhaps there is a workaround for 2 ? Etienne On Mon, May 14, 2012 at 2:47 AM, Bob and Deb bobd...@gmail.com wrote:

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-14 Thread Bob and Deb
I was mostly interested in seeing qgis having similar grid symbology to ps.output. On May 14, 2012 9:51 AM, Etienne Tourigny etourigny@gmail.com wrote: Hi Bob, Output looks really nice but I see 2 issues: 1 - grass is optional, not part of qgis core 2 - made for PS output, may not fit

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-13 Thread Bob and Deb
I wonder if http://grass.osgeo.org/wiki/Ps.output might give good ideas for drawing a grid on the map canvas. On Wed, May 9, 2012 at 2:00 PM, Etienne Tourigny etourigny@gmail.comwrote: Hi all, I would like to add support to draw a grid on the map canvas, in a way similar to what is done

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-11 Thread Martin Dobias
On Fri, May 11, 2012 at 12:40 AM, Etienne Tourigny etourigny@gmail.com wrote: For me a grid is a good candidate to be implemented as another type of decoration (currently there is north arrow, scale bar and copyright label). A decoration is drawn on top of the map when map rendering has

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-11 Thread Etienne Tourigny
On Fri, May 11, 2012 at 3:14 AM, Martin Dobias wonder...@gmail.com wrote: On Fri, May 11, 2012 at 12:40 AM, Etienne Tourigny etourigny@gmail.com wrote: For me a grid is a good candidate to be implemented as another type of decoration (currently there is north arrow, scale bar and copyright

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread John Donovan
I'm very interested in user-definable grid functionality, and I was planning on implementing something myself for a plugin I'm writing. My needs are to have the grid set to an arbitrary angle, and ideally to know which grid square the user has clicked in, relative to a user-defined origin. If

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Etienne Tourigny
On Thu, May 10, 2012 at 1:35 AM, Alister Hood alister.h...@synergine.com wrote: Date: Wed, 9 May 2012 18:00:07 -0300 From: Etienne Tourigny etourigny@gmail.com Subject: [Qgis-developer] show grid on map canvas (similiar to grid         used in composer) - strategy? To: qgis-developer

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Etienne Tourigny
On Thu, May 10, 2012 at 6:37 AM, John Donovan mersey.vik...@gmail.com wrote: I'm very interested in user-definable grid functionality, and I was planning on implementing something myself for a plugin I'm writing. My needs are to have the grid set to an arbitrary angle, and ideally to know

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Nathan Woodrow
I think if QgsPluginLayer is a usable option that would be the way to go, or maybe QgsVectorLayer but I suspect that you will need a provider for that. I think having it show up in the legend is a good idea that way it can be turned on and off, styled, and ordered as the user needs. E.g.

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread John Donovan
On 10 May 2012 13:03, Etienne Tourigny etourigny@gmail.com wrote: On Thu, May 10, 2012 at 6:37 AM, John Donovan mersey.vik...@gmail.com wrote: I'm very interested in user-definable grid functionality, and I was planning on implementing something myself for a plugin I'm writing. My needs

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread John Donovan
On 10 May 2012 13:06, Nathan Woodrow madman...@gmail.com wrote: I think if QgsPluginLayer is a usable option that would be the way to go, or maybe  QgsVectorLayer  but I suspect that you will need a provider for that. I think having it show up in the legend is a good idea that way it can be

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Etienne Tourigny
On Thu, May 10, 2012 at 9:06 AM, Nathan Woodrow madman...@gmail.com wrote: I think if QgsPluginLayer is a usable option that would be the way to go, or maybe  QgsVectorLayer  but I suspect that you will need a provider for that. Is there a way we can create a QgsVectorLayer in memory, without

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Etienne Tourigny
On Thu, May 10, 2012 at 9:25 AM, Etienne Tourigny etourigny@gmail.com wrote: On Thu, May 10, 2012 at 9:06 AM, Nathan Woodrow madman...@gmail.com wrote: I think if QgsPluginLayer is a usable option that would be the way to go, or maybe  QgsVectorLayer  but I suspect that you will need a

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Martin Dobias
Hi On Thu, May 10, 2012 at 2:06 PM, Nathan Woodrow madman...@gmail.com wrote: I think if QgsPluginLayer is a usable option that would be the way to go, or maybe  QgsVectorLayer  but I suspect that you will need a provider for that. I would suggest _not_ to create another provider for grids

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Etienne Tourigny
Hi all On Thu, May 10, 2012 at 5:39 PM, Martin Dobias wonder...@gmail.com wrote: Hi On Thu, May 10, 2012 at 2:06 PM, Nathan Woodrow madman...@gmail.com wrote: I think if QgsPluginLayer is a usable option that would be the way to go, or maybe  QgsVectorLayer  but I suspect that you will need

Re: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-10 Thread Ramon Andiñach
On 11/05/2012, at 8:22, Alister Hood alister.h...@synergine.com wrote: vector operations on a grid. And I guess the digitising tools would be disabled for these layers. But people do treat grids as features for geoprocessing,. interesting approach might be to use QgsPluginLayer class,

[Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

2012-05-09 Thread Alister Hood
Date: Wed, 9 May 2012 18:00:07 -0300 From: Etienne Tourigny etourigny@gmail.com Subject: [Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy? To: qgis-developer qgis-developer@lists.osgeo.org Message-ID: