[udig-devel] style using 2 layers
Jesse Eichar
jeichar at refractions.net
Fri Jan 5 13:20:48 PST 2007
Well as it stands it would require a bit of Java programming. I
suppose I should rephrase that to easy if you know the Geotools
Feature/Datastore model. I'd make an operation that runs on 2 layers
and creates a third layer with the extra attribute.
Jesse
On 5-Jan-07, at 1:13 PM, Dan Putler wrote:
> Hi Jesse,
>
> How? The way I typically do things like this (which I do a lot) is
> read the DBFs of the shape set into R, and manipulate them there.
>
> Dan
>
> On 5-Jan-07, at 1:06 PM, Jesse Eichar wrote:
>
>> Thanks Dan. That's a fair solution. One could create an uDig
>> operation quite easily that could perform that job.
>>
>> Jesse
>>
>> On 5-Jan-07, at 1:00 PM, Dan Putler wrote:
>>
>>> Hi Dale,
>>>
>>> I assume that the universities layer is a point layer of
>>> university locations? Are the layers shapefiles?
>>>
>>> The way I would do this (assuming you are working with
>>> shapefiles) is to calculate the number of universities in each
>>> state, and then append this as a new attribute to the your USA
>>> states attribute table. It isn't a uDig based solution, but the
>>> typical way of dealing with this type of problem.
>>>
>>> Dan
>>>
>>> On 5-Jan-07, at 12:53 PM, Dale Slone wrote:
>>>
>>>> Hi
>>>>
>>>> Not sure if this is the right list for what's really a user
>>>> question...
>>>>
>>>> Is there a way to color one layer based on values in a second
>>>> layer, using
>>>> the Style->Theme or Style->XML options?
>>>>
>>>> For example, layer 1 is USA states, and layer 2 is universities
>>>> - I'd like
>>>> to color the states based on universities/per area or
>>>> universities/per population.
>>>>
>>>> Thanx
>>>>
>>>> Dale
>>>> _______________________________________________
>>>> User-friendly Desktop Internet GIS (uDig)
>>>> http://udig.refractions.net
>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list