Module:Sandbox/Wnt/FindFeatures/doc explained
Parameters
function name = identifies the planet to search (mercury, venus, moon, earthCraters, mars presently implemented)
- unnamed parameters - set four to numbers and directions to establish a bounding box (see rectangular region example)
- center = sets the center of a circular region
- radius = kilometers radius around the center, using haversine formula with radius set to the area of the center.
- hits = # of hits to return (but only within radius, if provided)
- showdist = if provided, the distance is indicated after each coordinate set. If showdist is a number it is rounded off to this amount (e.g. use 0.1 for one decimal place)
- nowiki = debugging parameter: if set, the output is in nowiki format
- suppress = set to "self" to prevent the link to the page presently being displayed from being included.
Creating the database from which features are searched
Databases for this module are created by {{#invoke:FindFeatures|venus|displaydatabase=yes}} and then copied to places like (in module space) for later use. The data sources (articles) can be set by data=page1|page2|page3 and all records in tables, especially using the Coord template, are supposed to be mined from them. Because each article is written differently this can be problematic - the data produced should be checked, and might turn out to need further adjustment. has been used as a scratchpad for splitting up data that wouldn't compile in a single run.
Usage
See