<div dir="ltr"><br><br>On Wed, Nov 7, 2018 at 8:40 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br>><br>> On Wed, 7 Nov 2018, Moritz Lennert wrote:<br>><br>> > I think you need to slow down a bit and try to review your basic<br>> > understanding of things (maybe [1] could do with a bit more substance).<br>><br>> Moritz,<br>><br>>    I do need to step back a bit.<br>><br>> > You are trying to connect to a database that is called<br>> > "/home/rshepard/data/grassdata/willamette_basin/willamette-river-hg", not (as<br>> > it should be) "willamette-river-hg".<br>><br>>    Yes, I see where I kept confusing path names for the sqlite and postgres<br>> tables.<br>><br>>    Almost all issues are now resolved, but I need to add a 'cat' column to<br>> the postgres stations table (it has more columns than does the sqlite one),<br>> so I'll so this with psql and insert sequential numbers in that column that<br>> follow the site_nbr columns. Looking at all tables, I think this is the last<br>> hurdle to displaying the stations table.<br><div><br></div><div>I am afraid that manually adding a cat column and populating it with sequential numbers will  not work: how do you assure that the cat numbers and corresponding attribute values indeed correspond to the cat values of the vector features? Chances are high that vector features get linked to wrong attributes.<br></div><div><br></div><div>Considering all the modifications that you have done in the meantime I suggest to start from scratch:</div><div><br></div><div>1. decide on the default database connection you want to use</div><div>2. set up the default database connection if not sqlite</div><div>3. test the database connection e.g. with db.tables</div><div>4. create vector maps</div><div><br></div><div>Markus M<br></div><div>></div>>    Thanks very much.<br>><br>> Regards,<br>><br>> Rich<br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>