[GRASS-user] g.remove of vector without table

Dear all

Can s.o. help me to remove "broken" vector-files which have no table connected ?

g.remove type=vect name=mytable -f => ERROR: Unable to read header file of vector map

Tables have been deleted beforehand to allow '--overwrite' in PostgreSQL.

Thanks for any hint

patrick schirmer

Dear Patrick,

On Thu, Aug 10, 2017 at 11:55 AM, patrick s. <patrick_gis@gmx.net> wrote:

Dear all

Can s.o. help me to remove "broken" vector-files which have no table
connected ?

g.remove type=vect name=mytable -f => ERROR: Unable to read header file of
vector map

Tables have been deleted beforehand to allow '--overwrite' in PostgreSQL.

probably something else got damaged, too (an "Unable to read header
file..." error should not happen related to deleting of tables). Maybe
temporarily disk full?

Overall, in this special case you could simply delete the broken
vector map using a file manager and remove the related files from the
mapset/vector/name_of_map/

Best,
Markus

Thank you, Markus

The manual deleting was helpful. I can't exclude that the disk was full, due to temporary files in parallel processes, but it would be surprising. However didn't have problems since.

Regards,

Patrick

On 11.08.2017 11:44, Markus Neteler wrote:

Dear Patrick,

On Thu, Aug 10, 2017 at 11:55 AM, patrick s. <patrick_gis@gmx.net> wrote:

Dear all

Can s.o. help me to remove "broken" vector-files which have no table
connected ?

g.remove type=vect name=mytable -f => ERROR: Unable to read header file of
vector map

Tables have been deleted beforehand to allow '--overwrite' in PostgreSQL.

probably something else got damaged, too (an "Unable to read header
file..." error should not happen related to deleting of tables). Maybe
temporarily disk full?

Overall, in this special case you could simply delete the broken
vector map using a file manager and remove the related files from the
mapset/vector/name_of_map/

Best,
Markus