All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.evasion.plugin.geoloc.dataimport.gis.GISFormat Maven / Gradle / Ivy

There is a newer version: 2.0.0.2
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.evasion.plugin.geoloc.dataimport.gis;

/**
 *
 * @author glon-56610
 */
public final class GISFormat {

    private GISFormat() {
    }

    /**
     * Region Font Code.  A code that determines the character mapping used in fields containing feature name information (see Character Set Conversion Table:
* 1 = Americas/Western Europe;
* 2 = Eastern Europe;
* 3 = Africa/Middle East;
* 4 = Russia/ Central Asia;
* 5 = Asia/Pacific;
* 6 = Vietnam.
*/ public static final int RC = 0; /** * Unique Feature Identifier. A number which uniquely identifies a feature. */ public static final int UFI = 1; /** * Unique Name Identifier. A number which uniquely identifies a name. */ public static final int UNI = 2; /** * Latitude of the feature in ± decimal degrees; DD; (± dd.dd...):
* no sign (+) = North;
* negative sign (-) = South
*/ public static final int LAT = 3; /** * Longitude of the feature in ± decimal degrees; DD; (± dd.dd...):
* no sign (+) = East;
* negative sign (-) = West.
*/ public static final int LONG = 4; /** * Latitude of the feature in ±degrees, minutes, and seconds; DMS; (±ddmmss):
* no sign (+) = North;
* negative sign (-) = South.
*/ public static final int DMS_LAT = 5; /** * Longitude of the feature in ±degrees, minutes, and seconds; DMS; (±dddmmss) :
* no sign (+) = East;
* negative sign (-) = West.
*/ public static final int DMS_LONG = 6; /** * Military Grid Reference System coordinates.
* MGRS is an alpha-numeric system for expressing UTM/UPS coordinates. A single alpha-numeric value references an area that is unique for the entire earth. */ public static final int MGRS = 7; /** * Joint Operations Graphic reference. */ public static final int JOG = 8; /** * Feature Classification: Nine (9) major Geoname feature categories into which similar feature designations are grouped.
* A = Administrative region type feature
* P = Populated place type feature
* V = Vegetation type feature
* L = Locality or area type feature
* U = Undersea type feature
* R = Streets, highways, roads, or railroad type feature
* T = Hypsographic type feature
* H = Hydrographic type feature
* S = Spot type feature
*/ public static final int FC = 9; /** * Feature Designation Code. A two to five-character code used to identify the type of Geoname feature a name is applied to. */ public static final int DSG = 10; /** * Populated Place Classification. A graduated numerical scale denoting the relative importance of a populated place. The scale ranges from 1, relatively high, to 5, relatively low. The scale could also include NULL (no value) as a value for populated places with unknown or undetermined classification. */ public static final int PC = 11; /** * Primary Country Code. A two alphabetic character code from the Geopolitical Codes (formerly FIPS 10-4 Standard) that uniquely identify a geopolitical entity (countries, dependencies, and areas of special sovereignty). */ public static final int CC1 = 12; /** * First-order administrative division code. A two alpha-numeric code from the Geopolitical Codes (formerly FIPS 10-4 Standard) describing a primary administrative division of a geopolitical entity, such as a state in the United States. */ public static final int ADM1 = 13; /** * Population figures. */ public static final int POP = 14; /** * Elevation in meters. */ public static final int ELEV = 15; /** * Secondary Country Code. A two alphabetic character code from the Geopolitical Codes (formerly FIPS 10-4 Standard) uniquely identifying the country code of a particular Geoname feature name if different than that of the primary country code of that Geoname feature (International features). */ public static final int CC2 = 16; /** * Name Type:
* C = Conventional name
* N = BGN Standard - Official local name for a feature
* NS = Native Script Name
* D = Unverified or daggered name
* DS = Unverified name in native script
* H = Historic name
* HS = Historic name in native script
* P = Provisional name
* PS = Provisional name in native script
* V = Variant or alternate name
* VS = Variant name in native script
*/ public static final int NT = 17; /** * Language Code. A three alphabetic character code (ISO 639-3) uniquely identifying the language assigned to a feature name. */ public static final int LC = 18; /** * A part of the full name that could substitute for the full name (Unicode UTF-8). */ public static final int SHORT_FORM = 19; /** * The descriptive part of the full name such as Mount, River, or Sea (Unicode UTF-8 - generally does not apply to populated place names). */ public static final int GENERIC = 20; /** * Sort name - reading order. A form of the full name that allows for alphabetical sorting of the file into gazetteer sequence. All character/diacritic combinations and special characters are substituted with QWERTY (visible U.S. English keyboard) characters, all characters are upper-cased, numerals are converted to lower-case characters (0-9 = a-j), spaces are stripped out, and commas replaced with space. The substitution is done according to a character mapping table that is Region Font Code specific (see Character Set Conversion Table. This field is included for the benefit of the end user of the data to aid in the sorting of names if required. */ public static final int SORT_NAME_RO = 21; /** * Full name - reading order. The full name is the complete name that identifies a named feature. The full name is output in reading order, "Mount Everest", vs. reversed generic, "Everest, Mount", as stored in the database. */ public static final int FULL_NAME_RO = 22; /** * Full name - reading order with no diacritics. Same as the full name but the character/diacritic combinations and special characters are substituted with QWERTY (visible U.S. English keyboard) characters while still maintaining casing and spaces. The substitution is done according to a character mapping table that is Region Font Code specific (see Character Set Conversion Table). */ public static final int FULL_NAME_ND_RO = 23; /** * Sort name - reversed generic. A form of the full name that allows for alphabetical sorting of the file into gazetteer sequence. All character/ diacritic combinations and special characters are substituted with QWERTY (visible U.S. English keyboard) characters, all characters are upper-cased, numerals are converted to lower-case characters (0-9 = a-j), spaces are stripped out, and commas replaced with space. The substitution is done according to a character mapping table that is Region Font Code specific (see Character Set Conversion Table). This field is included for the benefit of the end user of the data to aid in the sorting of names if required. */ public static final int SORT_NAME_RG = 24; /** * Full name - reversed generic. The full name is the complete name that identifies a named feature. The full name is output in reversed generic, "Everest, Mount," as stored in the database, vs. reading order, "Mount Everest." */ public static final int FULL_NAME_RG = 25; /** * Full name - reversed generic with no diacritics. Same as the full name but the character/diacritic combinations and special characters are substituted with QWERTY (visible U.S. English keyboard) characters while still maintaining casing and spaces. The substitution is done according to a character mapping table that is Region Font Code Specific (see Character Set Conversion Table). */ public static final int FULL_NAME_ND_RG = 26; /** * This field holds a geopolitical policy note concerning the feature, populated when CC1 and ADM1 are NULL, and it could contain multiple notes (may contain data in Unicode UTF-8). If multiple notes are present, they will be delimited by semicolon followed by four spaces (1:note1; 2:note2; 3:note3; etc...). */ public static final int NOTE = 27; /** * The date a new feature was added or any part of an existing feature was modified (YYYY-MM-DD). */ public static final int MODIFY_DATE = 28; /** * Max Column. * */ public static final int SIZE_COLUMN_FILE = 29; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy