Opened 5 years ago

Last modified 7 months ago

#2394 new enhancement

r.to.vect: Flag -e: Erase vector map if empty

Reported by: martin Owned by: grass-dev@…
Priority: trivial Milestone: 7.6.2
Component: Vector Version: svn-releasebranch70
Keywords: r.to.vect Cc:
CPU: Unspecified Platform: Unspecified

Description

Avoid creating a pile of empty vector maps upon vectorization of a non-rectangular image in smaller chunks.

Change History (14)

comment:1 Changed 5 years ago by neteler

Keywords: r.to.vect added
Milestone: 7.0.0
Version: unspecifiedsvn-releasebranch70

An option might be to add a new flag

-e: Erase new vector map if empty

Perhaps there are better options?

comment:2 in reply to:  1 Changed 5 years ago by martinl

Replying to neteler:

Perhaps there are better options?

Just delete the output map automatically if it's empty and print a warning?

comment:3 Changed 5 years ago by neteler

Does this module lack the error handler like:

Vect_set_error_handler_io(&In, &Out);

?

comment:4 Changed 3 years ago by martinl

Milestone: 7.0.07.0.5

comment:5 Changed 3 years ago by martinl

In 69234:

r.to.vect: delete output on error (see #2394) - merge r69233 from trunk

comment:6 in reply to:  3 Changed 3 years ago by martinl

Replying to neteler:

Does this module lack the error handler like:

Vect_set_error_handler_io(&In, &Out);

Fixed, anyway this function just delete output map only on failure.

comment:7 Changed 3 years ago by martinl

In 69235:

r.to.vect: delete output on error (see #2394) - merge r69233 from trunk

comment:8 Changed 3 years ago by martinl

Milestone: 7.0.57.3.0

comment:9 Changed 3 years ago by martinl

Milestone: 7.3.07.4.0

Milestone renamed

comment:10 Changed 21 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:11 Changed 16 months ago by neteler

Milestone: 7.4.17.4.2

comment:12 Changed 13 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:13 Changed 9 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:14 Changed 7 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.