![]() Parameter: apt_id ( str) – The X-Plane ID of the airport you want to query Note that these IDs may or may not correspond to the airports’ ICAO identifiers.Ī generator containing the names of all airports in the collection from_file ( os.PathLike): Path to the file from which this was readĪ generator containing the X-Plane IDs of all airports in the collection.apt_dat_file_text ( str): The contents of an apt.dat (or ICAO.dat) file.Static method from_file_text( apt_dat_file_text, from_file) -> AptDat xplane_version (int): The version of the apt.dat spec used by the airports in this collection.Parses X-Plane’s gigantic apt.dat files, which may have data on tens of thousands of airports. AptDat.AptDatĪ container class for Airport objects. Tools for reading, inspecting, and manipulating X-Plane’s airport (apt.dat) files. More sample code is available in the doctests in the gateway module docs below. """:type ksea_recommended_pack: GatewayApt""" print( "KSEA downloaded from the Gateway begins:") gateway import scenery_pack, GatewayApt ksea_recommended_pack = scenery_pack( 'KSEA') Sample code Parsing the default apt.dat file in your local X-Plane installationįrom xplane_airports. If you're migrating from a pre-4.0 version of the library, see the Migration notes section below. Xplane_airports requires Python 3.6 or newer. Publishing package updates to PyPI (for maintainers).(#xplane_airportsgatewayscenery_packpack_to_download-gatewayapt).](#xplane_airportsgatewayrecommended_scenery_packsselective_apt_idsnone-collectionsiterablegatewayapt).Downloaded the recommended scenery pack for an airport from the Gateway.Getting metadata on airports from the Gateway.Parsing the default apt.dat file in your local X-Plane installation.recommended_scenery_packs(): A generator equivalent to calling scenery_pack() to download the recommended scenery pack for every airport (or only a preselected list of airports, at your discretion).Includes both the apt.dat data and DSF, where applicable. scenery_pack(): Downloads either the recommended pack for the specified airport, or the scenery pack with the specified int ID.Unlike scenery_pack(), though, this does not include actual apt.dat or DSF data. airport(): Queries the Gateway for information about the specified airport itself, as well as metadata on all scenery packs submitted for it.airports(): Queries for metadata on all 35,000+ airports on the Gateway.The gateway module: Used to interact with the X-Plane Scenery Gateway to get information about what airports are available, and to download individual scenery packs contributed by the community.The Airport class: Represents an individual airport from an apt.dat file.The AptDat class itself: A parser for X-Plane's airport data files (which may contain more than 35,000 airports) a collection of Airport objects.The AptDat module: Used to parse & query raw apt.dat files (e.g., the files stored on disk in your X-Plane installation).This includes the following major components: ![]() Xplane_airports is a Python package for interacting with X-Plane's airport data ( apt.dat) files. King’s runway was expanded from 4,200 feet to 7,000 feet in 1992, making it one of the largest deep-water runways in the Caribbean.Tools for working with X-Plane airport data In 1984 the airport was renamed after the second elected governor of the US Virgin Islands, Cyril E. The original terminal was first built in the 1940s and called the Harry S. ![]() The Virgin Islands took ownership of the airport after WWII. The airport was originally known as Bourne Field and was an airfield for the US military. Featuring two departure areas and 11 gates, the airport is fairly easy to navigate and services major international airlines, including American, Delta, JetBlue, Spirit and United. ![]() The airport operates one main runway which is 7,000ft × 150ft (2,134m × 46m) long. Thomas and is currently the largest international airport in the United States Virgin Islands and one of the busiest hubs in the eastern Caribbean, our favourite at FeelThere. TIST public airport is located west of the central business district on the island of St. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |