Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [udig-devel] Layer Label

Jesse,

 

I had a look and this is all very new to me and I’m not sure there is enough info on the page to work out what I need to do. I would like to do 2 things:

 

  1. Programmatically turn off a layers labels
  2. Thematically render a polygon layer based on it’s attributes e.g. if a field value=”y” colour code red, if it = “n” colour code green and then colour code all other polygons grey.

 

Do you have any sample code to help with these. Any pointers would be great.

 

Thanks

Andy

 


From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jesse Eichar
Sent: 07 August 2007 17:44
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] Layer Label

 

That's right. Hopefully there is enought information on that page I sent you if not give us a shout.

 

Jesse

 

On Aug 7, 2007, at 9:07 AM, Andy Cox wrote:



Jesse,

Yes I meant the labels rendered on the layer under the style editor which you access by right clicking the layer. I presume I still need to use the blackboard ?

Thanks
Andy


From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jesse Eichar
Sent: 07 August 2007 16:47
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] Layer Label

I'm not sure what you refer to as a Layer Label. I'm guessing you mean the labels rendered on a layer? If so then you have to interact with the layer's style blackboard.

Good luck,

Jesse

On Aug 7, 2007, at 7:32 AM, Andrew Cox wrote:




Hello,

I have created a new new extension viewsAction and I want to be able to programatically switch a layer label off, rather than having to use the style editor. Please can anyone help?

Thanks
Andy

Andy Cox ivyavenue@xxxxxxxxxxx



Email straight to your blog, upload jokes, photos and more. Windows Live Spaces, it's FREE!

_______________________________________________

User-friendly Desktop Internet GIS (uDig)

_______________________________________________

User-friendly Desktop Internet GIS (uDig)

 


Back to the top