Opened 10 years ago

Last modified 6 years 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 by neteler, 10 years ago

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?

in reply to:  1 comment:2 by martinl, 10 years ago

Replying to neteler:

Perhaps there are better options?

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

comment:3 by neteler, 10 years ago

Does this module lack the error handler like:

Vect_set_error_handler_io(&In, &Out);

?

comment:4 by martinl, 9 years ago

Milestone: 7.0.07.0.5

comment:5 by martinl, 8 years ago

In 69234:

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

in reply to:  3 comment:6 by martinl, 8 years ago

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 by martinl, 8 years ago

In 69235:

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

comment:8 by martinl, 8 years ago

Milestone: 7.0.57.3.0

comment:9 by martinl, 8 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:10 by neteler, 7 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:11 by neteler, 6 years ago

Milestone: 7.4.17.4.2

comment:12 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:13 by martinl, 6 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:14 by martinl, 6 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.