News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

Longtitude Rounding Problem

Started by KV0I, September 07, 2011, 09:16:23 PM

Previous topic - Next topic

KV0I

I have encountered a longitude rounding issue when converting FS9 flight plans to FSX using Plan-G.  Below are copies of both the FS9 and FSX plans.  Please note the rounding of the longitude in PT_B,  PT_C, and PT_E in the FSX flight plan.  When you attempt to fly this flight plan in FSX it takes you to the prime meridian as the waypoint for the above waypoints.   I assume it is setting the longitude to zero.   I can manually edit these in notepad and fix the issue but I have created over 600 flightplans that all have this problem.  The map in Plan-G does display the route correctly.  Any hep in resolving this issue would be appreciated.

Bill McClellan

[flightplan]
AppVersion=9.0.30612
title=KSAW to KSAW
description=KSAW, KSAW
type=VFR
routetype=0
cruising_altitude=5500
departure_id=KSAW, N46* 22.19', W87* 23.5', +001220.00
departure_position=19
destination_id=KSAW, N46* 21.22', W87* 23.75', +001220.00
departure_name=Sawyer Intl
destination_name=Sawyer Intl
waypoint.0=, KSAW, , KSAW, A, N46* 22.19', W87* 23.5', +001220.00,
waypoint.1=, PT_A, , PT_A, I, N46* 35', W88* 28', +000000.00,
waypoint.2=, PT_B, , PT_B, I, N46* 26', W88* 20', +000000.00,
waypoint.3=, PT_C, , PT_C, I, N45* 58', W87* 16', +000000.00,
waypoint.4=, PT_D, , PT_D, I, N46* 3', W86* 44', +000000.00,
waypoint.5=, PT_E, , PT_E, I, N45* 48', W86* 21', +000000.00,
waypoint.6=, PT_F, , PT_F, I, N45* 27', W85* 53', +000000.00,
waypoint.7=, KSAW, , KSAW, A, N46* 21.22', W87* 23.75', +001220.00,



<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document Type="AceXML" version="1,0">
    <Descr>AceXML Document</Descr>
    <FlightPlan.FlightPlan>
        <Title>KSAW to KSAW</Title>
        <FPType>VFR</FPType>
        <CruisingAlt>5500</CruisingAlt>
        <DepartureID>KSAW</DepartureID>
        <DepartureLLA>N46° 22' 11.66",W87° 23' 29.92",+001220.00</DepartureLLA>
        <DestinationID>KSAW</DestinationID>
        <DestinationLLA>N46° 21' 13.00",W87° 23' 45.00",+001220.00</DestinationLLA>
        <Descr>KSAW, KSAW</Descr>
        <DeparturePosition>19</DeparturePosition>
        <DepartureName>Sawyer Intl</DepartureName>
        <DestinationName>Sawyer Intl</DestinationName>
        <AppVersion>
            <AppVersionMajor>10</AppVersionMajor>
            <AppVersionBuild>61472</AppVersionBuild>
        </AppVersion>
        <ATCWaypoint id="KSAW">
            <ATCWaypointType>Airport</ATCWaypointType>
            <WorldPosition>N46° 22' 11.66",W87° 23' 29.92",+001220.00</WorldPosition>
            <ICAO>
                <ICAOIdent>KSAW</ICAOIdent>
            </ICAO>
        </ATCWaypoint>
        <ATCWaypoint id="PT_A">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N46° 35' 00.00",W88° 28' 00.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="PT_B">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N46° 26' 00.00",W88° 19' 60.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="PT_C">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N45° 58' 00.00",W87° 15' 60.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="PT_D">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N46° 3' 00.00",W86° 44' 00.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="PT_E">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N45° 48' 00.00",W86° 20' 60.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="PT_F">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N45° 27' 00.00",W85° 53' 00.00",+000000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="KSAW">
            <ATCWaypointType>Airport</ATCWaypointType>
            <WorldPosition>N46° 21' 13.00",W87° 23' 45.00",+001220.00</WorldPosition>
            <ICAO>
                <ICAOIdent>KSAW</ICAOIdent>
            </ICAO>
        </ATCWaypoint>
    </FlightPlan.FlightPlan>
</SimBase.Document>


tim arnot

I'm guessing it must not like the 00.00 seconds value. Unfortunately I don't have a working development PC at the moment, so there's nothing I can do about it.

It does look like you may have a long session in notepad ahead :( But here's a link on how to create a batch file that can automate the process http://stackoverflow.com/questions/1115508/batch-find-and-edit-lines-in-txt-file

Tim. @TimArnot

KV0I

Thanks for looking at the problem.  I wish there was an easy solution but I will try the batch edit process you provided.

Thanks,

Bill McClellan