From Lunarpedia
Jump to: navigation, search

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.


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.


This specification is being reevaluated or is in need of replacement.

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.


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.



This specification is being reevaluated or is in need of replacement.

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 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 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 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.


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')
used for:
02 name of feature
used for:
03 USGS latitude
used for:
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 (???)
used for:
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 (???)
used for:
18 Approved Status Description
used for:
19 Approval Date (year)
unused 20 REF (???)
reference 21 References
unused 22 FT (Feature Type categorization, presumably)
used for:
23 Feature Type Name
origin 24 origin (nature of 'origin' varies)



Lunarpedia:Autostub1 test 1