HiRISE

HiRISE.HiPlan.Shapes
Class UpdateNomenclature

java.lang.Object
  extended by HiRISE.HiPlan.Shapes.UpdateNomenclature

public class UpdateNomenclature
extends Object

A command-line utility to populate the HiRISE database's table of Mars nomenclature from the USGS planetary nomenclature web service.

With each run of this utility, the existing data in the Mars nomenclature table are deleted and new data are inserted.

Version:
1.13
Author:
Shawn Wheelock - UA/PIRL
See Also:
USGS planetary nomenclature, HiCat Data Dictionary

Field Summary
static String CENTER
          The name of the field in which the feature's center point is stored.
static String CENTER_LATITUDE
          The name of the field in which the feature's center latitude is stored.
static String CENTER_LONGITUDE
          The name of the field in which the feature's center longitude is stored.
static int FAILURE
          Exit status for an unsuccessful operation.
static String FEATURE_NAME
          The name of the field in which the feature's name is stored.
static String FEATURE_TYPE_CODE
          The name of the field in which the feature's type code is stored.
static String FEATURE_TYPE_DB
          The name of the field in which the feature's type is stored.
static String ID
          Class identification name with source code version and date.
static String MARS_NOMENCLATURE
          The name of the Mars nomenclature table.
static int SUCCESS
          Exit status for a successful operation.
 
Method Summary
static void main(String[] args)
          Runs the UpdateNomenclature application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

MARS_NOMENCLATURE

public static final String MARS_NOMENCLATURE
The name of the Mars nomenclature table.

See Also:
Constant Field Values

FEATURE_NAME

public static final String FEATURE_NAME
The name of the field in which the feature's name is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

CENTER_LONGITUDE

public static final String CENTER_LONGITUDE
The name of the field in which the feature's center longitude is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

CENTER_LATITUDE

public static final String CENTER_LATITUDE
The name of the field in which the feature's center latitude is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

CENTER

public static final String CENTER
The name of the field in which the feature's center point is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

FEATURE_TYPE_CODE

public static final String FEATURE_TYPE_CODE
The name of the field in which the feature's type code is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

FEATURE_TYPE_DB

public static final String FEATURE_TYPE_DB
The name of the field in which the feature's type is stored. This field is in the table MARS_NOMENCLATURE.

See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Exit status for a successful operation.

See Also:
Constant Field Values

FAILURE

public static final int FAILURE
Exit status for an unsuccessful operation.

See Also:
Constant Field Values
Method Detail

main

public static void main(String[] args)
Runs the UpdateNomenclature application. Note that with each run of this utility, the existing data in the Mars nomenclature table are deleted and new data are inserted.

Usage

UpdateNomenclature [--configuration configuration_pathname]

UpdateNomenclature --usage

UpdateNomenclature --version

Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.

Options

--configuration configuration_pathname
Sets the pathname of the configuration file from which to configure the application. See Configuration_Helper.getConfiguration(String,String,String...) for details on the configuration pathname; if this option is not used, the config source argument is null.

Parameters:
args - the command-line arguments.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona