[udig-devel] style using 2 layers

Dan Putler putler at sauder.ubc.ca
Fri Jan 5 15:44:22 PST 2007


OOo handles DBFs really well (much better than Excel, which likes to  
truncate field lengths when you export the file back out). The thing  
to remember when playing with DBFs with an external program is to  
keep the files in their original sort order when exporting them out  
of the program. If you don't then you basically trash the attribute  
table of the shapefile set.

Dan

On 5-Jan-07, at 3:35 PM, Adrian Custer wrote:

> On Fri, 2007-01-05 at 13:13 -0800, 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
>
> Spreadsheets handle DBF. Excel, OOo (apparently) and I'm trying to
> persuade the Gnumeric folk it's worth supporting.
>
> --adrian
>
>
>>
>> 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
>
> _______________________________________________
> 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