<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Thank you very much! I solved it...<br></div><div><br></div><div>Martin Landa wrote:</div><div>>> v.in.ogr [...] layer=administrative.test<br>><br>> it should work in GRASS 7, I didn't try GRASS 6...</div><div><br></div><div>Yes it works also in GRASS 6! I tried with a layer that wasn't in the table geometry_columns of postgis, so it failed. With another one it works...<br></div><div><br></div><div>Moritz Lennert wrote:</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">> In order to import data from a PostGIS database into GRASS using
schemas, you have to use the active_schema parameter in the connection
string, i.e. (using > the PostGIS import example from the v.in.ogr man
page):<br>><br>> v.in.ogr dsn="PG:host=localhost dbname=postgis
user=postgres active_schema=myschema" layer=polymap output=polygons
type=boundary,centroid<br><br>Also this solution worked for me!<br><br>Thank you for the great help!<br>Bye,<br>Matteo<br> </div> </div> </div></body></html>