Rechercher une page de manuel
GeoDB::Modify::Limit.3pm
Langue: en
Version: 2008-11-19 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Limit - Limits the number of waypoints in a setDESCRIPTION
START HELPThis module limits the number of waypoints in a set to a certain number (starting at an optional certain point in the list of waypoints).
IE, it starts at the offsetth waypoint in the set being modified, and limits the total number to number, stripping off all of the waypoints before the offset first and then everything from offset+number next.
If just number is specified (the common case) the firest number waypoints are kept.
If there are 250 caches in the set:
- number = 100, offset = 0
- Will get the first 100 caches
- number = 100, offset = 100
- Will get the next 100.
- number = 100, offset = 200
- Will get the last 50.
This module is very useful when combined with the distance and sortby modify pluigns to get the top 10 caches (for example) near something:
geoqo -s 'set:import:mypocketquery' -m distance:from=GCABCD+sortby:+limit:10
END HELP
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre