<div dir="ltr"><br><br>On Thu, Mar 12, 2020 at 12:43 PM Johannes Radinger <<a href="mailto:johannesradinger@gmail.com">johannesradinger@gmail.com</a>> wrote:<br>><br>> Hi all,<br>> I am using v.in.ogr to import a shape file (line vector) that has only one layer. Although I am specifying the output parameter in v.in.ogr the layer name of the imported map still remains the original; it is only the output map and the associated table that gets a new name as defined by 'output'.<br>><br>> When checking the connections of that map using v.db.connect:<br>> v.db.connect -p map=my_new_map@analysis2                                        <br>> Vector map <my_new_map@analysis2> is connected by:<br>> layer <1/Watercourse> table <my_new_map> in database </.../analysis2/sqlite/sqlite.db> through driver <sqlite> with key <cat><br>><br><div>> Is that the intended behavior of v.in.ogr that the layer name does not get renamed based on the output parameter?</div><div><br></div><div>Not sure how much intention is in this behaviour, but the GRASS-internal layer name is mostly informative. GRASS vector layers are usually addressed by number, not by name. It is probably safe to ignore the layer name of native GRASS vectors.</div><div><br></div><div>Markus M</div><div><br></div>><br>> cheers,<br>> Johannes<br>><br>>  <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>