Lunarpedia:Autostub1
Autostub1 is a script intended to generate over 9,300 location articles: sectors and also craters, maria, rille, and everything else in the available public domain database.
Contents
Specifications
Work on this section has outpaced copyediting on it. You can help Lunarpedia by formatting, editing, or tidying it. |
These are incomplete and based on what has been targeted for work to date.
Sectors
|
Sectors, aside from two exceptional cases (the poles), are 15 degrees by 15 degrees. The equator has a single ring of sectors between 7.5N and 7.5S. The two polar sectors are 15 degrees in diameter. The sectors line up horizontally against 267.2(double-check needed)E Mean Earth, or 0 degrees Mare Orientale.
Features
Lunar Feature Articles
Box: Image:Mare Orientale Map GA03 400 8bit.png Name (from database column 2) Category (from column 23) Origin (from column 24) Map (see Map:Features below) Coordinates in Mean Earth and Mare Orientale coordinates Diameter (size?) (from column 10) Approval status (from columns 18 and 19)
Description: givig rough simple location description, type of feature, what sector it is centered in and if the calculation says it's probably wholly within the sector.
Also give alist of sectors that portions of the feature may be located in.
If the feature is a major crater, give a list of satellite craters.
If the feature is a satellite crater, give a link to its major crater.
Give list of references listed in column 21 of the database.
Lunar Sector Articles
There is a sector box from a template. The box is presently specified to list both Mean Earth and Mare Orientale coordinates, but with a change of the template all sector articles could display only one or the other, or change the way in which the information of both is presented.
At the top of the box is the sector designation, which is presently no longer specified, as it would be good to have a naming system that not only doesn't present a point location to represent a far larger area, but also doesn't invoke either Mare Orientale or Mean Earth as its definitive basis.
Below is a map as specified in Maps:Sector below.
Below the map is the center coordinates in both Mean Earth and Mare Orientale.
Below is a list of adjoining sectorImage:Mare Orientale Map GA03 400 8bit.pngs. Four for all non-polar sectors and twenty-four for the poles.
The article text begins with a rough, simple description of where the sector is.
Places of interest are listed, including features centered inside the sector and features that may be in the sector but are centered elsewhere.
Another section should include surveys and landings, with where to click to get specific geological information. The mechanism to do this is not yet worked out.
Maps
Source
|
Three source maps are needed. One for the 25 northernmost sectors, one for the 25 southernmost sectors, and one for all other sectors. Feature edge cases should probably be served by an outer portion of the relevant polar map.
The polar source maps are not yet produced. A smaller version of the main source map can be found here. The full-sized single layer version is 7200 by 2700 pixels and 40 MB compressed. It is calibrated for Mare Orientale coordinates.
Sector
Sector maps from the main source maps are square sections. The solution for polar and near-polar sector maps is not yet determined. While the Python Image Library can support adding text to images, no specifications for adding text to the map have yet been worked out.
Feature
Feature maps use the diameter to estimate the size of the map to be generated. Features below a to be determined size will not be feasible to include maps for from the source maps.
Output
Output is to be in the format used for exporting and importing articles between MediaWiki installations. Each output xml file should be below 2MB (or a to-be-determined more precise size target) to minimize difficulty importing. Test1 was imported in this manner.
Database
The database formatting is outside of the control of this specification. The database was created by the USGS.
Variable(s) | column | description |
unused | 00 | system (will always be 'Earth') |
unused | 01 | satellite (will always be 'Moon') |
name used for: mapname |
02 | name of feature |
Lat used for: lat me_coord mo_coord inSector sectors localeDescr |
03 | USGS latitude |
used for: me_long mo_long me_coord mo_coord inSector sectors localeDescr |
04 | USGS longitude |
unused | 05 | starting latitude (never provided, unfortunately) |
unused | 06 | ending latitude (never provided, unfortunately) |
unused | 07 | starting longitude (never provided, unfortunately) |
unused | 08 | ending longitude (never provided, unfortunately) |
unused | 09 | DIR (???) |
dia used for: sectors |
10 | diameter in klicks |
unused | 11 | CT (country of discovery?) |
unused | 12 | Continent (of discovery?) |
unused | 13 | ET (???) |
unused | 14 | Ethnicity (of name?) |
unused | 15 | Quad (USGS map info) |
unused | 16 | Map (USGS map info) |
unused | 17 | AS (???) |
approvalStat used for: approvalStr |
18 | Approved Status Description |
approvalYear used for: approvalStr |
19 | Approval Date (year) |
unused | 20 | REF (???) |
reference | 21 | References |
unused | 22 | FT (Feature Type categorization, presumably) |
featuretype used for: typecat |
23 | Feature Type Name |
origin | 24 | origin (nature of 'origin' varies) |
Problems