GeoDB::Modify::Drop.3pm

Langue: en

Version: 2008-11-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Drop - Drops certain caches from the set based on criteria

DESCRIPTION

START HELP

This is most useful when doing really complex exporting. See Yamar's usage description on the web page for why this is helpful sometimes.

The Drop modifier is a compliment to the only modifier. Generally the ``only'' modifier will be easier for most people to think about, but technically you only need one as they can both accomplish the same tasks with inverse logic.

The argument formatting is:

   drop:field=value
 
 

where field is the field (or attribute prefixed with 'attr:') name, and value is the exact value. The valid match types are:

drop:field=value
Matches only if exactly the same.
drop:field<>value
Matches if the field is not that value
drop:field=-
Matchs if the field doesn't exist. I use this like follows:
   #
   # unknown caches with solved puzzle coords
   #
   drop:subtype<>Unknown Cache
   +drop:attr:puzn=-
   +solved:
   +gpx:nologs=1:palm-solved.gpx
 
 

To drop any unknown cache that a 'puzn' attribute hasn't been added to it (see the Solved modify plugin for details).

drop:field=+
Same as =- but only drops it if it does exist.

END HELP