This commit is contained in:
parent
ed25672448
commit
d8417c7fd9
@ -215,7 +215,7 @@ exports.writeGroundnetXML = function (fDir, icao, featureList) {
|
||||
}
|
||||
});
|
||||
var gap = gapEnd - gapStart -1;
|
||||
|
||||
if ( gap >= 0 ) {
|
||||
parkings = parkings.map(n => {
|
||||
if (n['@index']>gapStart) {
|
||||
n['@index'] = String(n['@index'] - gap);
|
||||
@ -240,6 +240,8 @@ exports.writeGroundnetXML = function (fDir, icao, featureList) {
|
||||
}
|
||||
return n;
|
||||
});
|
||||
}
|
||||
|
||||
} while( gapStart > 0 && gapEnd > 0);
|
||||
|
||||
var xmlObj = { groundnet: { version: 1, fgaversion: version, name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user