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
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.
Features
Lunar Sector Articles
Lunar Feature Articles
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 databas formatting is outside of the control of this specification. The database was created by the USGS.
Problems