Constructors
constructor
new MGRS( zone: number , band: string , column: string , row: string , easting: number , northing: number ) : MGRS
Parameters
zone: number
band: string
column: string
row: string
easting: number
northing: number
Methods
accuracy
accuracy( ) : number
Returns number
coordinate
coordinate( type?: GridType ) : string
Returns string
coordinate From Accuracy
coordinate From Accuracy( accuracy: number ) : string
Returns string
get Band
get Band( ) : string
Returns string
get Column
get Column( ) : string
Returns string
get Column Row Id
get Column Row Id( ) : string
Returns string
get Easting
get Easting( ) : number
Returns number
get Easting And Northing
get Easting And Northing( type: GridType ) : string
Returns string
get Hemisphere
get Hemisphere( ) : Hemisphere
Returns Hemisphere
get Northing
get Northing( ) : number
Returns number
get Row
get Row( ) : string
Returns string
getUTMEasting
getUTMEasting( ) : number
Returns number
getUTMNorthing
getUTMNorthing( ) : number
Returns number
get Zone
get Zone( ) : number
Returns number
to Point
to Point( ) : Point
Returns Point
to String
to String( ) : string
Returns string
Static
accuracy
accuracy( mgrs: string ) : number
Returns number
Static
create
create( zone: number , band: string , easting: number , northing: number , column?: string , row?: string ) : MGRS
Parameters
zone: number
band: string
easting: number
northing: number
Optional
column: string
Optional
row: string
Static
get Column Letter
get Column Letter( zoneNumber: number , easting: number ) : string
Parameters
zoneNumber: number
easting: number
Returns string
Static
get Column Letter FromUTM
get Column Letter FromUTM( utm: UTM ) : string
Returns string
Static
get Column Row Id
get Column Row Id( easting: number , northing: number , zoneNumber: number ) : string
Parameters
easting: number
northing: number
zoneNumber: number
Returns string
Static
get Row Letter
get Row Letter( zoneNumber: number , northing: number ) : string
Parameters
zoneNumber: number
northing: number
Returns string
Static
get Row Letter FromUTM
get Row Letter FromUTM( utm: UTM ) : string
Returns string
Static
isMGRS
isMGRS( mgrs: string ) : boolean
Returns boolean
Static
parse
parse( mgrs: string ) : MGRS
Military Grid Reference System Coordinate