
|
longitude < Attributes < Home |
![]()
longitudeThe longitude attribute is used in conjunction with the latitude attribute to specify a position on the Earth. Longitude values are floating point numbers specified in decimal degrees. Positive values indicate eastern longitudes, while negative values indicate western longitudes. |
|||||||||||||||
Supporting TagsThe longitude attribute is supported by the <centerPosition>, <extent>, <map>, and <origin> tags. Each tag may define a default value for the longitude attribute, but for most of them it is required. |
|||||||||||||||
Examples<map latitude="35.3" longitude="-96.97"> <geography> <origin latitude="34.14" longitude="-102"/> <extent latitude="37" longitude="-94.62"/> </geography> </map> <map> <rangeRings> <centerPosition latitude="34.81" longitude="-98.01"/> </rangeRings> </map> |
|||||||||||||||
NotesLatitudes and longitudes are specified in decimal degrees in WxML. Be sure not to confuse this format with degrees-minutes-seconds, which is often used to display latitudes and longitudes. While negative values are used to indicate southern latitudes and western longitudes, the software usually displays these as positive values with a direction indicator. The tables below show how longitude values specified in WxML appear when displayed in other formats.
|
![]()
Confidential. Copyright © 2002, Oklahoma
Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.