Writing start node 0
This commit is contained in:
parent
06f630afab
commit
5f60c46dc9
@ -48,7 +48,7 @@ exports.writeGroundnetXML = function (fDir, icao, featureList) {
|
|||||||
arcElement._latlngs.forEach( latlng => {
|
arcElement._latlngs.forEach( latlng => {
|
||||||
if (latlng.__vertex !== undefined && latlng.__vertex.glueindex !== undefined) {
|
if (latlng.__vertex !== undefined && latlng.__vertex.glueindex !== undefined) {
|
||||||
nodes[latlng.__vertex.glueindex] = mapVertexNode(latlng);
|
nodes[latlng.__vertex.glueindex] = mapVertexNode(latlng);
|
||||||
if (startIndex > 0) {
|
if (startIndex >= 0) {
|
||||||
if (featureLookup[startIndex] == undefined) {
|
if (featureLookup[startIndex] == undefined) {
|
||||||
featureLookup[startIndex] = [];
|
featureLookup[startIndex] = [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user