Searching

From Geoqo
Jump to: navigation, search

Contents

Searching Using GeoQO

Searching is described in full in the manual page, but here are a few simple examples:

Searching by cache attributes

  • This searches for (-s) all caches owned by Yamar and lists them (-l):
 geoqo -s cache:owner_name==Yamar -l
  • This searches for all caches of type Unknown and owned by Yamar:
 geoqo -s "subtype==Unknown&&cache:owner_name==Yamar" -l
(note that you need to put quotes around the search term because it contains '&&'s which some command line prompts will try and treat specially
  • This searches for all caches of type Unknown and owned by Yamar and are at least 2.5 in difficulty:
 geoqo -s 'subtype==Unknown&&cache:owner_name==Yamar&&cache:difficulty>=2.5' -l
  • This searches for all caches with "cool" in the title:
 geoqo -s 'cache:urlname=cool' -l
(note the single '=' sign, unlike the double '=' signs above. A double equal sign means an exact match, and a single means match if any part of the field matches. IE, it searches for *cool*)

Search Operators

Logical Operators

  •  :this&&that; search results must contain both this and that
  •  :this||that; search results match on either this or that or both.
  •  :(this||that)&&other: Using ()s allows grouping of logic

Search types

TBD (see the list on the main web page)

Comparison Operators

  •  :this==that; an exact match... field this must match the value that exactly
  •  :this=that; a fuzzy match... field this has to have that somewhere in it's value. Equivelent to ==*that* .
  •  :this>that; field this value must be greater than value that
  •  :this>=that; field this value must be greater than or equal to value that
  •  :this<that; field this value must be less than value that
  •  :this<=that; field this value must be less than or equal to value that

Searching Logs

  • searches for all caches found by Yamar and counts (-d) them:
 geoqo -s log:finder=Yamar -d count
  • searches for all caches not found by Yamar and not found by ClayJar:
 geoqo -s 'log:finder<>Yamar&&log:finder<>ClayJar' -d count
  • searches for all caches found by BlueNinja but haven't been found by Yamar or ClayJar:
 geoqo -s 'log:finder=BlueNinja&&log:finder<>Yamar&&log:finder<>ClayJar' -d count
  • searches for all caches that have been found by Yamar or ClayJar:
 geoqo -s 'log:finder=Yamar||log:finder=ClayJar' -d count
  • but not found by BlueNinja:
 geoqo -s '(log:finder=Yamar||log:finder=ClayJar)&&log:finder<>BlueNinja' -d count

Listing all the available search plugins

You can get a list of all the search types if you use the help module on "search":

 geoqo -d help:search
 
   The searching features within geoqo let you search for waypoints in
   various ways. See the documentation for the sub-modules for futher
   details.
 
   The list of search modules distributed with GeoQO are:
 
     Cache
     Waymark
     Geodining
     Wigle
     Waypoint
     Ident
     Log
     Attr
     Tag
     Set
     Any
 
   To see help on any of the above SUBTOPICs, run:
 
     > geoqo -d help:topic=search/SUBTOPIC


General

Graphical User Interface (GUI)

Command Line Tutorial

Advanced Topics

Advanced GeoQO Features

Writing code for GeoQO

Tips and Tricks

Personal tools