Giter VIP home page Giter VIP logo

vatsim-parser's Introduction

VATSIM Parsers

This is a rust library that supports parsing and serialising a number of different formats, some of these are currently only implemented in parts, pull requests are welcome.

Supported Formats

.sct files

.sct or Sector files are the base format for providing location information for airports, waypoints, navaids etc. This parser so far implements:

  • Airports
  • Runways
  • Fixes
  • NDBs
  • VORs

.prf files

Euroscope profile files contain information about which other settings files, plugins and .asr files to load.

Symbology settings

Euroscope settings for colours, symbols, font sizes, etc.

Currently only supports colour and font size.

.asr files

Display settings for Euroscope, most items should be supported except for sector file items.

Topsky files

Can read various files for the Topsky Euroscope plugin, including symbols, maps and colours

vatsim-parser's People

Contributors

a3li avatar caspianmerlin avatar dependabot[bot] avatar fpletz avatar globin avatar ogruetzmann avatar philsjh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vatsim-parser's Issues

Validation and consistency checking

Provide possibilities to check consistency and validity of different formats, including combinations thereof.

Examples:

  • correct definition of fixes in airways (both in .sct)
  • es topsky maps referencing fixes from .sct

allow duplicate wpt designator on airway

these actually exist, my assumption of that not being the case was wrong:

2024-09-01T15:57:50.456128Z  WARN vatsim_parser::airway: Duplicate for airway A411 and fix BNA
2024-09-01T15:57:50.471263Z  WARN vatsim_parser::airway: Duplicate for airway UN525 and fix CBA
2024-09-01T15:57:50.471343Z  WARN vatsim_parser::airway: Duplicate for airway W5 and fix CBA
2024-09-01T15:57:50.474126Z  WARN vatsim_parser::airway: Duplicate for airway W35 and fix CHG
2024-09-01T15:57:50.476214Z  WARN vatsim_parser::airway: Duplicate for airway W20 and fix CMA
2024-09-01T15:57:50.550398Z  WARN vatsim_parser::airway: Duplicate for airway L577 and fix GOSUL
2024-09-01T15:57:50.640241Z  WARN vatsim_parser::airway: Duplicate for airway W11 and fix MIA
2024-09-01T15:57:50.640261Z  WARN vatsim_parser::airway: Duplicate for airway W15 and fix MIA
2024-09-01T15:57:50.765363Z  WARN vatsim_parser::airway: Duplicate for airway W12 and fix SNT

Fix map handling with duplicate names

EDMM for example uses auto maps with the same name, which should all be accessible after parsing:

MAP:EDDM_TRANS
ASRDATA:EDDM_APP,CTR
ZOOM:7
COLOR:Active_Map_Type_20
ACTIVE:RWY:ARR:EDDM08R:DEP:*
SYMBOL:TFIX:DM440:40:12:-5
SYMBOL:TFIX:DM441:41:12:-5
SYMBOL:TFIX:DM442:42:12:-5
SYMBOL:TFIX:DM470:70:12:-5
SYMBOL:TFIX:DM471:71:12:-5
SYMBOL:TFIX:DM472:72:12:-5
SYMBOL:TFIX:DM473:73:12:-5
SYMBOL:TFIX:DM474:74:12:-5
SYMBOL:TFIX:DM475:75:12:-5
SYMBOL:TFIX:DM476:76:12:-5
SYMBOL:TFIX:BEGEN:BE:12:-5

MAP:EDDM_TRANS
ASRDATA:EDDM_APP,CTR
ZOOM:7
COLOR:Active_Map_Type_20
ACTIVE:RWY:ARR:EDDM08L:DEP:*
SYMBOL:TFIX:DM430:30:12:-5
SYMBOL:TFIX:DM431:31:12:-5
SYMBOL:TFIX:DM432:32:12:-5
SYMBOL:TFIX:DM470:70:12:-5
SYMBOL:TFIX:DM471:71:12:-5
SYMBOL:TFIX:DM472:72:12:-5
SYMBOL:TFIX:DM473:73:12:-5
SYMBOL:TFIX:DM474:74:12:-5
SYMBOL:TFIX:DM475:75:12:-5
SYMBOL:TFIX:DM476:76:12:-5
SYMBOL:TFIX:MAGAT:MA:12:-5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.