Flightsim.to

    Description

    This tool fixes the OSM-API problems that make it impossible to run HEMS missions for example. I'm pretty happy how this project turned out, and excited to share it with the community. The program can be run fully offline for extra safety.

    GitHub for more details and possible bug reports: https://github.com/ratuom/H145-Local-OSM

    Installation

    1. Download H145-Local-OSM-portable.zip.
    2. Extract the complete archive.
    3. Run H145-Local-OSM.exe.

    Build a database

    Open the Build page:
    1. Choose Download from Geofabrik API or Local .osm.pbf files.
    2. Select the regions or local files to import.
    3. Select the MSFS Community folder if it is not detected automatically.
    4. Enable Limited-hardware topology (serial) only when lower resource use is preferred over build speed. Recommended only for very limited hardware
    5. Select Build database.

    Connect to HPG and start the server

    Open the Server page:
    1. Select a database.
    2. Run Validate database after building or replacing data.
    3. Under Compatibility patches, use Patch for the HPG connection.
    4. If a supported R&E version is installed, use Patch for the R&E missions.
    5. Update mission index from H145 tools or the action center
    6. Select Start server.
    7. Make sure Local OSM is selected as the OSM provider in game.

    Keep the extracted directory together because the application depends on files in _internal.

    Main features:

    - Local OSM database – download selected countries or regions, or import your own .osm.pbf files for a fully offline workflow.

    - High-performance querying – the database is optimized specifically for the types of location searches used by H145 missions.

    - Fast indexing – road, tag, spatial and topology indexes are built in advance so the application can find suitable mission locations quickly instead of scanning raw map data every time.

    - HPG H145 support – can be patched directly from the application, with backup and restore available.

    - Random & Everywhere support with an option to apply a custom patch for some bug fixes that are a result from limited amounts of OSM data – R&E can be patched directly from the application, with backup and restore available. This is optional but recommended.

    - Support for other compatible missions – the backend is not limited to the default H145 or R&E missions, and can serve also other mission packages that use supported query patterns. This process is automated, so after adding new missions to your community folder, just a database rebuild will be needed to add support.

    - Offline mission queries – once your database has been built, mission queries are handled locally without depending on a public Overpass server.

    - Multi-region databases – combine multiple countries or regions into one database.

    - Support for multiple databases - switch between any combination of country databases.

    - Built-in validation and benchmarking – check that your database is working correctly and measure its performance.

    - Local-only server – the service listens only on your own computer and is not exposed to the internet.

    The main advantage of this solution is reliability, since the database lives on your own computer, there will be no downtime issues like with outer service providers. Because the data is preprocessed and heavily indexed for mission use, queries can also be served very quickly even when working with large regional databases.

    I recommend starting with a smaller database you will actually use. Some build phases are very expensive computationally, and require a lot of storage. For reference, i am using a database consisting of Nordics (Finland, Sweden, Norway, Iceland, Denmark). It took 55 minutes to build and uses 14.8GB of storage. A single medium size country should take around 10 minutes. If you want to just test it out quickly, choose some smaller countries like Monaco, these should build almost immediately. The expensive database building part is optimally a single time operation, and i would recommend adding a bunch of smaller databases to your library if needed, rather than trying to build continents at the same time. Switching databases is very simple and quick.

    Thank you for everybody who helped me with the development and i really hope you enjoy the project!

    Activité des interactions
    TéléchargementsCommentairesÉchelles distinctes pour les téléchargements et les commentaires
    21 oct. Téléchargements: 9 Commentaires: 022 oct. Téléchargements: 6 Commentaires: 023 oct. Téléchargements: 11 Commentaires: 024 oct. Téléchargements: 16 Commentaires: 025 oct. Téléchargements: 13 Commentaires: 026 oct. Téléchargements: 5 Commentaires: 1 Retour: 127 oct. Téléchargements: 8 Commentaires: 028 oct. Téléchargements: 12 Commentaires: 029 oct. Téléchargements: 20 Commentaires: 030 oct. Téléchargements: 7 Commentaires: 031 oct. Téléchargements: 9 Commentaires: 1 Bug: 101 nov. Téléchargements: 7 Commentaires: 002 nov. Téléchargements: 7 Commentaires: 003 nov. Téléchargements: 7 Commentaires: 004 nov. Téléchargements: 9 Commentaires: 005 nov. Téléchargements: 3 Commentaires: 1 Bug: 106 nov. Téléchargements: 8 Commentaires: 007 nov. Téléchargements: 6 Commentaires: 008 nov. Téléchargements: 17 Commentaires: 1 Retour: 109 nov. Téléchargements: 11 Commentaires: 010 nov. Téléchargements: 3 Commentaires: 011 nov. Téléchargements: 7 Commentaires: 012 nov. Téléchargements: 6 Commentaires: 013 nov. Téléchargements: 8 Commentaires: 1 Bug: 114 nov. Téléchargements: 6 Commentaires: 015 nov. Téléchargements: 12 Commentaires: 1 Général: 116 nov. Téléchargements: 5 Commentaires: 017 nov. Téléchargements: 7 Commentaires: 018 nov. Téléchargements: 6 Commentaires: 1 Général: 119 nov. Téléchargements: 9 Commentaires: 0
    21 oct.04 nov.19 nov.
    260
    Téléchargements
    7
    Commentaires
    Dernier commentaire avant-hier
    Le créateur répond à 59% des commentaires

    Connectez-vous pour participer à la discussion

    Se connecter

    Commentaires72

    christiangr
    Général·1 day ago
    Thanks

    Server Running but HPG connections+ r&e mission = unaviable :(
    ratuomAuthor·about 11 hours ago
    Hi, make sure your community folder is configured correctly on the build page and you are on the latest stable version of R&E
    CUBEEGénéral·4 days ago
    Tried running the server.
    The port you are using 8765 conflicts with Pimax Play. Is there any way to change this?
    ratuomAuthor·about 11 hours ago
    The next version will feature manual port selection. It is also possible currently, but it requires manual work on your end and launching the server from the command line. If you are comfortable with this i can send you instructions to do this
    JonasHeiglBug·6 days ago
    As described several times below, I'm still having the issue that HEMS R&E version 0.997 shows the Overpass.de map option instead of the Local OSM option, as you can see in the screenshot. When I just open the H145 tablet and tap the gear icon, I can clearly see that Local OSM is available. But as soon as I start the Mission Library and tap "HEMS and Everywhere" (where you can also see that I have the 0.997 stable release installed), the status always switches to Overpass.de. I've refreshed the mission index many times, and the result is always the same. Can anyone help me with this or suggest a fix?
    Thank you for your patience and continued support.
    Roland2300·6 days ago
    See the offer of assistance in your inbox
    ratuomAuthor·4 days ago
    1. Fully exit MSFS.
    2. Confirm H145 Local OSM and R&E use the same active Community folder.
    3. From the Community folder, run hpg-airbus-h145\Tools\Update Mission Index.cmd and check for errors.
    4. Start the local server, restart MSFS, and open R&E again.
    5. Update the mission index from the tablet as well.

    If this does not work, i am not able to reproduce this bug. You can DM me your everywhere_all.json and hpg-airbus-h145\html_ui\HPGH145-System\GeneratedMissionIndex.json and i can take a look and try to figure out what is going on.
    U
    ·10 days ago

    Ce commentaire a été supprimé

    Chrispaesi
    Retour·12 days ago
    Ich nutze dieses Tool für Hems RANDOM AND EVERYWHERE. Ich habe nur ganz Ostdeutschland installiert und es hat wirklich sehr lange gedauert, bis die Daten erzeugt waren. Ich habe alles wie es in der Anleitung steht installiert, dann den Server gestartet und probiert. Ich kann sagen, dass es bis jetzt tadellos funktioniert. Die Dispatches werden sehr schnell geladen und man ist sofort abflugbereir.

    Tolle Arbeit
    SilentFlightBug·14 days ago
    Hi I keep getting this message when trying to create the database: Multi-country build failed: H145 mission audit failed before download: missing exact selector amenity=place_of_worship; missing exact selector building=cathedral; missing exact selector historic=monument; missing exact selector historic=archaeological_site; missing exact selector tourism=attraction; missing exact selector waterway=waterfall
    ratuomAuthor·14 days ago
    Hi, are you on the latest build? This should be fixed in 0.9.2.
    JonasHeiglBug·19 days ago
    Hello i have installed it correctly as shown in the Video i find the LocalOSM Map in the Settings but as soon i switch to Random an Everywhere there is OverpassDE instead of LocalOSM can anyone explain the issue? I answered the Question earllier but nothing answerd changed my situation. I Use R&E Version 0.997.
    ratuomAuthor·18 days ago
    Are both patches applied and have you updated the mission index?
    JonasHeigl·6 days ago
    Yes i have done that
    flightstick375Retour·24 days ago
    Hello,

    I know nothing about OSM technically but I downloaded and installed your utility, your written instructions plus the video made it straightforward to get it working. Thank you so much for your time and effort in providing this for us. I am now happily back flying HEMS missions in my H145 :-) Kind regards
    Roland2300
    Avis·about 1 month ago
    Hello,
    The software works perfectly with version 0997 Random & Everywhere.

    However, I downloaded Beta versions 0.997 169.xx (169.26 to 169.45) from their Discord server, and now I can't apply the patch. I get the following message:
    “R&E CICERS PING section was not found.”
    Is this normal, since your software doesn't yet support beta versions ?

    RESOLVED
    The problem came from the formatting of the new ‘everywhere_all’ files.
    The script searches for exact character strings, and in the new files there are spaces or line breaks within the strings being searched for, which causes the script to crash
    ratuomAuthor·about 1 month ago
    Hi, thanks for the message. Since R&E will support this solution natively soon, the patching will be removed in a future update. But yes officially 0.997 stable is the supported version.
    MSFS_EC135Bug·about 1 month ago
    It's not working for me. I click “Patch” and “Update Mission Index” for both, but it still doesn't work. It's still accessing OpenStreetMap.
    ratuomAuthor·about 1 month ago
    Hi, could you provide some more details? Error messages, server not starting, starting but not appearing in game?
    MSFS 2020MSFS 2024

    HPG Airbus H145 Action Pack: Local OSM server for missions

    This add-on provides a local OpenStreetMap (OSM) server for HPG Airbus H145 missions in Microsoft Flight Simulator, fixing the mission queries that need location data. Users can download or import regional OSM data, build optimized mission databases, and manage multiple regions with built-in validation tools. The server operates locally for improved reliability and performance, supporting both default and compatible custom missions.

    Téléchargements783
    Version0.9.2
    Taille du fichier40.6 MB
    PubliéIl y a 2 mois
    Mis à jourIl y a 1 mois

    Avis des utilisateurs

    5.0

    13 avis

    5
    100%
    4
    0%
    3
    0%
    2
    0%
    1
    0%

    Historique des versions

    Database builds now correctly adapt to installed missions, expanding custom mission support and checking query compatibility. ## Added - Automatically include features required by supported custom mission queries, including previously unrecognized exact tag values. - Support mission requirements for beaches, power towers, places of worship, cathedrals, monuments, archaeological sites, attractions, and waterfalls when those features are present in the selected OSM data. - Expand query support to quoted tag keys, relation selectors (`relation`/`rel`), combined object types (`nw`, `nr`, `wr`), comments, and nested unions. ## Changed - Derive the entire feature import profile from detected, non-excluded mission queries. New builds no longer import a fixed baseline of feature categories; required geometry dependencies, country boundaries, and complete tags on retained objects are preserved. - Require a Community/Packages folder containing mission queries for both downloaded-region and local PBF builds. Builds stop with a notice if no folder is selected, no queries are found, or all files containing queries are skipped. Command-line builds require `--packages-root`. - Extend the pre-build mission check to list unreadable files, unsupported queries, and overly broad import requirements, with full file paths and reasons. Choose **Cancel** or **Continue without these files**. Skipping excludes each listed file for that build and leaves installed files unchanged; missions in skipped files may not work with the resulting database. - Recheck the remaining missions after exclusions. Store each database's import profile and skipped-file list so query filtering, validation, and benchmarking use that database's requirements. ## Fixed - Reject unsupported query structures and malformed or unsupported filters instead of executing only the recognizable parts of a query. - Preserve regex substring matching when deciding what to import; only fully anchored literal alternatives are treated as exact values. Negative-only filters no longer count as sufficient grounds for a limited import. - Accept completed road indexes containing zero roads and report valid imports with no matching features as warnings instead of incorrectly rejecting the database. - Preserve compatibility with older databases and their compact tag indexes.