[GRASS-user] Associating attributes from Postgres file with a key other than cat

Daniel Victoria daniel.victoria at gmail.com
Wed Aug 8 17:16:54 EDT 2007


Use db.select to set your database and then v.db.connect to link the
cat in the vector data to the postgres DB

Cheers
Daniel

On 8/8/07, Turner, James <James.Turner at kronos.com> wrote:
>
>
>
>
> Ok, next dumb question that the documentation didn't seem to help with
>
>
>
> I have the Census ZCTA data loaded up "locally" (not in a database), and
> some proprietary zip-code based data in a Postgres DB table.  The Postgres
> data is keyed off the zip code, and obviously knows nothing about the cat #s
> of the imported e00 file with the ZCTA data.  Is there any non-trivial way
> to make the values in the Postgres table available to GRASS so that I can
> use it to do coloring of areas, etc.
>
>
>
> And yes, I know that ZCTA <> Zip Code, but it's close enough for this
> application.
>
>
>
> James M. Turner
>
> Senior Software Engineer - Kronos Labs
>
> Kronos, Inc.
>
>
>
> 2 Omni Way, Chelmsford, MA 01824
>
> (w) 978-947-4108, (c) 603-552-2020, (f) 978-256-2477
>
> jamesturner at kronos.com
>
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>




More information about the grass-user mailing list